Cosmic Dash began as a simple Unity project I created to teach my students the basics of game development — from movement and collisions to scoring and game flow.
But as I worked on it, I found myself genuinely enjoying the process. What started as a teaching example quickly became a project I wanted to improve just for fun. Now, I’ve decided to keep developing it with the help of the open-source community.
Play the game here!
(Web version, currently supports keyboard input only)
You control a spaceship that moves left and right, shooting incoming asteroids.
-
Controls
Move: A / D
Shoot: Space Bar -
+100 points for each asteroid destroyed
-
If an asteroid hits your ship, it's game over
-
If an asteroid passes by, you lose 1 shield
-
You start with 3 shields — lose them all, and the game ends
Now that the core is working, I plan to keep evolving the game for fun and learning. Here are some features I want to add:
- Touch controls for mobile support
- Rive-powered UI
- Loading screen
- Visual effects, explosions, and screen feedback
- Sound effects and background music
- Animations and polish
- Difficulty scaling as the game progresses
- Power-ups, new enemy types, and new mechanics
- Leaderboards, achievements, and more challenges
- Anything else cool that comes from the community!
Contributions are welcome! Here's how you can help:
-
Report Issues
Found a bug or have a suggestion? Open an issue here. -
Fork the Repository
Create your own fork of the project by clicking the "Fork" button at the top of the repository page. -
Make Changes
- Clone your forked repository:
git clone https://github.com/your-username/CosmicDash.git
- Create a new branch for your changes:
git checkout -b feature-name
- Make your changes and commit them:
git add . git commit -m "Description of changes"
- Clone your forked repository:
-
Submit a Pull Request
Push your changes to your forked repository:git push origin feature-name
Then, open a pull request here.
-
Collaborate
Discuss your pull request with maintainers and make any requested changes.
This project is licensed under the MIT License.
Feel free to use, modify, and distribute the code as long as the original copyright notice is included.