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.
-
LIVE
VapinGamers
3 hours ago $0.07 earnedDestiny 2 - Star Wars Renegade Lightsabers Oh My! - !rumbot !music
103 watching -
2:13:17
TheSaltyCracker
4 hours agoPipe Bomb Bull Sh*t ReeEEStream 12-05-25
70K162 -
LIVE
DannyStreams
2 hours agoBF the WZ
13 watching -
LIVE
Finfante
2 hours ago*Interactive Stream* Something is WRONG. (Dane Jonson). | LIVE INDIE HORROR NIGHT
26 watching -
21:51
DBoss_Firearms
9 hours agoHeaded to The Gathering with some friends!
19 -
58:48
Flyover Conservatives
22 hours agoUnmasking Antifa: Inside the Red–Green Revolution Aimed at the U.S. Constitution - Kyle Shideler | FOC Show
9.01K26 -
55:26
Sarah Westall
3 hours agoJobs Losses Hit the Millions, Real Estate Nightmare, Repo Markets, & more w/ Andy Schectman
14.9K7 -
1:32:12
Glenn Greenwald
8 hours agoGlenn Answers Your Questions on an Un-American Candidate in TX, Escalating War with Venezuela, Trump's Loyalty to Miriam Adelson, and More | SYSTEM UPDATE #554
101K56 -
3:49
Gamazda
7 hours ago $0.06 earnedABBA - Dancing Queen (Piano)
22K16 -
1:03:20
BonginoReport
6 hours agoCNN’s Colorblindness Strikes Again! - Nightly Scroll w/ Hayley Caronia (Ep.191)
121K38