Skip to content

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.

Notifications You must be signed in to change notification settings

breadscorner/unity-endless-runner

Repository files navigation

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

Home Screen

2. Game Start

Game Start

3. Game Jump

Game Jump

4. Settings Menu

Settings Menu

5. High Score Prompt

High Score Prompt

6. Game Over

Game Over

🚀 Getting Started

  1. Clone the Repository:

    git clone https://github.com/breadscorner/unity-endless-runner.git

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published