Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

dt with homemenu pause #60

Open
Xavyrr opened this issue Apr 18, 2016 · 2 comments
Open

dt with homemenu pause #60

Xavyrr opened this issue Apr 18, 2016 · 2 comments
Labels

Comments

@Xavyrr
Copy link

Xavyrr commented Apr 18, 2016

So dt is calculated using os.time or whatever. When you use the home menu to pause out, dt is done properly. As in dt = 5 when you homemenu, you wait five seconds and then you go back to the game, dt = 10 now since it's using the OS time. I mean obviously this is expected by nature, but is it intended? I feel like there are situations where this might be wanted or unwanted. If it's intended, then I should make my own dt, say gt (gameTime). And have it go in the update like
if dt > .1 then gt = gt + .1 dt = 0 end
Or is it unintended, and I shouldn't mess with my code lol. It's not a big deal, it just caused some funny bugs lol.

@videah videah added the bug label Apr 18, 2016
@videah
Copy link
Owner

videah commented Apr 18, 2016

Mostly a design flaw, we didn't have to worry about that because LovePotion was 3dsx only not that long ago :P Should be a simple fix though

@Xavyrr
Copy link
Author

Xavyrr commented Apr 18, 2016

I kinda figured. But honestly in some cases that effect might be desired. I think I'll go ahead and modify my game code, unless your hard set on fixing it lol.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants