https://github.com/andrej1011/subway2d
Subway 2D - Game project for Seminar C (Unity Game Development) at PMF University of Novi Sad.
https://github.com/andrej1011/subway2d
csharp unity2d university-project
Last synced: 2 days ago
JSON representation
Subway 2D - Game project for Seminar C (Unity Game Development) at PMF University of Novi Sad.
- Host: GitHub
- URL: https://github.com/andrej1011/subway2d
- Owner: andrej1011
- Created: 2025-06-09T16:38:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-09T17:00:55.000Z (about 1 year ago)
- Last Synced: 2025-06-09T18:19:40.934Z (about 1 year ago)
- Topics: csharp, unity2d, university-project
- Homepage: https://youtube.com/shorts/jfTu-kLyaRo?feature=share
- Size: 11 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Subway2D
_A 2D endless runner game developed in Unity, demonstrating the adaptation of classic 3D runner mechanics into a 2D game._
**Developed** by Andrej Rajkov in 2023
**University Course:** Seminar C ("Seminarski Rad C") at the Faculty of Sciences, University of Novi Sad
## Project Overview
**Subway2D** is an endless runner game developed in Unity, created as the practical component for a university seminar thesis. The project explores methods for adapting classic 3D infinite runner mechanics (like those found in _Subway Surfers_) into a purely 2D environment while maintaining core gameplay principles and the illusion of speed.
This repository serves as a portfolio archive for the C# source code and compiled demonstration builds.
## Screenshots





## Gameplay Video
https://github.com/user-attachments/assets/62c12839-d46d-455f-b51f-5d50817e6c33
## 🛠 Technical Features & Implementation Highlights
The game's design centered on creating efficiency and dynamic difficulty without relying on complex 3D physics.
- **Engine & Language:** Unity 2021.3 (C#)
- **Movement Illusion:** Player is static on the Y-axis; movement is simulated by applying velocity to environmental objects (tracks, obstacles) moving toward the player.
- **Procedural Generation:** Uses a 3-lane spawner system for dynamic obstacle (trains, barriers) and collectible (coins) introduction.
- **Lane Logic:** Implements precise, snap-to-lane movement control, ensuring the player remains aligned with one of the three tracks.
- **Difficulty Scaling:** Game speed (environment velocity) increases over time, dynamically scaling difficulty.
- **Data Persistence:** Local save system using `PlayerPrefs` for storing high scores and currency.
- **Shop:** Functional in-game Shop System for spending currency on Score and Coin multipliers.
## 📦 Try it yourself:
Download on the [**Releases page**](https://github.com/andrej1011/Subway2D/releases/tag/main).
Supported platforms include:
- **Windows** (`.exe` installer)
- **macOS** (DMG file)
- **Android** (`.apk`)
## ⚖️ License and Disclaimer
This software is a non-profit educational and portfolio project.
Please review the accompanying `license.md` file for the full legal disclaimer regarding the project's educational nature and its relationship with the original _Subway Surfers_ intellectual property.