Move Objects With Gestures & Keyboard - Flutter Flame Game
ฝัง
- เผยแพร่เมื่อ 9 ก.พ. 2025
- See how to move a flame game component, in this case a player sprite, left and right. Since this is for a flutter app, movement will be possible with a gesture swipe for mobile as well as the arrow keys for desktop/ web.
📲 Download The Finished Game: lastbottle.app
🎮 Series Playlist: • 2D Flutter Game With F...
😻 Complete Code: github.com/dav...
🤑 GET 10% OFF iubenda Privacy Policy: iubenda.refr.c...
💬 Join the Discord: 1manstartup.co...
😎 If you enjoy the videos, consider supporting the channel: 1manstartup.co...
SECTIONS
0:00 - What We'll Build
0:28 - Adding Gesture Detection
3:17 - Changing Sprite Position From Gesture
5:20 - Adding Keyboard Movement Controls
7:25 - Note About Game Inputs
#flutter #mobilegame
Thanks so much for these Flame tuts . The FLAME doc tutorials looks so overwhelming with vey little examples for certain code functions
Glad it was helpful!
@@1ManStartup super helpful... honestly the Flutter and Flame docs should link directly to this playlist
@@imorenodev2886 Glad to hear it's helpful, hopefully the playlist isn't too hard for others to find
@@1ManStartup In my case, I didn't realize Flutter was viable as a game engine until recently. I want to learn more and build some things out but it looks very promising. I was trying to build 2d apps using React native and just kept tripping over the framework and broken plugins. This looks really clean, I just need to wrap my head around the dart language syntax and patterns. I think I also need to go back to basics and build a Flutter app first before I jump straight into Flame
@@imorenodev2886 Yes I think that would be helpful, there is also the casual gamers toolkit which might be helpful later on as you get more familiar with the framework. What I found with this app is to only use Flame for the game play and the use standard flutter for everything else.