View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0010651 | Shattered Haven | Bug - Gameplay | Feb 9, 2013 5:36 pm | Feb 9, 2013 5:47 pm | |
Reporter | GameMaker24 | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Summary | 0010651: Scripts can process WAIT commands even while the game is paused. | ||||
Description | I've just discovered a very troubling bug. I've started a separate issue here, but there is another issue regarding the WAIT command that I will link to here. If you pause the game, the WAIT timer continues to tick! This means I can pause the game once the action is in motion, wait several seconds, and then unpause to see the same chaos as described above. | ||||
Tags | No tags attached. | ||||
Internal Weight | Major Problem | ||||
related to | 0010650 | resolved | Chris_McElligottPark | Scripts can process WAIT commands if prerequisite script displays text. |
|
By "above" I meant http://www.arcengames.com/mantisbt/view.php?id=10650 |
|
Thanks! New compiled version 694. * Completely reworked how the WAIT command works internally. Previously it was marking the timestamp of when the wait command started, and then in the future would check to see if the current timestamp was more than the requested number of milliseconds into the future. This caused issues with pausing, text popups, and similar. ** Now it instead does an accumulative per-frame delta-t approach, which is more modern and more robust -- and consistent with the rest of this game and our other titles. The upshot is that when the branch of code doesn't get called (due to it being paused or blocked by text or whatever) the game doesn't "keep counting" like it used to. It wasn't actually counting before, it was just looking at the start point and end point, which was the problem. |
Date Modified | Username | Field | Change |
---|---|---|---|
Feb 9, 2013 5:36 pm | GameMaker24 | New Issue | |
Feb 9, 2013 5:36 pm | GameMaker24 | Status | new => assigned |
Feb 9, 2013 5:36 pm | GameMaker24 | Assigned To | => Chris_McElligottPark |
Feb 9, 2013 5:37 pm | GameMaker24 | Relationship added | related to 0010650 |
Feb 9, 2013 5:38 pm | GameMaker24 | Note Added: 0030626 | |
Feb 9, 2013 5:47 pm | Chris_McElligottPark | Note Added: 0030627 | |
Feb 9, 2013 5:47 pm | Chris_McElligottPark | Status | assigned => resolved |
Feb 9, 2013 5:47 pm | Chris_McElligottPark | Resolution | open => fixed |