2D platformer learning prototype built with Unity.
This project was created to understand the logic behind platform games (movement, combat, enemies, traps, room transitions, and feedback systems). It is not a finished commercial game, and it intentionally remains a prototype.
- Status: Learning prototype (paused)
- Scope: Core gameplay systems are implemented and playable
- Goal: Practice and understand platformer architecture through hands-on implementation
I followed Pandemonium GameDev tutorials up to a point, then stopped and moved to my own project work.
- Channel: https://www.youtube.com/@PandemoniumGameDev
- Playlist followed: https://www.youtube.com/playlist?list=PLgOEwFbvGm5o8hayFB6skAfa8Z-mw4dPV
- Horizontal movement with directional facing
- Jump with adjustable jump height (release jump early for shorter jump)
- Coyote time
- Extra jumps (double-jump style setup)
- Wall interaction and wall jump behavior
- Projectile-based attack with cooldown and pooled projectiles
- Health component with damage, death, and heal support
- Invulnerability frames (i-frames) with visual flashing feedback
- Health pickups
- Health bar UI
- Patrol enemy behavior
- Melee enemy with sight/range-based attack trigger
- Ranged enemy with projectile attacks
- Spikehead trap behavior
- Fire trap with activation delay and active damage window
- Arrow trap with periodic projectile firing
- Shared enemy damage base behavior
- Room activation/deactivation system
- Door-based room transitions
- Camera room transition movement
- Two playable scenes in build settings:
- Level1
- Level2
- Global sound manager singleton (cross-scene)
- SFX integration for movement, combat, damage, traps, and pickups
- Animation state triggers for run, hurt, die, attack, and trap/projectile effects
Current controls based on the implemented scripts:
- Move: Horizontal axis (A/D or Left/Right Arrow depending on Unity Input settings)
- Jump: Space
- Attack: Left Mouse Button
- Quick scene load test action: F (loads scene index 1)
- Engine: Unity 2022.3.62f3
- Language: C#
- Project type: 2D platformer prototype
- Open the project in Unity Hub.
- Use Unity version 2022.3.62f3.
- Open the project folder.
- Open one of the scenes under Assets/Scenes (for example Level1).
- Press Play in the Unity Editor.
- This repository is kept as a learning snapshot, not as a polished final product.
- Some experimental or tutorial-stage code/notes may still exist.
- The project does not include a roadmap because it is intentionally left in prototype state.
- Tutorial source and learning reference:
- GitHub: https://github.com/one-byte-man
- LinkedIn: https://www.linkedin.com/in/-ahmet-akpinar-/
All Rights Reserved.
This code is shared for portfolio and learning showcase purposes.