Skip to content
App-loveyouPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

HaraRunner

HaraRunner is a compact 3D endless runner prototype designed for Unity.

Included starter scripts

  • PlayerState.cs — lane movement, jump, roll, stumble, death, revive
  • GameManager.cs — state, score, speed, persistence
  • CameraShake.cs — cinematic screen shake on death
  • AudioManager.cs — pooled SFX management
  • ObstacleHitbox.cs — obstacle resolution by type
  • SegmentSpawner.cs — endless recycled segment spawning
  • UIManager.cs — HUD, pause, end screen, revive flow
  • PlayerInput.cs — keyboard input for movement and actions
  • CoinPickup.cs — coin collection logic

Scene setup checklist

  1. Create a Main scene.
  2. Create a Player object with CharacterController + PlayerState + PlayerInput.
  3. Add a Main Camera and attach CameraShake.
  4. Create a GameManager object with GameManager component.
  5. Create a Spawner object with SegmentSpawner and assign the player reference.
  6. Create a UI canvas with HUD, Start panel, Pause panel, End panel, and buttons.
  7. Add UIManager and connect all fields in the inspector.
  8. Create obstacles with trigger colliders and ObstacleHitbox.
  9. Add coins with trigger colliders and CoinPickup.

Quick rules

  • Left / Right = lane change
  • Up / Space = jump
  • Down = roll
  • Low obstacle = jump over
  • High obstacle = roll under
  • Side obstacle = stumble
  • One extra revive is allowed per run

Recommended Unity version

  • Unity 2022.3 LTS or newer

Project status

This repository is structured as a functional starter project for building the actual game in Unity and continuing toward Android/WebGL export.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages