Part 4: Jump and Gravity - Build a Game Using Flutter and Flame

Published: 24 July 2024
on channel: imaN NeO
302
18

🎮 Welcome to the 4th of our series on building a 2D game using Flutter and the Flame game engine!
The game is called Flappy Dash, just like the FlappyBird, but we just changed the Bird with the Dash!
In this video, we will talk about the gravity and the jump functionality in the game.

🚀 In this episode:
We will talk about the gravity and jump functionality in this video, so there is a gravity that pulls down the dash, and you can tap on the screen (or press Space) to add vertical force for the jump behavior.

🔔 Don't forget to subscribe to the channel and turn on the notifications to support me and keep me motivated. You can also share it with your friends if you find it helpful and interesting.

🔗 Links:
Source Code: https://github.com/imaNNeo/flappy_das...
Flame: flame-engine.org
Flame Inputs: https://docs.flame-engine.org/latest/...
Tap Event: https://docs.flame-engine.org/latest/...
Keyboard inputs: https://docs.flame-engine.org/latest/...

Chapters:
00:00 Intro
00:40 PositionComponent properties
04:05 DeltaTime variable in update()
05:55 Movement (Gravity and Jump)
11:42 Keyboard event (space button)
14:55 Outro


Watch video Part 4: Jump and Gravity - Build a Game Using Flutter and Flame online without registration, duration hours minute second in high quality. This video was added by user imaN NeO 24 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 30 once and liked it 1 people.