MyGit

flutter/games

Fork: 533 Star: 582 (更新于 2024-09-08 11:11:31)

license: NOASSERTION

Language: Dart .

Home of the Flutter Casual Games Toolkit and other Flutter gaming templates

GitHub网址

games

Build Status

Home to the official code for the Flutter Casual Games Toolkit and other Flutter gaming templates.

Visit flutter.dev/games for more information.

If you're new to Flutter, you first need to install the Flutter SDK.

Organization

The projects in this repository are divided into two broad categories:

  1. Templates. A small number of starting points for your game project. Templates are intended to give you a simple project structure on top of which you can build your game. They differ to accommodate different game types, from the simplest casual games through drag&drop board games to 2D platformers.

  2. Samples. Intended to show functionality beyond the basics, such as multiplayer or ads integration.

.
├── templates
│   ├── basic
│   ├── card
│   └── endless_runner
└── samples
    ├── ads
    ├── multiplayer
    └── ...

How to use

The easiest way to get any of the samples and templates from this repository is to install the sample_downloader tool and use it.

On the command line, while having the Flutter SDK installed, run the following command:

dart pub global activate sample_downloader

Then, from any directory, run the newly installed tool and follow its instructions.

sample_downloader

The manual way

If, for any reason, you prefer not to use the sample_downloader tool, follow these steps.

  1. Clone this repository.

    To minimize download size, you can use a partial clone:

    git clone --filter=blob:none https://github.com/flutter/games.git
    

    (Alternatively, you can download the ZIP file and uncompress it on your workstation.)

  2. cd into the project you are interested in. For example:

    cd templates/card
    

    (Alternatively, you can copy the contents of a project to somewhere else, and change to that directory.)

  3. (Optional) Rename the project with the rename tool.

  4. Open the project in your favorite editor and enjoy.

Interested in contributing?

See the contributor's guide!

Questions or issues?

If you have a general question about one of these samples or how to adapt its techniques for one of your own apps, try one of these resources:

If you run into a bug in one of the samples, please file an issue in the flutter/flutter issue tracker.

最近版本更新:(数据更新于 2024-10-07 22:04:10)

flutter/games同语言 Dart最近更新仓库

2024-10-08 09:36:38 chen08209/FlClash

2024-10-04 07:09:37 hiddify/hiddify-next

2024-09-25 12:39:02 felangel/data_class

2024-09-19 11:57:29 wgh136/PicaComic

2024-09-06 22:53:07 ReVanced/revanced-manager

2024-08-28 05:03:06 google-gemini/generative-ai-dart