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.
-
16:30
Stephen Gardner
2 hours ago🚨OVAL OFFICE EXPOSES TRUMP TAKEOVER – FILIBUSTER NUKED!
8.73K15 -
1:34:03
Redacted News
3 hours agoBREAKING! CIA FURIOUS & EMERGENCY WHITE HOUSE MEETING - ISRAELI SPY CAUGHT MEETING WITH AMB HUCKABEE
113K106 -
1:22:06
vivafrei
4 hours agoCFIA Goes After a REFUGE? Charlie Kirk Missing Evidence "Uncovered"? Democrats are Epostein Simps!
119K56 -
1:44:33
The Quartering
5 hours agoTrump Calls For Hangings, McDonalds SNAP Controversy, The Demonic Relationship In Wicked & More
146K65 -
21:40
Bitcoin Policy Institute
7 hours agoCongressman Warren Davidson Unveils the “Bitcoin for America Act” | Spotlight Series #1
27.1K -
LIVE
LFA TV
21 hours agoLIVE & BREAKING NEWS! | THURSDAY 11/20/25
1,049 watching -
LIVE
freecastle
8 hours agoTAKE UP YOUR CROSS- Let your eyes LOOK directly FORWARD, and your gaze be STRAIGHT before YOU!
26 watching -
1:25:51
DeVory Darkins
6 hours agoDemocrats caught in corruption scheme as JD Vance issues MAJOR UPDATE
155K76 -
1:48:48
MattMorseTV
6 hours ago $41.25 earned🔴Sedition Charges INBOUND.🔴WH Press Conference.🔴
69K176 -
9:06
Jamesons Travels
22 hours ago $5.39 earnedMilitary Veterans in Congress Tell Troops to Refuse Trump's Orders
39.1K62