dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Dumb question about platform games

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    2

    Dumb question about platform games

    I have some basic Flash knowledge, and would like to brush up on my ActionScript and start learning how to make some basic games.

    I almost pulled the trigger on this book, ActionScript 3.0 Game Programming University, until I read the following snippet from this review:

    Chapter 11 is a Platform Game. You control a character, you run and jump, collect a couple of items, land on a few baddies heads and try to find the exit. It's a very simple game and this is a tiny chapter overall in the book - which I found surprising given that platform games are generally extremely complex when done properly. This isn't really done properly and reads like filler to me. The levels are built entirely within the Flash IDE, block by block. Each block is then 'read' by the AS so a rudimentary collision system can be constructed. The hero and baddies are inserted and that's pretty much it. The jumping of the hero is particularly bad, the collision is also a little suspect. I imagine a younger wannabe Flash game developer would love to create a Flash Mario affair, but sadly this goes about it in entirely the wrong way. You get a platform game at the end of the chapter, sure, but it isn't a very good one.
    Can someone explain what he means here, or if he's just full of hot air? I figure if I'm going to take the time to learn, I may as well get it right the first time. The game may be played here.

  2. #2
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,379
    http://www.tonypa.pri.ee/ Has a much more in-depth tutorial for tile based platform games (which is what the author was referring to). Following along with tony's tutorials will help you get started making platformers.
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  3. #3
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,227
    The "art-based" platform games like the one from the book are good start to learn Flash and actionscript. However, they are difficult to expand with new features. Since they use hitTest method to detect collisions, it will always be unreliable. It might be good idea to try build one art-based platform game to understand its limitations (I did it too) and why tile-based game is in the end better approach.

  4. #4
    Junior Member
    Join Date
    Nov 2007
    Posts
    2
    Quote Originally Posted by tonypa
    The "art-based" platform games like the one from the book are good start to learn Flash and actionscript. However, they are difficult to expand with new features. Since they use hitTest method to detect collisions, it will always be unreliable. It might be good idea to try build one art-based platform game to understand its limitations (I did it too) and why tile-based game is in the end better approach.
    Got it. And tile-based means using arrays to store the levels as opposed to actually laying them out in Flash. I may still snag that book and give it a whirl, I'm sure I'd learn alot. And it seems to be one of the few game books to focus on AS3 at the moment.

    Thanks.

  5. #5
    Senior Member
    Join Date
    Aug 2007
    Location
    Spencerville, Ontario, Canada
    Posts
    146

  6. #6
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,227
    Quote Originally Posted by mcgarrett
    And tile-based means using arrays to store the levels as opposed to actually laying them out in Flash.
    Its not just how you store the levels. Flash IDE can be really good level editor and I have used it in many tile based games to draw the levels.

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