Premium Only Content

No Game Engine Game Dev: Word Sleuth 033: Doc cleanup, animation bugs, and start removing containers
Streamed on 2024-08-19 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
For a Monday warmup I started out by cleaning up my documentation a bit. I have changed my style a bit and had statistics data in the Journal that I don't need to keep any more. Now things are nice and consistent across all entries.
With that out of the way we started looking at two animation bugs. The first one was an issue where starting another animation before the first animation was done would result in the incomplete states from the first animation being copied into the state of the second animation. We fixed that and added some capability to have what I call "Free Animations" which are owned and their lifetimes are managed entirely by the Scheduler. This allowed me to start one part of the animation and forget about it in a way that let me separate the other part of the animation into a slightly different treatment.
The second animation bug wasn't really a bug. It just felt like a bug. Slowing down the animation it became clear that it was doing what it was told, which just looked discontinuous, with motion seeming to pop. With a little delay at the top, the animation looked much more natural.
And then we started on a refactor task: anywhere we find std::containers is ripe for an update. I usually use std::containers when I'm being lazy. In most cases I can refactor to not use them. We got through the Font treatment: we no longer look up Fonts by name, but by generated enumeration which is just as readable, faster, and simplifies an std::unordered_set into a single static array lookup. We'll be updating other parts of the code to behave similarly.
-
LIVE
The Pete Santilli Show
2 hours agoOur Memorial & Prayer Vigil For Charlie Kirk - September 15, 2025
586 watching -
DVR
Welcome to the Rebellion Podcast
22 hours ago $1.03 earnedWhere Do We Go From Here? - WTTR Podcast Live 9/15
13.9K -
1:58:52
The Chris Salcedo Show
17 hours ago $2.77 earnedFALLOUT: Charlie Kirk's Assassination
18.2K9 -
4:04:01
The Bubba Army
2 days agoCharlie Kirk's Shooter, Had a Trans BF? - Bubba the Love Sponge® Show | 9/15/25
40.5K15 -
30:31
DeVory Darkins
16 hours ago $8.12 earnedCNN forced to admit the shocking truth about shooter as Fetterman drops bomb on Democrats
27.2K85 -
20:54
Professor Nez
17 hours ago🚨BREAKING: Shooter’s Own Words in Charlie Kirk Case Revealed
13.5K17 -
16:48
itsSeanDaniel
18 hours agoGenius Republican Defends Charlie Kirk and CALLS OUT The Radical Left
12.2K4 -
9:09
Freedom Frontline
17 hours agoFox News Just Showed The Video Biden Never Wanted Seen
21K25 -
0:27
historyofboxing
19 hours ago $0.58 earnedThe Cuban Machine… and Deadliest KO Phenom Right Now – David Morrell Jr
10.6K1 -
38:07
Degenerate Plays
16 hours ago $1.09 earnedWorst Star Wars Character Pranks Us All - Call of Duty: Modern Warfare 3 (2011) : Part 3
17.3K