Premium Only Content
No Game Engine Game Dev: Word Sleuth 020: Fallout from transform updates, start batch texture quads
Streamed on 2024-07-24 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
Yesterday's changes for the new transform stuff led to several points of refactoring. I made the Affine base class take ownership of rectangles, updated all of the "contains point" testing, and nothing Affine related affects the vertex buffer unless implemented that way by a child class. I also finally looked up how to pronounce Affine, so that was my learning for the day.
This refactor had everything looking pretty good. There are still some loose ends to tackle, but everything is rendering fine. At the end of the day we even scaled and rotated a spin box to prove that everything was right in the world and it was.
Then I saw the change level animations and was sad. After some debugging, we found that Rect was using int and a small incremental animation like we were attempting was accumulating a lot of error when the float was being truncated. We changed Rect to use floats and all was well with the world once more. It actually raises the question of how this animation ever worked before now!
At long last I had some time to tackle some low-hanging fruit: I put our test code into a Sandbox scene, cleaned up the About scene, and added an empty Highscores scene for later use.
With all that out of the way, it was time to start implementing batched texture quads. We copy/pasted our way through the first pass and got textures to show up on the screen in our Sandbox. Lots of work still to be done here, but we have a fulcrum to lever against now.
-
1:01:17
The StoneZONE with Roger Stone
2 hours agoChristmas Edition: Why the Panama Canal is Part of the America First Agenda | The StoneZONE
3.3K4 -
LIVE
LFA TV
12 hours agoLFA TV CHRISTMAS EVE REPLAY
725 watching -
LIVE
tacetmort3m
20 hours ago🔴 LIVE - THE ZONE KEEPS PULLING ME BACK - STALKER 2 - PART 15
165 watching -
22:45
Brewzle
9 hours agoI Went Drinking In A Real Bourbon Castle
2711 -
48:36
PMG
1 day ago $0.06 earned"Parkland Parent Speaks Out On Kamala Harris Using Victims"
4171 -
4:06
The Lou Holtz Show
8 hours agoCoach Lou Holtz’s Heartfelt Christmas Message 🎄 | Family, Faith & Notre Dame Spirit 💚 #christmas
63 -
51:35
Dr Steve Turley
1 day ago $14.43 earnedROSEANNE BARR - Her Journey, TRUMP, and the MAGA GOLDEN AGE! [INTERVIEW]
35.4K49 -
57:38
The Tom Renz Show
6 hours agoMerry Christmas - The Tom Renz Show Christmas
73.9K15 -
2:59:10
Wendy Bell Radio
16 hours agoThe Bridge Too Far
154K289 -
1:03:45
Donald Trump Jr.
1 day agoHappy Festivus: Airing Our Grievances and Stopping The Swamp w/Sean Davis | TRIGGERED Ep.201
416K536