generated from nighthawkcoders/platformer3x
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Description
When the player remains idle (no movement) for approximately 2-5 seconds during gameplay, the "congratulations screen" is triggered unexpectedly. This occurs regardless of whether the game objective has been completed. (Also using this as an excuse to practice writing bug reports)
Steps to Reproduce
- Launch the game.
- Start playing and remain idle for 2-5 seconds (no input/movement).
- Observe the "congratulations screen" being displayed without meeting the win condition.
Expected Behavior
The "congratulations screen" should only appear after successfully completing the game objective, regardless of idle time.
Actual Behavior
The "congratulations screen" appears erroneously after a period of no movement.
Environment
- Browser: All browsers
- OS: All OS
- Game Version: any version up to and including Update v0.1.16 - Background Update #32 v.0.1.16 (latest as of time of writing)
Possible Related Code
It may be related to the idle timer or win condition logic. Investigating the event handler or state checks might be necessary.
Additional Context
This bug disrupts gameplay, but is not of critical level.
Severity
Medium - Affects game flow but does not crash the game.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers