Тёмный

Quick start to building a game in Flutter 

Flutter
Подписаться 573 тыс.
Просмотров 236 тыс.
50% 1

Flutter is becoming a popular tool for game development. This video is a part of Google's effort to make it easier for Flutter developers to start building games.
The Flutter Casual Games Toolkit → goo.gle/37i7n2q
In the video, you'll learn how to use the new game template to get your game project going. The template provides integration with Google Ads, Firebase Crashlytics, in-app payments, and games services (achievements & leaderboards) out of the box. It also comes with audio support, a main menu screen, settings, and other conveniences. Filip Hracek, a successful Flutter game developer who you might remember from the Flutter Boring Show, will walks you through the code and also gives you pointers on related topics, such as monetization and asset creation.
Chapters:
00:00 - Intro
01:07 - Why games?
01:39 - App-like games versus videogames
04:05 - Flame Engine
04:31 - Tic Tac Toe Sample
05:31 - The Template
06:31 - General Approach
07:33 - Shallow Structure
09:53 - Dependencies
11:36 - Logging
13:16 - Integrations that start disabled
16:41 - Structure of lib/src/
17:06 - ads
18:37 - app_lifecycle
19:44 - audio
23:58 - game_internals
25:12 - games_services
27:57 - in_app_purchase
29:15 - level_selection
30:38 - main_menu
33:18 - play_session
37:11 - player_progress
38:38 - settings
40:53 - style
42:48 - win_game
43:41 - assets
44:46 - Asset stores
47:31 - Create your own assets
49:44 - Working with artists
51:57 - The importance of assets
52:27 - Conclusion
Template repository → goo.gle/3MNPO9A
Sample game repository → goo.gle/3yhZJjU
Subscribe to Flutter → goo.gle/Flutter

Наука

Опубликовано:

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 153   
@filiphracek
@filiphracek 2 года назад
Hello! I didn't realize this was already published. Thanks everyone for the nice words. This really means a lot to me. **EDIT:** To avoid any confusion: I haven't rejoined Google. I'm still at large, and this is a guest presentation. I'm still around, of course, as a Flutter developer, but I'm not rejoining the Flutter team. Greetings from Prague, Czech Republic!
@MisterDibitybopty
@MisterDibitybopty 2 года назад
Welcome back!
@mibi2007
@mibi2007 2 года назад
See your video was published by another person is really fun right :D I will definitely use your game template, it was awesome. Thank you so much for this tutorial
@abilucksanvijeyakumaren6317
@abilucksanvijeyakumaren6317 2 года назад
The Flutter Game Guru is back in Flutter
@iglooo102videos
@iglooo102videos 2 года назад
After watching like 10 minutes of this video I feel like Flutter is a must learn language. Thank you for sharing
@DigitalDesignET
@DigitalDesignET 2 года назад
Big fan from Ethiopia, good to see you.
@abderraoufbenchoubane1905
@abderraoufbenchoubane1905 2 года назад
This video couldn't have come at a better time than this. I wanted to build a game using Flutter this summer. Thank you !
@kvvess
@kvvess Год назад
so how it went? Have you managed to build something?
@Lp3
@Lp3 2 года назад
I'm glad to see steps being taken to make Flutter a more prominent choice for game development. I actually made a casual "app-like" game using Flutter about 8 months before this toolkit was announced and used all of the tools discussed here. Like most things Flutter, it was a great experience. I even contributed to the games_services plugin, so now some of my work will go on to help others develop games with Flutter! 😃
Год назад
Can you send the game link or the name for me. I would like to take a look at the game.
@faridalalimi7906
@faridalalimi7906 Год назад
Cool.. thanks for contributing. I am just learning Flutter and i think it looks awesome
@Lp3
@Lp3 Год назад
@@faridalalimi7906 Great! Flutter is awesome. I have yet to speak with someone that has not fallen in love with it once trying it out. You may come across some of my educational Flutter articles on Medium on your journey. Best of luck to you!
@xcraftminebb
@xcraftminebb 2 года назад
Thought I’d never see Filip on Flutter again. Welcome back I love you!!!!
@in_staham
@in_staham 2 года назад
I got goosebumps just watching the intro. thank you so much. 👏
@codentechie47
@codentechie47 2 года назад
Hi from India .Happy to see Filip in Flutter channel . Awesome video bro . Thanks bro
@Algardraug
@Algardraug 2 года назад
Filip!! Yes! My favorite flutter person! Great video!
@shanavasbasheer1160
@shanavasbasheer1160 2 года назад
Happy to see you again in official teaser !!!
@AntoninoBajeli1
@AntoninoBajeli1 2 года назад
Filip!! That's a clear and amazing video!!! I love Flutter and I'm curious to start to develop some game using this powerful framework. Cheers from Sicily
@filiphracek
@filiphracek 2 года назад
Thanks Antonino!
@ertugodabasi
@ertugodabasi 2 года назад
Informative, fun, to the point and multiple options mentioned. I didn't understand how an hour passed. Thanks a lot.
@filiphracek
@filiphracek 2 года назад
Thank you!
@_ifly
@_ifly 2 года назад
WOW, your way of teaching is amazing and easy to understand, and that smile 👍🏻
@user-gs3he6hb4z
@user-gs3he6hb4z Год назад
Thx Filip for your perfect pronunciation. Im spanish and i understand you perfectly!!!!
@mrwaseemmalik5766
@mrwaseemmalik5766 10 месяцев назад
Thankyou so much for showing us a steps to create a nice game!
@senor7857
@senor7857 2 года назад
Amazing! Thank you for this!!!
@xmanreturn
@xmanreturn 2 года назад
Amazing content, very useful
@bwandesky
@bwandesky 2 года назад
Hi Filip, I was about to ask of your whereabouts but I see you've been working on something great here. Hope you have a nice time wherever you are. Good work.
@filiphracek
@filiphracek 2 года назад
Thank you!
@salomastation6004
@salomastation6004 2 года назад
You are helping me in achieving one of my life goals , thnx
@HelloCodepur
@HelloCodepur 2 года назад
Dope 🔥
@user-kx1sz7bz5o
@user-kx1sz7bz5o Год назад
Great job and great video! Thanks!
@BabarAli-cs5ik
@BabarAli-cs5ik 2 года назад
Excited !!!😊
@dailyfun6182
@dailyfun6182 2 года назад
FX sound effects are amazing on Tic Tac Toe game. Very cool Tic Tac Toe ever I seen. Thx a lot.
@filiphracek
@filiphracek 2 года назад
Thanks!
@pauloheres
@pauloheres 2 года назад
awesome video! Tks for sharing
@itmarck
@itmarck 2 года назад
This is the first I see a development with logging almost every line. It looks interesting to me. Do you guys use that in your apps or is something common just in games?
@wlockuz4467
@wlockuz4467 2 года назад
I am going to be honest, This doesn't seem like anything game changing (pun intended) but with enough time and effort it can evolve into something thats a good alternative for making simple games, especially for those who are already familiar with Flutter for mobile apps development. Also Flutter is lightweight and easy to pickup when compared to dedicated game development tools like Unreal Engine or Unity.
@albertgregl
@albertgregl 2 года назад
😃 cool, thanks for sharing!
@prabinmaharjan5150
@prabinmaharjan5150 2 года назад
i'm enjoying the intro music of game...thank you so much for sharing this concept along with source code
@flutterdev
@flutterdev Год назад
You're most welcome, Prabin. It's our pleasure to help! We're happy to hear you enjoyed the tunes 🎶
@victoraul1
@victoraul1 2 года назад
Hi Filip, thanks for the great video. I'm starting with flutter and love that fact that many apps can easily be publish for web browsers. Could this game template be used to create web games as well?
@toastytheloafdog
@toastytheloafdog 2 года назад
Heads up, the link to the Very Good Ventures repo for the pinball game is not yet in the description as mentioned around 9:40.
@ENGELBERTRESTREPO
@ENGELBERTRESTREPO 2 года назад
Man you are the best explaining 👏👏👏
@filiphracek
@filiphracek 2 года назад
Thanks!
@bennguyen1313
@bennguyen1313 2 года назад
Most of the examples I've seen on Flutter seem to be GUI related... but what about more sensor/networking applications? For example, is possible to develop a Flutter app that could act as a WIFI hotspot? i.e. use the antenna/radio to transmit an SSID, and share my mobile connection when someone enters the correct WPA2 password? My mobile service supports tethering, but my phones, running Android 10, don't allow it! Can it be done all in Flutter and their libraries, or would it require writing low-level networking code using Android Studio / Java?
@user-nu2nj7mf2z
@user-nu2nj7mf2z 2 года назад
goood video thanks you it gives a motivation to try a game
@florianknoll7896
@florianknoll7896 2 года назад
Welcome back ;)
@larryleathersshow
@larryleathersshow 2 года назад
Thanks!
@midimusicforever
@midimusicforever 2 года назад
This looks very convenient!
@flutterdev
@flutterdev Год назад
Convenience is key! We're here to guide you on your Flutter journey and help you get your casual, mobile game from idea to launch 🚀 If you liked this video, be sure to scope out the Flutter Casual Games Toolkit too → goo.gle/37i7n2q
@anonimdisc3981
@anonimdisc3981 2 года назад
Perfect timing
@talinwind
@talinwind 2 года назад
Amazing! I am looking forward using this template :) ... One suggestion: could we add an integration for saving player progression? I am thinking link account with Facebook or Google play, that allows game account restoration and on cloud progress save.
@b.alejandres8230
@b.alejandres8230 2 года назад
Genio Filip!
@youcefmoulla1828
@youcefmoulla1828 2 года назад
Welcome back Filip
@philiposdrontzas3725
@philiposdrontzas3725 2 года назад
Really nice and informative video! 😁
@flutterdev
@flutterdev Год назад
Hey, thanks for the enthusiasm, Philipos! The Casual Games Toolkit is an excellent resource to get you started on developing casual games on mobile, but it doesn't have to stop there! Want to go further and know more about writing a video game? We've got you covered below 😀 Flutter Video Games → goo.gle/3EZBcTR
@philiposdrontzas3725
@philiposdrontzas3725 Год назад
​@@flutterdev Thanks guys! I will take a look, one of the best documentation done online! 😀
@lostinrecursion
@lostinrecursion 2 года назад
Love the reappearing Competition Pro Joystick ;)
@filiphracek
@filiphracek 2 года назад
That's a C64 mini joystick. :)
@PRATAPSINGHSHEKHAWAT
@PRATAPSINGHSHEKHAWAT 2 года назад
SO SO EXCITING.
@maorts5552
@maorts5552 Год назад
bro for real you are super.
@gameplaydosabao
@gameplaydosabao 2 года назад
The main problem for games in flutter are the inputs. Mainly on Android emulators, where the keys are released and held like crazy while the player is just holding a key.
@user-jj3js8cc1n
@user-jj3js8cc1n 2 года назад
cool!👍
@gggg-no6rm
@gggg-no6rm 2 года назад
Big move tnx you
@fluttertricks
@fluttertricks 2 года назад
Flutter is on next level after casual game kit release
@dodyelbatrek5317
@dodyelbatrek5317 Год назад
We hope that you will inform us in a series about building applications for payments and money transfers
@victormanuelfrancodev
@victormanuelfrancodev 2 года назад
cool!!!
@_chappie_
@_chappie_ 2 года назад
We need one of this but for desktop applications.
@paulrudin3035
@paulrudin3035 2 года назад
JOOI - the template includes admob which (by default) uses personal data to serve adds, but there's no consent screen or ATT configuration. Isn't a consent screen necessary, at least in the EU and UK, and ATT necessary everywhere for the appstore?
@benmatt8940
@benmatt8940 2 года назад
He's back!!!
@Hunter-hr7je
@Hunter-hr7je 2 года назад
Wooo!
@KennyFully
@KennyFully Год назад
This is good. I’ve been lost when it comes to cross platform mobile development
@flutterdev
@flutterdev Год назад
Feeling lost can be really overwhelming! We’re so glad this helped! If you’re eager to learn more on this subject, don’t forget to check out the Casual Games Toolkit linked here: goo.gle/37i7n2q Happy Fluttering 🙌
@colocaps
@colocaps 2 года назад
Question. This can be achived with some clean architecture AND BloC?? What do hoy think?
@TrikNgonlen
@TrikNgonlen 2 года назад
Meet @Filip Hráček again here...
@davidmyg7825
@davidmyg7825 2 года назад
hi Filip, you were the former person in charged for flutter. i wonder Google do they have plan to replace dart with golang in the future? i have codebase in golang but very much interested for integrating it to flutter will it possible now or in the future?
@MuhammadImran-nx6ec
@MuhammadImran-nx6ec 2 года назад
Hi Filip, Welcome back to Flutter team, Nice to see you
@filiphracek
@filiphracek 2 года назад
Hi Muhammad! I'm not back, this is just a guest presentation. :)
@tornikegogberashvili3131
@tornikegogberashvili3131 2 года назад
🔥🔥🔥🔥🔥🔥
@brunobarros364
@brunobarros364 2 года назад
Woow!
@lesptitsoiseaux
@lesptitsoiseaux 2 года назад
Filip, if someone really hoped to entice you to collaborate on one possible next big thing, how would they do that?
@akinfev5758
@akinfev5758 2 года назад
Seems like worth to try! I'm already seeing how to make flappy bird with flutter lessons that will be uploaded to youtube lol.
@jackjackson3507
@jackjackson3507 2 года назад
I thinks its out there already lol
@afsalvahab8427
@afsalvahab8427 2 года назад
💙💙💙
@radhamandayam26
@radhamandayam26 2 года назад
By the way, is anything coming in Flutter for multiplayer game development?
@Taurh
@Taurh 2 года назад
I'd love to 🕹️🎮
@brunoboettcher8921
@brunoboettcher8921 2 года назад
looks nice, got stopped at the point where i try to get the sample app, how do you checkout a subdirectory of a git project? downloading all the samples feels like hughe overkill?
@filiphracek
@filiphracek 2 года назад
Yeah, it's a pain. SVN can download just a single subdirectory. See this tip: github.com/flutter/samples#tip-minimize-download-size
@geeqwind1170
@geeqwind1170 2 года назад
💎
@deiv319x
@deiv319x 2 года назад
Filip! 😍
@filiphracek
@filiphracek 2 года назад
Dave! :)
@itaawu
@itaawu 2 года назад
YASSS!
@whisojeff1366
@whisojeff1366 2 года назад
what kind editor are you using? I'm interesting
@jonas_hoel
@jonas_hoel 2 года назад
It's Android Studio
@bradleydalina7296
@bradleydalina7296 9 месяцев назад
Having an error, Because game_template depends on analysis_defaults from path which doesn't exist (could not find package analysis_defaults at "..\analysis_defaults"), version solving failed.
@JAGANDIGITECH
@JAGANDIGITECH 2 года назад
How to create videos presentations like this, what are the tools and techniques used to make this video! It’s awesome 👏🏼 presentation!
@filiphracek
@filiphracek 2 года назад
It's just a screen cast, overlaid on top of a webcam with "add" blend mode. Nothing fancy, but it lets me gesticulate to my heart's content while still showing code. :)
@JAGANDIGITECH
@JAGANDIGITECH 2 года назад
@@filiphracek Thank you Filip, I like it. its awesome
@dddd6022
@dddd6022 Год назад
many try catch? is this good ?
@miladganjali1440
@miladganjali1440 2 года назад
why this video is unlisted?
@MdSiam-kw5ox
@MdSiam-kw5ox 2 года назад
Filip, what is that font you are using in your vscode?
@filiphracek
@filiphracek 2 года назад
It's called Input Mono. I love that font. (For the record, that IDE is Android Studio. Not that it matters for font selection.)
@MdSiam-kw5ox
@MdSiam-kw5ox 2 года назад
@@filiphracek Thanks for the info. That font looks super clean
@loot6
@loot6 6 месяцев назад
Why is the card game template missing important stuff from the basic game template though? Stuff like the whole ads folder is not there but I don't see why you wouldn't want ads on a cards game.
@RajPatil-jx2qd
@RajPatil-jx2qd Год назад
can you please make a video to include login with Google Play, Facebook, Apply and email/password from firebase? This will be another feature that every game needs just like ads and in app purchase.
@MichaelDidszun
@MichaelDidszun 5 месяцев назад
First in the list "Ads" ... nice.
@thunderstorm13
@thunderstorm13 4 месяца назад
for those who fell asleep on the intro: code starts at 9:57
@bytacc
@bytacc Год назад
You should really use a gamelibrary/engine instead for gamedevelopment. Such as LibGDX combined with Java(also crossplatform). or cocos2dx, unity with a supported language. Easier, smooth fps (120 fps +), physics, dynamic lightning, animations etc etc. And benefits from the OpenGL,
@GobalKrishnanV
@GobalKrishnanV 25 дней назад
when 3d structure from start?
@MaxPowerVideos
@MaxPowerVideos 2 года назад
🕹
@craigpearson4622
@craigpearson4622 2 года назад
I can think of games that include whistles (football), can you help me with a game that includes bells…coz Filip has impressed on me that both bells and whistles are required 🤣
@filiphracek
@filiphracek 2 года назад
Well played, sir. :)
@fahmimohamadramadhan3978
@fahmimohamadramadhan3978 Год назад
putting in....they are only visible on the mini soft roll preview, I can’t do sNice tutorialt without seeing what notes are being played...i can’t even
@alejandrombc
@alejandrombc 6 месяцев назад
What about backend interactions? 🤔
@dokinds
@dokinds 10 месяцев назад
How to clone only that example by the way
@rylaczero3740
@rylaczero3740 2 года назад
70% of revenues come from games means app stores are better at capturing value from digital content being sold.
@basspalace2920
@basspalace2920 Год назад
So....Unreal Engine 5 it is. Thank you.
@Ihavetoreturnsomevideotapes
@Ihavetoreturnsomevideotapes 2 года назад
Its not readable
@VinodRock-tm2tt
@VinodRock-tm2tt Год назад
Super win a game
@gofudgeyourselves9024
@gofudgeyourselves9024 2 года назад
Give me more
@krzysztofk.8842
@krzysztofk.8842 2 года назад
You back with Google Filip?
@filiphracek
@filiphracek 2 года назад
No no, this was an external contribution.
@lifebest4404
@lifebest4404 2 года назад
Sir google map tutorial
@java-plus-plus
@java-plus-plus 2 года назад
Oops... your guessing was wrong! I wanted make egg bullseye
@filiphracek
@filiphracek 2 года назад
Oh damn, I haven't had that for ages. Now *I* want to make that.
@therealdigitalmerco
@therealdigitalmerco 2 года назад
:)
@aliumer8682
@aliumer8682 2 года назад
Amazing Man
@konfinoyair
@konfinoyair 2 года назад
You're back to Google ?
@filiphracek
@filiphracek 2 года назад
No no, this was a guest presentation. :)
@apisaga
@apisaga 2 года назад
aku nyasar ditempat yang keren
@tiomisbaqulirawan4662
@tiomisbaqulirawan4662 2 года назад
beruntung banget yg baca dokumentasinya wkwkwk, ini videonya unlisted
@apisaga
@apisaga 2 года назад
@@tiomisbaqulirawan4662 aneh nemang kenapa gk dipublic
@apisaga
@apisaga 2 года назад
@isnaini wkwk,
@faizanalso
@faizanalso 2 года назад
hello i like you all time now to
@bellissimo4520
@bellissimo4520 Год назад
I hurts me when a game dev mentions "all the bells and whistles" he added to the example - and the first things he mentions are "ads" and "in-app payments"...
@davigam7671
@davigam7671 2 года назад
No me deja darle like y creo que por accidente acabé dándole dislike, lo siento.
Далее
Can AI code Flappy Bird? Watch ChatGPT try
7:26
Просмотров 9 млн
Бмв сгорела , это нормально?
01:01
When, why, and how to multithread in Flutter
15:10
Просмотров 62 тыс.
A new way to generate worlds (stitched WFC)
10:51
Просмотров 520 тыс.
50 YouTubers Fight For $1,000,000
41:27
Просмотров 214 млн
What is happening with Flutter
3:41
Просмотров 145 тыс.
2 Python Developers VS $1000
15:04
Просмотров 1,8 млн
Run your own AI (but private)
22:13
Просмотров 1,3 млн
Top 30 Flutter Tips and Tricks
6:50
Просмотров 545 тыс.
📱магазин техники в 2014 vs 2024
0:41