Time limit resets, when respawning on a checkpoint #2060
Replies: 4 comments 11 replies
-
Proposed solution:Save the time at the moment of taking the checkpoint and restore that time when respawning at the checkpoint. |
Beta Was this translation helpful? Give feedback.
-
Proposed solution:Retain the current behavior: Timers reset to their initial time when respawning at a checkpoint |
Beta Was this translation helpful? Give feedback.
-
Proposed solution:Do not change the time left in anyway when respawning. Keep the timers running through deaths; retain the remaining time at the moment of death and restore that same time upon respawning at a checkpoint. The time in a timer never goes up while playing the level, even at deaths. |
Beta Was this translation helpful? Give feedback.
-
My proposed solution: upon death, take the original level time, divide it by the number of checkpoints (+ 1) in the level, and subtract the time from the original amount depending on what checkpoint you are on. example: time is 300s. 1 checkpoint in the level. 1+1 is 2, 300/2 is 150. upon respawning, you get 150s of time limit. This assumes the level maker puts the checkpoints at relative equidistance to the start, end, and other checkpoints - which is what level designers should be doing anyway. |
Beta Was this translation helpful? Give feedback.
-
SuperTux version: 0.6.3
System information: Windows 10
Expected behavior
Time limit does not reset, when respawning on a checkpoint.
Actual behavior
Time limit resets, when respawning on a checkpoint.
Steps to reproduce actual behavior
Enter a level with a time limit, activate a checkpoint and die. Notice that the time limit resets.
Beta Was this translation helpful? Give feedback.
All reactions