Gamedev piece of advice you wish you'd known earlier?
Posted: Thu Sep 09, 2021 11:39 pm
What's something you wish you had learned/heard/discovered years ago?
I guess mine, somewhat embarrassingly, would be establishing simple, flexible timers for general use. We have access to these in the industrial automation space, and they work wonderfully. For whatever reason, I didn't get around to making a C-equivalent of that until 2014 or so. I usually have 30-40 different timers running in the background that I can use for simple animation and sequencing. You set a timer up with a span, tick rate in milliseconds, and behavior type at the end of the count (count once, repeat, ping-pong). You can pick up a count, and a 'done' bit triggers each time the count completes.
I feel turbo-stupid for not getting that set up earlier.
I guess mine, somewhat embarrassingly, would be establishing simple, flexible timers for general use. We have access to these in the industrial automation space, and they work wonderfully. For whatever reason, I didn't get around to making a C-equivalent of that until 2014 or so. I usually have 30-40 different timers running in the background that I can use for simple animation and sequencing. You set a timer up with a span, tick rate in milliseconds, and behavior type at the end of the count (count once, repeat, ping-pong). You can pick up a count, and a 'done' bit triggers each time the count completes.
I feel turbo-stupid for not getting that set up earlier.