text
stringlengths 1
372
|
|---|
persistence
|
<topic_end>
|
<topic_start>
|
plugins
|
<topic_end>
|
<topic_start>
|
testing
|
<topic_end>
|
<topic_start>
|
integration
|
<topic_end>
|
<topic_start>
|
unit
|
<topic_end>
|
<topic_start>
|
widget
|
<topic_end>
|
<topic_start>
|
casual games toolkit
|
the flutter casual games toolkit pulls together new and existing resources
|
so you can accelerate development of games on mobile platforms.
|
this page outlines where you can find these available resources.
|
<topic_end>
|
<topic_start>
|
why flutter for games?
|
the flutter framework can create performant apps for six target platforms
|
from the desktop to mobile devices to the web.
|
with flutter’s benefits of cross-platform development, performance, and
|
open source licensing, it makes a great choice for games.
|
casual games fall into two categories: turn-based games
|
and real-time games.
|
you might be familiar with both types of games,
|
though perhaps you didn’t think about them in quite this way.
|
turn-based games cover games meant for a mass market with
|
simple rules and gameplay.
|
this includes board games, card games, puzzles, and strategy games.
|
these games respond to simple user input,
|
like tapping on a card or entering a number or letter.
|
these games are well suited for flutter.
|
real-time games cover games a series of actions require real time responses.
|
these include endless runner games, racing games, and so on.
|
you might want to create a game with advanced features like collision detection,
|
camera views, game loops, and the like.
|
these types of games could use an open source game engine like the
|
flame game engine built using flutter.
|
<topic_end>
|
<topic_start>
|
what’s included in the toolkit
|
the casual games toolkit provides the following free resources.
|
a repository that includes three new game templates that provide
|
a starting point for building a casual game.
|
a base game template
|
that includes the basics for:
|
a card game template
|
that includes everything in the base template plus:
|
an endless runner template created in partnership
|
with the open source game engine, flame. it implements:
|
a sample game built on top of the endless runner template,
|
called SuperDash. you can play the game on iOS, android,
|
or web, view the open source code repo, or
|
read how the game was created in 6 weeks.
|
the included game templates and cookbook recipes make certain choices
|
to accelerate development.
|
they include specific packages, like provider, google_mobile_ads,
|
in_app_purchase, audioplayers, crashlytics, and games_services.
|
if you prefer other packages, you can change the code to use them.
|
the flutter team understands that monetization might be a future consideration.
|
cookbook recipes for advertising and in-app purchases have been added.
|
as explained on the games page,
|
you can leverage up to $900 in offers when you integrate google services,
|
such as cloud, firebase, and ads, into your game.
|
error important
|
terms and conditions apply.
|
you must connect your firebase and GCP accounts to use credits for
|
firebase services and verify your business email during sign up to earn
|
an additional $100 on top of the normal $300 credit.
|
for the ads offer, check your region’s eligibility.
|
<topic_end>
|
<topic_start>
|
get started
|
are you ready? to get started:
|
review the README file for the first type of game you want to create.
|
review the codelabs and cookbook recipes.
|
<topic_end>
|
<topic_start>
|
example games
|
for google I/O 2022, both the flutter team and very good ventures created new
|
games.
|
VGV created the I/O pinball game using the flame engine.
|
to learn about this game,
|
check out I/O pinball powered by flutter and firebase on medium
|
and play the game in your browser.
|
the flutter team created I/O flip, a virtual CCG.
|
to learn more about I/O flip,
|
check out how it’s made: I/O FLIP adds a twist to a classic card game with generative AI
|
on the google developers blog and play the game in your browser.
|
<topic_end>
|
<topic_start>
|
other resources
|
once you feel ready to go beyond these games templates,
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.