View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0028219||Runner||Functions||Public||2017-11-06 10:17||2018-10-25 16:44|
|Reporter||Stewart Bishop||Assigned To||Mike Rennie|
|Priority||Low||Severity||B - Major||Reproducibility||<25%|
|Target Version||2.2.1||Fixed in Version||2.2.1|
|Summary||0028219: Functions: [GMS2] FPS not being set correctly when using 'game_set_speed' and 'draw_enable_drawevent'|
|Description||The 'game_set_speed' function does not work properly when using 'draw_enable_drawevent' to implement frame skipping, setting the fps to a very high number like '20,000'. To me it seems like it is setting the fps to as high as it can possibly go. I've tested 3 different fps settings with game_set_speed (60, 24, and 500 fps), out of those 3, only setting it to 60 causes the fps to go out of control. This happens when using the 'gamespeed_microseconds' parameter as well. This bug affects both YYC and VM.|
This doesn't seem intentional, and it never happened in previous runtime versions of GMS2. I'm aware that changes have been made to VSync functionality in GMS2, maybe it's related to that?
|Steps To Reproduce||1) Start the game. Note that fps of the game starts at 60 by using game_set_speed in the create event, but seems to work correctly there. |
EDIT: Actually with some more testing, the fps can sometimes be slightly higher than 60.
2) Now use the arrow keys to change the fps with game_set_speed (left (60), down (24), right (500) by default). Start by setting the fps to something other than 60.
3) Now set the fps back to 60, notice how large the fps number is, surely this is not working correctly. Changing back to the other fps settings doesn't show this bug.
|Tags||No tags attached.|
|1.4 Found In|
|2.x Runtime Found In||184.108.40.206|
|2.x Runtime Verified In||220.127.116.118|