Featured FLA » Author: Surjit Dhami » Title: Book » Description: Book » More by Surjit Dhami
Featured Site » Posted in the Flash Kit Links section » Title: All-American Rejects » Description: Get to know this great band by exploring their "practice room".
Trading Customer Accounting (IL)Next Step SystemsUS-IL-Chicago
The basics of an RPG (role-playing game) Author: denacioust | Website: flashbox.proboards15.com |
And give your character these actions...
onClipEvent (load){movespeed = 0; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { play(); _rotation = 90; _x+= movespeed; } if (Key.isDown(Key.LEFT)) { play(); _rotation = 270; _x-= movespeed; } if (Key.isDown(Key.UP)) { play(); _rotation = 0; _y-= movespeed; } if (Key.isDown(Key.DOWN)) { play(); _rotation = 180; _y+= movespeed; } if (Key.isDown(Key.RIGHT) && Key.isDown(Key.UP)) { _rotation = 45; } if (Key.isDown(Key.LEFT) && Key.isDown(Key.UP)) { _rotation = 315; } if (Key.isDown(Key.RIGHT) && Key.isDown(Key.DOWN)) { _rotation = 135; } if (Key.isDown(Key.LEFT) && Key.isDown(Key.DOWN)) { _rotation = 225; } }