Build Your First Flutter Game
Preparing for coding interviews? https://algoexpert.io/marcus
Use promo code “marcus” for a discount!
Welcome to my Flutter Apps from Scratch tutorial series where you will learn Flutter and create amazing apps using Dart. In this video, we learn how to build a basic Flutter game!
» Timestamps
00:00:40 Setup
00:03:57 Game Controller
00:07:26 Creating The Player
00:12:54 Importance of Rendering Order
00:13:38 Tap Functionality
00:14:56 Enemy Class
00:19:17 Spawning A Single Enemy
00:20:43 Enemy Health, Movement, and Attack
00:26:20 Health Bar
00:32:46 Multiple Enemies
00:34:47 Spawn Enemies Off Screen
00:39:47 Kill Enemies
00:40:51 Enemy Spawner
00:47:39 Scoring and Score Text
00:54:25 Shared Preferences (Save Highscore)
00:56:30 Game State
00:59:56 Highscore Text
01:02:14 Saving Highscore Bug Fix
01:02:47 Start Text
» Remember to like, subscribe, share this video, and star the repo on Github :)
https://www.youtube.com/MarcusNg?sub_confirmation=1
» Resources
Source Code: https://github.com/MarcusNg/flutter_swarm_game
Flame: https://pub.dev/packages/flame
Shared Preferences: https://pub.dev/packages/shared_preferences
» UDEMY: The Complete Flutter UI Masterclass Coupon
https://www.udemy.com/course/the-complete-flutter-ui-masterclass/?couponCode=764482F28C1B3C204369
» UDEMY: Flutter and SQFLite Coupon
https://www.udemy.com/course/flutter-and-sqflite/?couponCode=749216595DBD298E3599
» Socials
GitHub: https://github.com/MarcusNg
Twitter: https://twitter.com/MarcusLNg
» My Gear*
Logitech Master MX 2S Wireless Mouse: https://amzn.to/35BZoYy
AirPods 2: https://amzn.to/2MdpJVb
Apple Magic Keyboard: https://amzn.to/2nCXqpu
Blue Yeti USB Microphone: https://amzn.to/32cs6wM
JBL Charge 3 Bluetooth Speaker: https://amzn.to/2IZuxeT
*Affiliate links
» Outro Music
Harmony - Joakim Karud (https://www.youtube.com/channel/UCVBUm9ccjHy0utvlChyrPHA)
#Flutter #FlutterGame #GameDev
Use promo code “marcus” for a discount!
Welcome to my Flutter Apps from Scratch tutorial series where you will learn Flutter and create amazing apps using Dart. In this video, we learn how to build a basic Flutter game!
» Timestamps
00:00:40 Setup
00:03:57 Game Controller
00:07:26 Creating The Player
00:12:54 Importance of Rendering Order
00:13:38 Tap Functionality
00:14:56 Enemy Class
00:19:17 Spawning A Single Enemy
00:20:43 Enemy Health, Movement, and Attack
00:26:20 Health Bar
00:32:46 Multiple Enemies
00:34:47 Spawn Enemies Off Screen
00:39:47 Kill Enemies
00:40:51 Enemy Spawner
00:47:39 Scoring and Score Text
00:54:25 Shared Preferences (Save Highscore)
00:56:30 Game State
00:59:56 Highscore Text
01:02:14 Saving Highscore Bug Fix
01:02:47 Start Text
» Remember to like, subscribe, share this video, and star the repo on Github :)
https://www.youtube.com/MarcusNg?sub_confirmation=1
» Resources
Source Code: https://github.com/MarcusNg/flutter_swarm_game
Flame: https://pub.dev/packages/flame
Shared Preferences: https://pub.dev/packages/shared_preferences
» UDEMY: The Complete Flutter UI Masterclass Coupon
https://www.udemy.com/course/the-complete-flutter-ui-masterclass/?couponCode=764482F28C1B3C204369
» UDEMY: Flutter and SQFLite Coupon
https://www.udemy.com/course/flutter-and-sqflite/?couponCode=749216595DBD298E3599
» Socials
GitHub: https://github.com/MarcusNg
Twitter: https://twitter.com/MarcusLNg
» My Gear*
Logitech Master MX 2S Wireless Mouse: https://amzn.to/35BZoYy
AirPods 2: https://amzn.to/2MdpJVb
Apple Magic Keyboard: https://amzn.to/2nCXqpu
Blue Yeti USB Microphone: https://amzn.to/32cs6wM
JBL Charge 3 Bluetooth Speaker: https://amzn.to/2IZuxeT
*Affiliate links
» Outro Music
Harmony - Joakim Karud (https://www.youtube.com/channel/UCVBUm9ccjHy0utvlChyrPHA)
#Flutter #FlutterGame #GameDev
Marcus Ng
Published on Mon, November 11th 2019