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.
-
53:25
Simply Bitcoin
1 day ago $0.64 earnedThe Bitcoin Crucible w/ Alex Stanczyk & Tomer Strolight - Episode 13
15K1 -
59:21
The Rubin Report
2 hours agoIs This the Real Reason Bongino Is Leaving the FBI?
28.8K51 -
LIVE
LFA TV
15 hours agoLIVE & BREAKING NEWS! | THURSDAY 12/18/25
2,814 watching -
LIVE
The Mel K Show
2 hours agoMORNINGS WITH MEL K- America is Mad As Hell And We’re Not Going to Take it Anymore! - 12-18-25
833 watching -
LIVE
The Shannon Joy Show
3 hours ago🔥SJ LIVE Dec 18 - Exclusive With Peter Schiff On Trumpflation, The Affordability Crisis, AI Bubbles & Bitcoin Collapse. Will Metals Become The Global Hedge Against Financial Chaos?🔥
154 watching -
45:19
Grant Stinchfield
1 hour agoKeystone Cops of the Ivy League... It Gets Worse Every Day as Brown Suspect Still on the Run!
1.72K9 -
1:02:26
VINCE
4 hours agoIt's Official: Dan Bongino To Leave FBI | Episode 191 - 12/18/25 VINCE
224K283 -
1:04:17
Chad Prather
3 hours agoTrump FOOLS Fake News, Touts Accomplishments + Trans Surgeries For Minors BANNED & BONGINO IS BACK!
34.7K11 -
2:04:25
Benny Johnson
3 hours ago🚨Trump BREAKS Internet With Primetime Address, TROLLS Media Into Covering His WINS | 2025 IN REVIEW
55.3K48 -
1:06:53
Graham Allen
5 hours agoDan Bongino Out At The FBI, Something Is Coming and Its Massive!
161K1.71K