https://github.com/breadscorner/unity-endless-runner
2D Endless Runner Game - A Unity-based endless runner where players jump over obstacles, track their scores, and enjoy smooth transitions between start, game, and end screens. Featuring serialized variables, modular scripts, and prefabs for an engaging gameplay experience.
https://github.com/breadscorner/unity-endless-runner
csharp endless-runner scripts unity unity2d
Last synced: 9 months ago
JSON representation
2D Endless Runner Game - A Unity-based endless runner where players jump over obstacles, track their scores, and enjoy smooth transitions between start, game, and end screens. Featuring serialized variables, modular scripts, and prefabs for an engaging gameplay experience.
- Host: GitHub
- URL: https://github.com/breadscorner/unity-endless-runner
- Owner: breadscorner
- Created: 2024-10-20T22:22:54.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-17T08:55:56.000Z (about 1 year ago)
- Last Synced: 2025-02-14T12:38:35.720Z (11 months ago)
- Topics: csharp, endless-runner, scripts, unity, unity2d
- Language: C#
- Homepage: https://unity-endless-runner.vercel.app
- Size: 62.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2D Endless Runner Game
Welcome to the **2D Endless Runner Game**, a Unity-based endless runner where excitement meets precision coding! This project is currently in development and not yet hosted for public play, but you can explore the game by running the code locally.
## 🎮 Game Features
- **Start Screen**: A welcoming entry point where players can start their endless running adventure or adjust settings through an intuitive menu.
- **Dynamic Gameplay**: Jump over hurdles (cones) with responsive, animated movements. Colliding with an obstacle ends the game.
- **End Screen**: Showcases your current score and high score. If you achieve a new high score, enter your name to be forever remembered! Options to restart or return to the start screen are also available.
- **High Score System**: Tracks the highest score achieved and allows name entry when a new high score is set.
- **Smooth Scene Transitions**: Effortlessly move between start, game, and end scenes.
- **Visually Engaging Animations**: Enjoy smooth, polished animations that bring the player and obstacles to life.
## 💻 Coding Highlights
- **Serialized Variables**: Key game parameters are serialized, enabling developers to tweak gameplay mechanics with ease.
- **Prefab/Nested Prefabs Usage**: Prefabs are extensively used for obstacles, UI elements, and other GameObjects, ensuring modularity and efficient development.
- **Custom Scripts**: Modular scripts manage player movement, scoring, and collision detection, showcasing clean and maintainable code.
- **High Score Prompt Panel**: The system toggles a high score entry panel dynamically when a new record is achieved, demonstrating integration of UI and logic.
- **Event-Driven Scene Management**: Scene transitions and game states are handled through structured event-driven programming.
- **Animation Integration**: Player animations are synced with actions, emphasizing seamless interaction between animator controllers and game logic.
## 🎮 Screenshots
### 1. Home Screen

### 2. Game Start

### 3. Game Jump

### 4. Settings Menu

### 5. High Score Prompt

### 6. Game Over

## 🚀 Getting Started
1. **Clone the Repository**:
```bash
git clone https://github.com/breadscorner/unity-endless-runner.git