bee.games
Eight Direction Movement With Arrow KeysWalking Simulator

Eight Direction Movement With Arrow Keys

Eight Direction Movement With Arrow Keys

Walking Simulator

You can use the arrow keys on your keyboard to move the character in this example in any one of 8 directions. The character movie clip is made up of a total of 16 frames, 2 for each direction. 8 of the frames are for standing in all directions, and the other 8 frames contain additional movie clips that show the character walking in each of the 8 directions. The ActionScript used to control the movement and which frame the character needs to be on is handled in an onEnterFrame event (as opposed through onKeyDown events) and consists only of a few lines of code.

DezvoltatorTrevor McCauley

About BeeGames social

Playground and Play together are the BeeGames social layer — so you're never just playing alone.

What is a Playground?

Your Playground is your own personal game homepage. Pin the games you love, give it a name and a short bio, then make it public to share your personal arcade with anyone.

How do I use my Playground?

On any game page, tap “Playground” to pin that game. Head to My Playground to edit its name, bio and layout, then share your public link with friends.

What is Play together?

Play together lets you co-play the same game with friends in real time. Open a game room and everyone can play side by side while chatting in the room — like crowding around one screen, online.

How do I play with friends?

Tap “Play together” on a game page, pick a public room or a private one with a password, then share the room link with friends. You can also browse and join open rooms from the Lobby.