A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: !!! REALLY TAUGH ONE !!!

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jan 2002
    Posts
    106
    Does someone knows how to make a Diablo II scrolling background type? like, your character stays in the middle and when u press on the mouse the background scrolls in the direction ur clicking?

    If someone knows (I hope), can u tell me please?

    Thx

  2. #2
    F# A# oo Ian424's Avatar
    Join Date
    Jun 2001
    Posts
    1,070
    if you have your movement code done already, you just have to move the background clip in the opposite direction of the characters movement (you dont have to move the character at all if you arent moving _root)

    it really depends on how much you have done so far - it would be easier to make some code for you if you have something to base it off of.

  3. #3
    Senior Member
    Join Date
    Jan 2002
    Posts
    106
    I don't know how to do it. I just want someone to explain it to me plz.

  4. #4
    godly++; jorosdaman's Avatar
    Join Date
    Jul 2001
    Location
    Albany, Western Australia
    Posts
    482
    ive done this: http://www.omninet.net.au/~timbooth/Zelda/newgame.html

    it wouldnt be to hard to adapt to mouse click.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center