No Game Engine Game Dev: Word Sleuth 097: Finishing the plant growing doodad

2 months ago
2

Streamed on 2024-12-10 (https://www.twitch.tv/thediscouragerofhesitancy)

Game Engines are for sissies!

Picking up where we left of yesterday ... the seed envelope would fly over the pots and turn upside down. I added a seed that falls from the envelope to the pot and disappears.

With a seed being planted in each pot, it was time to start maintaining plant state. I made an enumeration of the plant states and the process of "planting" updated that state from "Unplanted" to the first growing state. Clicking the sun or cloud after planting incremented the plant state. Every other state was marked to start an animation. Once the last state was reached, no state updates occur. This was tested by logging the state transitions to the console.

After that I just needed a plant growing animation, which I whipped up. Once done, I plugged in the animation stages to play the Sprite animations and it looked pretty good. There is room for two more animations, but I'll do the art for those off stream.

I found some sounds for rain, sunshine and planting an put them in the appropriate places. All-in-all it looks okay. And that is the last of the Chalkboard Doodads.

Loading comments...