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.
flutter run
Sprite images of characters in four directions are used, Sprite animation is performed during movement.
Joypad | input | Direction |
---|---|---|
UP | LogicalKeyboardKey keyW | UP |
Left | LogicalKeyboardKey keyA | Left |
right | LogicalKeyboardKey keyD | right |
Down | LogicalKeyboardKey keyS | Down |
Retro Character Sprite Sheet
I appreciate it very much.
Daisuke Takayama