FLUTTER ECOSYSTEM

hzeyuan/flutter-flame-kunaiGame

flame을 사용한 플러터 게임: flame으로 작성된 츠루켄 타겟 게임

Kunai Game 프로젝트 이미지
Stars
44
Forks
8
최근 푸시(UTC)
2022. 7. 14.
프로젝트 상태
활성
zeyuan huang GitHub avatar
GITHUB User

zeyuan huang ↗

indiehacker

shenzhen
언어DartC++CMakeHTMLRubySwiftCKotlinObjective-C

관련 패키지 및 예제

사용 중인 의존성

의존성 목록 20 개

앱 카테고리

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Kunai Game


A simple Kunai game when i learn flame.


中文说明

screen

jfkxII.png jfASit.png jfkvdA.png jfApJP.png

The game is modified on the basis of this template. flutter game template

How to install

Android:
macos

first you need to install appdmg

  • npm install appdmg -g

then

cd installer/mdg_creator
appdmg ./config.json ./Ninja_Kunai.dmg

Game Rules

  • shooting Kunai onto a timber,Failed to collide with Kunai.
  • each level timber will speed up

Main logic

Main code of the game in lib/src/game.dart

  • panel has a background, restIcon,BackIcon,SoundIcon sprite.

  • KunaispriteComponent has shooting animation, when it hit the timber, Replace with static Kunai spriteComponent.

  • when gameover, a layer of image mask simulated timber broke,Kunai spriteComponent random direction drop animation

  • use flame_bloc manager game state.

Features

  • support macos,andoird,ios
  • sound
  • music
  • main menu screen
  • settings
  • ads (AdMob)

todo

  • game ranking
  • i18

todo

Development

To run the app in debug mode:

flutter run
flutter doctor
] Flutter (Channel stable, 3.0.1, on macOS 12.2 21D49 darwin-arm, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.68.1)
[✓] Connected device (3 available)
Screenshot

Thanks