Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.34 KB

File metadata and controls

48 lines (30 loc) · 1.34 KB

Sample of player character movement

This sample uses Flame, Flutter's frame game engine, to move characters by gamepad and keyboard input.

Click here to see a sample of how it works on the web.

Usage

flutter run

Sprite images of characters in four directions are used, Sprite animation is performed during movement.

Input Reference

Joypad input Direction
UP LogicalKeyboardKey keyW UP
Left LogicalKeyboardKey keyA Left
right LogicalKeyboardKey keyD right
Down LogicalKeyboardKey keyS Down

Contributor

copyright holder

Retro Character Sprite Sheet

isaiah658

I appreciate it very much.

Author

Daisuke Takayama