Skip to content

Latest commit

 

History

History
107 lines (73 loc) · 3.14 KB

File metadata and controls

107 lines (73 loc) · 3.14 KB

PlatformGame

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.

Project Status

  • Status: Learning prototype (paused)
  • Scope: Core gameplay systems are implemented and playable
  • Goal: Practice and understand platformer architecture through hands-on implementation

Learning Context

I followed Pandemonium GameDev tutorials up to a point, then stopped and moved to my own project work.

Implemented Systems

Player

  • 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

Combat and Health

  • Health component with damage, death, and heal support
  • Invulnerability frames (i-frames) with visual flashing feedback
  • Health pickups
  • Health bar UI

Enemies and Hazards

  • 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

Level and Scene Flow

  • Room activation/deactivation system
  • Door-based room transitions
  • Camera room transition movement
  • Two playable scenes in build settings:
    • Level1
    • Level2

Audio and Feedback

  • 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

Controls

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)

Tech Stack

  • Engine: Unity 2022.3.62f3
  • Language: C#
  • Project type: 2D platformer prototype

Quick Start

  1. Open the project in Unity Hub.
  2. Use Unity version 2022.3.62f3.
  3. Open the project folder.
  4. Open one of the scenes under Assets/Scenes (for example Level1).
  5. Press Play in the Unity Editor.

Notes and Limitations

  • 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.

Credits

Contact

License

All Rights Reserved.

This code is shared for portfolio and learning showcase purposes.