v1.38.2flame
一个极简的Flutter游戏引擎,提供了一组相对独立的模块供您选择。
一个使用 Flutter 和 Flame 引擎构建的简单 2D 多人在线游戏
v1.38.2一个极简的Flutter游戏引擎,提供了一组相对独立的模块供您选择。
Firebase Database 的 Flutter 插件,一个托管在云端的 NoSQL 数据库,可在 Android 和 iOS 客户端之间实现实时数据同步,并支持离线访问。
Dart 中的函数式编程。使用高效的不可变数据结构、单子、透镜和其他 FP 工具来净化您的 Dart 代码。
Injectable 是一个方便的代码生成器,用于 get_it。它受到 Angular DI、Guice DI 和 inject.dart 的启发。
Injectable 是一个方便的代码生成器,用于 get_it。它受到 Angular DI、Guice DI 和 inject.dart 的启发。
Flutter 的应用内购买插件。该项目已由 react-native-iap 分支,我们希望为 React Native 用户提供相同的体验。
{"sdk":"flutter"}^2.0.4^1.0.20.10.0-nullsafety.2^4.4.2^2.10.0^10.1.1^1.7.3^7.0.1^0.9.0^0.14.2^2.1.0^5.4.1^1.4.1^1.4.1^1.5.3^1.0.1^5.0.10^5.0.0{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
lib
Club Penguin A multiplayer game involving penguins and anonymous chat in a virtual 2D world
Before we start, you can take a look at the app:
Output sample
To clone and run this application, you'll need git and flutter installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/Shadow60539/social_media_game.git
# Go into the repository
$ cd social_media_game.git
# Install dependencies
$ flutter packages get
# Run the app
$ flutter run
Some very good packages are used in this project.
| Package | Description |
|---|---|
| flame | A minimalistic Flutter game engine |
| firebase_auth | Firebase Authentication |
| firebase_core | To use the Firebase Core API |
| firebase_database | Firebase Realtime Database |
| dartz | Support functional programming in Dart |
| build_runner | Build Custom Models |
| flutter_bloc | BLoC State Management |
| flutter_launcher_icons | Replace launcher icon |
| freezed | Code generation for immutable classes |
| google_fonts | Support google fonts |
| injectable | Dependency injection |
| lint | Rules handler for Dart |
| lottie | Lottie files animations |
| mockito | Mock library for Dart |
| provider | Provider State Management |
The project directory structure is as follows:
├── android
├── asset
├── build
├── images
├── ios
├── lib
├── test
├── analysis_options.yaml
├── pubspec.lock
├── pubspec.yaml
lib
| Directory | Description |
|---|---|
| application | State management layer |
| core | Core files which depend on all these layers |
| domain | Model and contract layer |
| infrastructure | Data layer |
| presentation | Widget layer |