PDA

View Full Version : [AS3] Shooting and Moving at the Same Time


Lenster921
09-23-2008, 12:31 AM
Hey I'm making a side scroller. I want to make it so that when I hold the fire key down I can still move around and my guy will keep firing. At the moment i can only do one thing at a time it's kind of annoying. Does anyone have a solution for this I'm sure that others may have had this similar problem. If anyone has any source files of a scrolling shooter game let me know. Thanks all.

lordofduct
09-23-2008, 12:57 AM
If you're using Keyboard events you should be able to do different things at the same time relatively easy.

xdeath
09-23-2008, 07:43 AM
yeah if you are using different keys and you have keyboard events in there, which have all your moving and shooting working then if you try to shoot and move at the same time it would work.