-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-Game: [Windows] delta_time
has big fluctuation with the recent Windows 11 update
#9376
Comments
I have discovered something very odd. When renaming the YYP project to Levelhead, therefore the Windows YYC executable would be named Levelhead.exe, this makes the Windows YYC to also have the big fluctuations with |
I just made a post on the forum about similar behavior that I'm seeing. I found that when using delta_time in my project, I can go up to 130 FPS without any issues, but at 131+ FPS, I start to see delta_time inconsistencies:
Below is some info about my system in case it helps. Please let me know if there's anything else I can provide.
|
Does this happen when you run the project with YYC instead of VM? |
I believe I set things up properly to test with YYC. The results I got were interesting. 130 FPS delta_times were consistent like before:
However, 131 FPS delta_times appear to be improved, but with an occasional spike that I wasn't seeing in <131FPS. The game feels fine though and I don't notice any issues.
Next I tried 144 FPS and that resulted in odd behavior. While the delta_time values look consistent, the game does not play correctly. The movements of my player object are inconsistent. It seems to alternate between normal movement for 5-10 seconds and then my player object will act like it's moving through jello for 2-3 seconds before recovering. It seems like that behavior starts around 139 FPS and isn't noticeable below that.
Jumping to 240 FPS results in the same incorrect movement behavior I was seeing when I ran with VM (slow/sluggish). Something to note is that running at 240 FPS with both VM and YYC seems to give consistent delta_time:
Please let me know if there's anything else I can provide to help with this issue. |
Thanks for the additional context. It seems that YYC removed the inconsistency of Our observation is that if you create the Windows executable from the project and rename the executable to |
I'm seeing the same results: |
Welp, this is extremely weird but also easy to work around. As far as we know, renaming the project executable to avoid names like "Runner.exe" and "Levelhead.exe" ensures that the export would not have this issue. However, this is still annoying when running the project from the IDE in VM, as there is no way to avoid calling the |
Description
We are observing that the
delta_time
is returning very different numbers for Windows VM after updating to Windows OS Build 26100.2894. Before the update,delta_time
returns consistently around 16745 ms for a 60 FPS game. After this update, it returns 31942 for one frame and 1182 the next, almost skipping a frame. This does not happen to Windows YYC, or when the game is first switched to full screen mode. However, even in full screen mode, tabbing out and back in the game will again cause the fluctuation.Steps To Reproduce
delta_time
fluctuates between about 31942 ms and 1182 ms.delta_time
being consistent around 16745 ms.Which version of GameMaker are you reporting this issue for?
IDE v2024.11.0.179 Runtime v2024.11.0.227
Which operating system(s) are you seeing the problem on?
Windows 10.0.26100.0
Which platform(s) are you seeing the problem on?
Windows
c64392f2-377e-4548-9b95-fcb28b8e2d7a
The text was updated successfully, but these errors were encountered: