Skip to content

Hazards and scoring HUD #8

@JakeyMarsh1

Description

@JakeyMarsh1

As a player, I want hazards that end the run and candy that increases score so that I have goals and stakes.

Acceptance Criteria:

  • Simple hazards spawn at safe intervals; collision ends the run and opens GameOver.​
  • Candy spawns near platform paths; overlap removes candy and increments an on-screen score by a fixed value.​
  • Score text is visible during the run.​

Tasks:

  • Obstacle component, basic spawn in SpawnManager, collision → GameOver.​
  • Candy component, overlap → score++, remove candy.​
  • Minimal HUD text for score; update on collection.​
  • Test hazard loss and candy scoring together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions