Code for Controlling the Bike in a bike game

Posted by user1489257 on Game Development See other posts from Game Development or by user1489257
Published on 2012-07-31T20:57:49Z Indexed on 2012/09/20 3:52 UTC
Read the original article Hit count: 160

Filed under:

I'm new(ish) to Actionscript 3 and I was wondering what the code what would be like for controlling the bike in a game. I have a two main questions:

  1. Is Box2D the best physics engine to go with for this type of game?

  2. How would the animation of the bike work. Would I have to create a bike animation of the wheels moving and make it start and stop when the key to go forward is pressed. How would I go about it slowly stopping when the key to go forward is released?

Thanks.

© Game Development or respective owner

Related posts about actionscript-3