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.
-
4:26:54
Nerdrotic
8 hours ago $25.38 earnedFantastic Four Baby Steps V Superman's James Gunn, South Park Returns | Friday Night Tights 364
86.5K5 -
LIVE
megimu32
2 hours agoOFF THE SUBJECT: FAFO Friday! Cops, Crash, Kombat & Chaos!
124 watching -
GrimmHollywood
11 hours ago🔴LIVE • GRIMM HOLLYWOOD • CLIP FARMING 101 •
7.3K1 -
1:07:56
Glenn Greenwald
8 hours agoIsrael-Made Famine Crisis Finally Recognized | SYSTEM UPDATE #493
95K54 -
2:29:42
TheSaltyCracker
4 hours agoGhislaine Maxwell Talks ReEEeStream 7-25-25
74.1K157 -
9:27
MattMorseTV
6 hours ago $2.31 earnedHe just lost EVERYTHING.
20.7K8 -
LIVE
a12cat34dog
5 hours agoSPOOKY ASS 2005 GAME :: F.E.A.R. :: FIRST-TIME FINISHING THIS CLASSIC {18+}
90 watching -
LIVE
WickedVirtue
2 hours agoFortnite w/ Friends
27 watching -
8:11:13
Spartan
8 hours agoSpartan - Pro Halo Player for OMiT | Scrims vs ETHR
17.2K1 -
21:39
TruthStream with Joe and Scott
6 hours agoDestroying the Whore of Babylon Highlight reel from the REV 17 event! Share this!!
14.6K1