Reply to comment

Simple sprite animation

Okay, after a little trial an error, I have my first working sprite animation with keyboard input! Use the left and right keyboard keys to move Brian around on the screen. [Click on the SWF below to allow for keyboard input]


The only issue I'm running into right now is that keyboard input is first processed by the operating system, and on most OS's when you hold down the same key for a while there will be a short delay (so people won't accidentally type duplicate letters all the time if they hold down the key too long). Anyway, I need to figure a way to bypass that.

I found the base sprite over at the Sprite Database

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options