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.
-
22:45
Brewzle
14 hours agoI Went Drinking In A Real Bourbon Castle
25.9K3 -
48:36
PMG
1 day ago $1.87 earned"Parkland Parent Speaks Out On Kamala Harris Using Victims"
19.2K3 -
4:06
The Lou Holtz Show
12 hours agoCoach Lou Holtz’s Heartfelt Christmas Message 🎄 | Family, Faith & Notre Dame Spirit 💚 #christmas
14.5K -
51:35
Dr Steve Turley
1 day ago $17.95 earnedROSEANNE BARR - Her Journey, TRUMP, and the MAGA GOLDEN AGE! [INTERVIEW]
49.9K50 -
57:38
The Tom Renz Show
10 hours agoMerry Christmas - The Tom Renz Show Christmas
87.8K16 -
2:59:10
Wendy Bell Radio
21 hours agoThe Bridge Too Far
166K301 -
1:03:45
Donald Trump Jr.
1 day agoHappy Festivus: Airing Our Grievances and Stopping The Swamp w/Sean Davis | TRIGGERED Ep.201
426K546 -
1:30:30
Game On!
1 day ago $7.95 earnedTop 5 things you need to know for Sports Christmas!
74.3K5 -
1:58:10
Robert Gouveia
1 day agoMatt Gaetz REJECTS Report, Sues Committee; Luigi Fan Club Arrives; Biden Commutes; Festivus Waste
297K234 -
1:31:40
Adam Does Movies
1 day ago $16.33 earnedThe Best & Worst Christmas Movies! - LIVE!
117K8