Premium Only Content

No Game Engine Game Dev: Word Sleuth 030B: TextEdit Cursor and long word wrapping
Streamed on 2024-08-13 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
Sorry the stream cut short; my internet died. There is a part A.
I finally finished tracking down all the bookkeeping for cursor position with different text alignments. With that out of the way, I added a callback for Text to signal when the cursor positions have been updated and a small change to TextEdit to skip over windows end of line (\n\r) in a single key stroke.
With that out of the way, we added clipping to the cursor so it won't render outside the TextEdit area. This required a refactor that I wanted to do anyway. Instead of passing View-Projection matrix * localTransform down to child elements for rendering, we instead pass only the View-Projection matrix down to children and rely on worldTransform to apply all parent transforms. In the worst case this shouldn't be worse than what we had before, and in the general case it should be more efficient. Then it was similar shader work to what we did with Text clipping.
Next, I reworked my Makefile so we don't produce precompiled headers. I think the precompiled headers were causing more trouble in my build process then they were at saving time. We'll let this cook for a while, but I suspect we won't have to clean before building as often.
Lastly, I started on long word wrapping. This adds yet more bookkeeping to be done with counting characters and quads in the VertexBuffer and cursor positions. We got close, but there is still one open issue with the implementation that we'll wrap up next time.
-
LIVE
The Jimmy Dore Show
47 minutes agoNo FEMA Aid For States Boycotting Israel! RFK REVOKES Biden Era Vaxx Reporting Rewards!
4,096 watching -
LIVE
BonginoReport
2 hours agoCancel Culture is Officially Canceled - Nightly Scroll w/ Hayley Caronia (Ep.104) - 08/04/2025
5,866 watching -
1:17:41
Kim Iversen
1 hour agoLock Her Up! The Durham Appendix Proves Maybe They Should Have
22.9K37 -
LIVE
Dr Disrespect
7 hours ago🔴LIVE - DR DISRESPECT - WARZONE - RANDOMLY GENERATED LOADOUTS EVENT
2,370 watching -
37:07
Kimberly Guilfoyle
5 hours agoAmerica First Energy Revives Our Nation | Ep243
75K23 -
8:58
MattMorseTV
3 hours ago $0.74 earnedTrump just DROPPED the RECEIPTS.
13.4K15 -
UPCOMING
Robert Gouveia
1 hour agoDemocrats FAIL to APPEAR! Time for WARRANTS?? Victim Speaks Out! Habba FIGHTS!
6.1K -
13:49
Bearing
10 hours agoSydney Sweeny’s N@ZI Jeans?! 💥 Woke Crybabies MELT DOWN Over Pants 🤣
7.88K67 -
LIVE
Jamie Kennedy
11 hours agoControlled Collapse: How They Normalize the End of the World | Ep 216 HTBITY w/Jamie Kennedy WOF#44
93 watching -
LIVE
The Amber May Show
3 hours agoGlobal Peace, Pharma Shakeups & Historic Deals – w/ Andy Hooser
98 watching