BrainBlitz.org

May 16, 2009

Simple Game Controls / Sprite Sheet example (AS3)

Filed under: Programming — Anthony @ 1:25 am

This is a bare-bones code example demonstrating “perfect controls” (key-presses and releases are completely independant of each other), and simple sprite-sheet animation. Here’s all of the source.

It’s commented “tutorial style” – so I won’t say more about it ‘ere.

Thank you to Karura of Azure Flame for the clean, simple sprites. There are many more if you follow the link – and any can be substituted directly into the aGame.fla file (in the source zip).

  • Print this article!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Yahoo! Bookmarks

Powered by WordPress