Premium Only Content
![No Game Engine Game Dev: Word Sleuth 020: Fallout from transform updates, start batch texture quads](https://1a-1791.com/video/s8/1/T/N/W/2/TNW2s.qR4e-small-No-Game-Engine-Game-Dev-Wor.jpg)
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:50:47
The Quartering
3 hours agoElon Musk's 13th Baby, Trump Attends Daytona 500, and Ramaswamy Enters the Ohio Governor's Race
39.3K13 -
1:28:04
Russell Brand
3 hours agoBREAKING: UK Troops To Ukraine | Zelensky Wants “Army Of Europe” | JD Vance SLAMS EU Tyranny – SF538
92.4K37 -
1:46:20
Benny Johnson
4 hours agoPANIC: Feds FLEE DC After Mass PURGE, Fired USAID Activists EXPOSED | Trump DOMINATES Daytona 500
96.5K93 -
1:58:43
The Charlie Kirk Show
3 hours agoCBS Steps In It + Hockey Brawl + Judicial Standoff | Yoo, Schlapp, BigTree | 2.17.2025
85.3K25 -
1:01:26
The Dan Bongino Show
6 hours agoTrump Is Cancelling DEI And Cancel Culture (Ep. 2424) - 02/17/2025
690K1.45K -
1:06:12
Timcast
5 hours agoDemocrat Swamp IMPLODES, CBS Runs DAMAGE Control For Democrats, Gets ROASTED By Elon | Timcast LIVE
127K159 -
2:00:58
RealAmericasVoice
11 hours agoWAR ROOM WITH STEVE BANNON AM EDITION
104K20 -
2:59:47
Wendy Bell Radio
10 hours agoAmerica Drops The Gloves
105K59 -
1:22:27
Steven Crowder
6 hours agoGeorge Washington, Our First President | 3 in 3 Special
296K201 -
1:03:57
Kyle Fortch
6 hours ago $1.44 earnedDJ Chill: DJing For Jelly Roll, SOLD OUT Tour, Performing at Hometown Arena | THE ONE SHEET S1E4
47.5K3