Premium Only Content

No Game Engine Game Dev: Word Sleuth 052: Sprite animation
Streamed on 2024-09-19 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
Today we started the last major feature: Sprite animation. There are two paths we could have taken, so of course we took both.
1) An array of textures
2) An array of UV coordinates into a single texture
I started by updating the asset pipeline to handle the sprite sequences a bit better. Once we were able to get all the data we needed from the ImageWarehouse it was time to create the thing itself. It is basically a texture quad, an array of "frames" (either of textures or of UVs), an EggTimer to let us know when to change the image, and in no time at all we had a spinnning coin animation.
There was a step to make things more robust and developer (me) friendly. Then it was on to adding some bells and whistles. At the end of a sequence it can take several actions: Stop (leaving the last image visible), Reset (Stop and show the first image), Repeat (start back over at frame 0) and Reverse (keep going, but count down from the current frame back to 0). On top of that I added a loop counter, so it will keep playing through with an implicit Repeat at the end of each collection of end-of-sequence actions until the loop count is reached.
There are only a couple of loose ends I want to tackle on Monday, then we will move on to the polishing phase.
-
10:56
Nicholas Bowling
18 hours ago $0.86 earnedBisexual “Christian” CONFRONTS Preacher on College Campus!
4.36K8 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 9/17/2025
172 watching -
9:50
Red Pill MMA
20 hours agoCandace Owens Exposes What Really Happened With Charlie Kirk!
5.04K18 -
LIVE
The Bubba Army
22 hours agoState of Utah Wants Tyler Robinson DEAD! - Bubba the Love Sponge® Show | 9/17/25
1,868 watching -
30:29
DeVory Darkins
1 day ago $10.08 earnedtroubling FBI report details the shooter left chilling note as more Democrats suffer humiliation
23.1K120 -
LIVE
FyrBorne
2 hours ago🔴Fyr Takes On Borderlands 4 (First Impressions) #2KPartner #VaultNetwork
126 watching -
1:11:26
Coin Stories with Natalie Brunell
22 hours agoBRICS Nations Hold the Leverage (and Gold) and Why Bitcoin Price Isn’t Higher with Luke Gromen
90.2K4 -
1:50:29
Tucker Carlson
9 hours agoTucker Carlson LIVE: America After Charlie Kirk
383K382 -
2:12:05
FreshandFit
9 hours agoIf She Can Do Better She Will Leave You
50.7K18 -
2:14:00
Inverted World Live
11 hours agoLegion of Zoom | Ep. 109
223K13