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.
-
1:20:42
The Connect: With Johnny Mitchell
6 days ago $11.54 earnedThe Truth Behind The U.S. Invasion Of Venezuela: Ed Calderon Exposes American Regime Change Secrets
35.5K24 -
2:10:18
FreshandFit
6 hours agoAfter Hours w/ Girls
128K35 -
2:06:29
TimcastIRL
12 hours agoAirlines Cancel Over 700 Flights, Travel APOCALYPSE Is Now, Trump Says END FILIBUSTER | Timcast IRL
233K115 -
9:02:44
SpartakusLIVE
17 hours agoTOXIC Solos on ARC Raiders || Friday Night HYPE - WZ or Redsec Later?
77.2K2 -
2:15:42
TheSaltyCracker
10 hours agoWoke is DEAD ReeEEStream 11-07-25
123K219 -
1:29:13
Sarah Westall
9 hours agoThe City of London: Infiltration, Intimidation & Centralized Power w/ Mike Harris
50.5K15 -
10:14:18
Dr Disrespect
19 hours ago🔴LIVE - DR DISRESPECT - ARC RAIDERS - AGAINST ALL DANGER
202K26 -
32:09
ThisIsDeLaCruz
1 day ago $6.23 earnedFalling In Reverse: Christian Thompson’s Stage Tech Revealed
44.5K8 -
4:41:02
SynthTrax & DJ Cheezus Livestreams
1 day agoFriday Night Synthwave 80s 90s Electronica and more DJ MIX Livestream 80s Night / Late Night Nostalgia
52K5 -
4:05:52
Nerdrotic
14 hours ago $25.76 earnedHollywood REGRET | Disney's Predator | The Feminist Avengers - Friday Night Tights 379
79.4K18