An open API service indexing awesome lists of open source software.

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! ๐ŸŽฏ๐Ÿ’ฅ

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 Icon


Onion Boy


Dumb Kid Studio Logo

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