https://github.com/chyiiiiiiiiiiii/spaceship_game_devfest
Spaceship Game made by Flame. This topic is for DevFest Shanghai 2023.
https://github.com/chyiiiiiiiiiiii/spaceship_game_devfest
2d-game dart flame flutter game
Last synced: 7 months ago
JSON representation
Spaceship Game made by Flame. This topic is for DevFest Shanghai 2023.
- Host: GitHub
- URL: https://github.com/chyiiiiiiiiiiii/spaceship_game_devfest
- Owner: chyiiiiiiiiiiii
- Created: 2023-11-19T06:36:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T14:03:10.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T08:25:39.551Z (9 months ago)
- Topics: 2d-game, dart, flame, flutter, game
- Language: Dart
- Homepage: https://zapp.run/edit/flame-zx5806q4x590?entry=lib/main.dart&file=lib/main.dart
- Size: 24.4 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 亲子AI编程星际之旅
This project is the topic for DevFest Shanghai 2023. Talk about the game component and let the attendees implement some features. Enjoy the game development.
I put the project in Zapp online IDE. It helps us to share the project to everyone. Start in the seconds without environment setup.
[Details](https://github.com/chyiiiiiiiiiiii/presentations-and-slides/tree/main/Google%20DevFest%20Shanghai%202023%20part2)
## Environment
- flame v1.5.0## Features
- [x] 👆🏻 Use `TapDetector` to tap for shooting the bullet
- [x] 🕹️ Use `JoystickComponent` to control the spaceship
- [x] ⌨️ Use `KeyboardEvents` to control the spaceship
- [x] ⏱️ Use `TimerComponent` to calculate the time goes.
- [x] 💥 Use `CollisionCallbacks` and `HitBox` for components touching
- [x] 📷 Use `Camera` for shaking effect with explosion
- [x] 🎇 Use `ParticleSystemComponent` for destroy effect
- [x] 🔊 Use `FlameAudio` to play sound for shooting and explosion
- [x] Use `ParallaxComponent` effect to feel the moving
- [x] Add ScoreBoard for displaying information## Start
First, Sign in Github account, and fork the project. Then you can start your own version of the game.
[🕹️ Zapp - 70% - Implement](https://zapp.run/edit/flame-zobe06agobf0?entry=lib/main.dart&file=lib/game.dart)
> Search "TODO" keyword to find out the code that need to implemented.
>[🎮 Zapp - 100% - Full Version](https://zapp.run/edit/flame-zx5806q4x590?entry=lib%2Fmain.dartt)
## Demo

---
Shout out to Piotr Paweska. Thanks for the great course to help developers learn Flame.