13
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 24 Jun 2023
13 points (100.0% liked)
GameDev
3866 readers
1 users here now
A community about game development.
Rules:
- Adhere to the general lemmy.blahaj.zone rules (#1 being no homophobia, transphobia, racism or other exclusionary content)
- Self-promotion is fine as long as it's not spammy - share your progress, insights, techniques and mishaps! If you recently posted, update the previous post instead of filling the frontpage with your project
- Hide NSFW/NSFL content behind a clear warning, for example: [NSFW Nudity]
More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥
founded 2 years ago
MODERATORS
Another cool thing you can add is some of your own debugging like,
If debugswitch = true
StartTime = GetTime()
Do part of the loop
If debugswitch = true
EndTime = GetTime()
If (EndTime - StartTime) > then ReasonableTime DebugPrint("long wait time in process "x")
This will give you a message in the output console whenever a process takes more then 2 ms or whatever you set in the game loop.