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 |