Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(5 edits)

Thanks for the reply, I know about the fact when we hold the title bar is hold down, the game actually pauses but the internal time does not, but I don't know properly how to use timers in Pygame, I am currently using Userevents and Pygame.time.get_ticks() to control time things, anyways, I will probably look into it and research on it further someday because I have not used timers in this way in Pygame, but I think I'm kind of understanding what you are doing, you are trying to filter out the time used in the last frame by doing 1/FPS so that it will take it in account if the second argument of max (actual time) is less (because when we would hold down the title bar, the last frame will pause) or something like that, either way hopefully I will understand it properly when I would research on it, thanks a lot for replying and helping me! Appreciate it so so much!! :)

Lol, 5 edits!! xD