https://github.com/vinsmokesomya/onion-boy
๐ง
Onion Boy: A fast-paced 2D side-scrolling target shooter game built with Unity. Shoot targets, master the reload, and survive the onion onslaught! ๐ฏ๐ฅ
https://github.com/vinsmokesomya/onion-boy
2d-game csharp game-development indie-game onion-boy shooter-game target-shooter unity unity2d
Last synced: 2 months ago
JSON representation
๐ง Onion Boy: A fast-paced 2D side-scrolling target shooter game built with Unity. Shoot targets, master the reload, and survive the onion onslaught! ๐ฏ๐ฅ
- Host: GitHub
- URL: https://github.com/vinsmokesomya/onion-boy
- Owner: VinsmokeSomya
- License: apache-2.0
- Created: 2024-09-01T17:04:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-15T18:10:25.000Z (about 1 year ago)
- Last Synced: 2025-06-28T17:44:08.832Z (about 1 year ago)
- Topics: 2d-game, csharp, game-development, indie-game, onion-boy, shooter-game, target-shooter, unity, unity2d
- Language: ShaderLab
- Homepage: https://vinsmokesomya.github.io/Onion-Boy/
- Size: 89.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
๐ฉ๐งก๐๏ธ || เคเคฏ เคถเฅเคฐเฅ เคฐเคพเคฎ || ๐๏ธ๐งก๐ฉ
---
๐ง
Onion Boy ๐ฏ
๐ฏ Shoot targets, ๐ master the reload, and ๐ง
survive the onion onslaught in this fast-paced 2D shooter! ๐ฅ
---
Onion Boy
Dumb Kid Studio
---
## ๐ฎ Play the Game!
You can play Onion Boy directly in your browser by visiting the following link: Play
**[Onion Boy](https://vinsmokesomya.github.io/Onion-Boy/)**
## ๐น๏ธ Game Overview
This project is a 2D side-scrolling target shooter game developed in Unity. Players control a character who must shoot spawning targets to earn points. The game features mouse-based aiming, a dynamic reload mini-game, and increasing difficulty over time.
---
## ๐ฌ Gameplay Preview
https://github.com/user-attachments/assets/ebecd70d-7b20-4da3-bb2a-bac530a75d36
---
## โจ Core Features
* ๐ซ **Mouse-Driven Aiming & Shooting**: Aim with the mouse cursor; the gun and player character orient towards it.
* ๐ **Player Movement**: Standard horizontal movement and jumping capabilities.
* reloading.
* ๐ฅ **Bullet Mechanics**: Bullets travel towards the aim point and interact with targets.
* ๐ฏ **Target Spawning System**: Targets appear at intervals from a designated spawner, with their spawn rate increasing over time to ramp up difficulty.
* ๐ฏ **Scoring System**: Players earn points for successfully hitting targets.
* ๐ **Reload Mini-Game**: When out of ammo, pressing 'R' initiates a mini-game where players must click on rapidly appearing buttons to reload their weapon. Time is slowed during this sequence.
* ๐ **Game Over Conditions**: The game ends if a target or the player enters a designated "dead zone".
* ๐ **UI Display**: Includes current score, game timer, and ammunition count.
* โจ **Visual Feedback**: Animations for shooting, dust effects on target impact, and sprite flipping for character/gun orientation.
---
## โจ๏ธ Controls
* **Mouse Cursor**: Aim gun
* **Left Mouse Button**: Shoot
* **A / D Keys** or **Left / Right Arrow Keys**: Move player horizontally
* **Spacebar**: Jump
* **R Key**: Initiate reload mini-game (when ammo is low or out)
---
## ๐น๏ธ How to Play
1. **Aim**: Use your mouse to direct where your character and gun are pointing.
2. **Move**: Use `A/D` or `Arrow Keys` to move left and right. Use `Spacebar` to jump.
3. **Shoot**: Click the `Left Mouse Button` to fire bullets at the targets.
4. **Score**: Each target hit increases your score.
5. **Reload**: When you run out of bullets, press the `R` key. Click the buttons that appear on screen to complete the reload process.
6. **Survive**: Avoid letting targets reach the bottom "dead zone". If they do, or if your player falls into it, the game is over.
7. **Restart**: After a game over, a "Try Again" button will appear to restart the game.
---
## ๐ ๏ธ Technologies Used
* **Engine**: Unity 6000.1.1f1
* **Language**: C#
* **Editor**: Visual Studio 2022