Premium Only Content

No Game Engine Game Dev: Word Sleuth 050: More bugs, tech debt and loose ends
Streamed on 2024-09-17 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
OBS ate my recorded file, so I had to download the Twitch vod.
There were two items of technical debt that we addressed today. Generally, I consider tech debt to be items that I didn't like when I wrote them, but I used them to get over a hump on some other feature, knowing I had to come back later to fix/cleanup/improve.
The first was shader explicit uniform locations. I really like this feature, but early on I decided to limit myself to OpenGL 3.3 core and this meant I had to use an extension. At the time I just did it, but the extension violates my limit on versions. So I removed it today and replaced it with an array of locations that are looked up once and cached per shader program. Also, there are no string hash lookups to do so. This did require me to update my asset pipeline for shader code. I am pretty happy with what we ended up with, although the explicit uniform locations is definitely better. In game #2 on my roadmap I'll relax the self imposed OpenGL limitations and do more play in that area.
The second was screen space scaling. Up until now it was just copy/paste from one scene to another, and them some of the scale computations were using different reference sizes to scale up/down from. I put the basic computations in Renderer and refactored everything else to just use that. It gave me the opportunity to change some data types at the same time (int to double) where I was truncating positional/size information.
-
8:54:32
Turning Point USA
23 hours agoSAS IS LIVE! Brett Cooper, Tulsi Gabbard, Greg Gutfeld, Russell Brand and more... in Tampa, FL!
1.72M157 -
2:29:31
Mally_Mouse
18 hours agoSpicy BITE Saturday!! - Let's Play!
87.1K7 -
11:52
Exploring With Nug
1 day ago $12.65 earnedUnderwater Search for Missing Person Finds Sunken ATV in Lake!
104K4 -
50:54
Russell Brand
20 hours agoLIVE at Student Action Summit - Let’s Talk Power, People, and Possibility!
190K57 -
22:23
MYLUNCHBREAK CHANNEL PAGE
1 day agoA Little Season
99.4K144 -
43:45
On Point Politics
20 hours ago $7.63 earnedStudent Action Summit - 2025 Current Events Panel | Featuring Red Eagle, Alex Stone, Monsieur Z
79.2K12 -
1:12:39
Jeff Ahern
20 hours ago $9.82 earnedThe Saturday Show with Jeff Ahern
69.4K21 -
23:54
Tactical Advisor
20 hours agoAll Carbon Fiber Rifle | Vault Room Live Stream 032
73.6K17 -
47:09
Vince Dao
21 hours ago $22.13 earnedFed Chair, Pam Bondi Consider RESIGNING as Trump Scores MAJOR Economic and Immigration Victories
81.1K44 -
47:41
Michael Franzese
1 day agoI Don’t Believe the Epstein Case Is Closed — Here’s Why
81.8K191