What is Nostr?
bonkmaykr: extra bonks /
npub1yzn…cylx
2024-10-26 18:06:43

bonkmaykr: extra bonks on Nostr: LibAlleg does not have a guide on framerate-independent game logic, which makes ...

LibAlleg does not have a guide on framerate-independent game logic, which makes removing the FPS cap difficult. No worries, I could do multithreading.

Except for some ungodly reason, the renderer is hard-capped at 60 frames per second, agnostic to my own code. This is "120"

I only found this out the hard way when my timescale math inadvertently caused the publisher intro to be twice as long instead of just being double the framerate.

At that time I had not implemented a delta timer because I was relying on Allegro's event timers for pacing, so I had no way of viewing the framerate until I took this screenshot. You can probably imagine the hours I wasted trying to fix my code not realizing what was happening.

*sigh* time to contact the IRC again...



Author Public Key
npub1yznkur5vepczzt6wa7858gxyru5tuyvr3nf5th6ac4qpcx8np9lqqfcylx