mroobit / untitled-sidescroller

2D Platformer written in Go with Ebitengine
https://shannondybvig.com/projects/untitled-sidescroller/
MIT License
1 stars 0 forks source link

Treasure doesn't reset for level on death #10

Closed mroobit closed 1 year ago

mroobit commented 1 year ago

Actual Behavior: When playing a level, if the player dies and re-enters the level, all of the treasure that has been previously collected is missing.

Expected Behavior: When player dies and then re-enters that same level, it should be completely reset.