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.
- 	
				
							21:38
								Professor Nez
19 hours agoTrump JUST BROKE the INTERNET with SAVAGE Line on Ilhan Omar!
31K25 - 	
				
							1:17:52
								Dialogue works
3 days ago $6.24 earnedMartin Armstrong: This Is How World War III Starts… And It Already Has
17.4K14 - 	
				
							38:16
								daniellesmithab
3 days agoAlberta Update: Getting Kids Back to the Classroom
13.7K9 - 	
				
							20:48
								BlaireWhite
5 days agoTrans TikTokers Are Crashing Out (Over Nothing)
13.7K5 - 	
				
							2:07:06
								Side Scrollers Podcast
20 hours agoHasan Piker CAUGHT LYING AGAIN + Twitch URGES LEFTIST IDEOLOGY + More | Side Scrollers
61.1K10 - 	
				
							8:40
								MattMorseTV
16 hours ago $8.19 earnedSchumer just KICKED OFF the Left-Wing CIVIL WAR.
16.3K28 - 	
				
							21:39
								Nikko Ortiz
2 days agoI Take A North Korean Shooting
21.1K5 - 	
				
							1:46:26
								The Michelle Moore Show
19 hours ago'The Religion Invasion In the U.S. and the Deep State Agenda' Guest, Mark Taylor: The Michelle Moore Show (Nov 3, 2025)
26.5K33 - 	
				
							LIVE
								TruthStream with Joe and Scott
5 days agoSovereign Codes & Cosmic Infrastructure,Ufo's, UAP's, Monads, Matrix Satellites, Interstellar Visitors, SYRONA #505
397 watching - 	
				
							LIVE
								Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
150 watching