Part 6: Collision Detection - Build a Game Using Flutter and Flame
imaN NeO imaN NeO
1.2K subscribers
173 views
15

 Published On Aug 14, 2024

🎮 Welcome to the 6th 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 work on the collision detection

🚀 In this episode:
We will learn about the collision detection in Flame Game Engine to detect when the player hits or collides with a pipe to have the game over logic, or increase the score when it passes a pipe

🔔 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
Collision Detection: https://docs.flame-engine.org/latest/...

Chapters
00:00 Intro
01:14 Flame Collision Detection
06:08 Player ShapeHitbox
11:11 Hidden Coin
16:45 Collision Callbacks
20:11 Pipes Collision
23:42 Scoring logic
27:13 Recap and Outro

show more

Share/Embed