/player_move

Sample of player character movement using Flutter's flame game engine.

Primary LanguageDart

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