A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: A GAME from others, but I cannot understand, can someone HELP?

  1. #1
    Registered User
    Join Date
    Aug 2014
    Posts
    1

    A GAME from others, but I cannot understand, can someone HELP?

    I got this game from my friends and I tried to understand the code, as3. some part, I don really understand. I am new to flash, can someone pro help me understand it. PLZ The game is about endless runner game, If someone welling to help me, I can send the game. I hope that someone can help me
    Attached Images Attached Images
    • File Type: png 1.png (24.7 KB, 56 views)

  2. #2
    Senior Member
    Join Date
    Jun 2002
    Location
    Manchester, UK
    Posts
    2,357
    So the game has a map array which is probably a 2D array of tiles, you can look up the term 'tile engine' on Google to figure out what that is.
    There is a map speed property that is probably a scaler value that controls the overall speed in which the map scrolls on the x, y or both 2D axes.
    There is a PublicData class which probably holds some global values and is bad practice.

    The bulk of what you need to do is to research 2d tile engines. There are resources here on FlashKit or as I said earlier, look up 2D tile eng

    Gary

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