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.
-
2:05:36
Inverted World Live
11 hours agoSaint's Tomb Opened for First Time in 800 Years for Ancient Ritual | Ep. 121
102K18 -
2:43:30
TimcastIRL
9 hours agoNY AG Indicted For FRAUD, Faces 30 Years In Prison, $1 MILLION FINE | Timcast IRL
228K110 -
1:09:16
Man in America
19 hours agomRNA 2.0: This Frightening Tech Can Target Your BRAIN Using Biological Post Codes
60.3K22 -
1:28:31
The Charlie Kirk Show
8 hours agoTHOUGHTCRIME Ep. 100 — Turning Point Halftime? Potatoes and Katie Porter? Hasan the Dog Shocker?
119K61 -
6:33:19
SpartakusLIVE
10 hours agoNEW Update, NEW Meta || Zombies Mode is BACK - Smokes NURFED
70.8K5 -
13:10
Robbi On The Record
8 hours ago $9.53 earnedThe War on Christians | China’s Surveillance & Nigeria’s Killing Fields
49.5K36 -
1:24:49
Flyover Conservatives
1 day agoYour Home Just Became a Healing Room — The Truth About Red Light & Med Bed - Jonathan Otto | FOC Show
48.1K9 -
2:11:35
Mally_Mouse
4 days ago🎮 Throwback Thursday! Let's Play: Kingdom Hearts 1 pt. 2
35.5K2 -
3:00:37
Barry Cunningham
12 hours agoBREAKING NEWS: LETITIA JAMES INDICTED FOR MORTGAGE FRAUD!!! LIBTARD TEARS ARE FLOWING!
66.9K46 -
1:17:42
Glenn Greenwald
11 hours agoUS/Venezuela Escalations: Revisiting Key Developments and the Push for Regime Change | SYSTEM UPDATE SPECIAL
121K169