Eight Direction Movement With Arrow Keys

Eight Direction Movement With Arrow Keys

Người chơi

0

Đánh giá

4.5★

Danh mục

Walking Simulator

Giới thiệu

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.

Nhà sáng tạo

Trevor McCauley

Studio trò chơi

Danh mục

Walking Simulator

Loại

Trò chơi nhỏ

Phát hành

Gần đây

Người chơi

0

Theo nhà sáng tạo

Thêm từ Trevor McCauley

Cùng danh mục

Thêm trò chơi Walking Simulator

Phổ biến nhất

Bạn cũng có thể thích

Những trò chơi thịnh hành mà người chơi khác đang yêu thích ngay bây giờ.