No Game Engine Game Dev: Word Sleuth 084: Finishing paper airplane doodad, starting a chalk doodad

3 months ago
4

Streamed on 2024-11-14 (https://www.twitch.tv/thediscouragerofhesitancy)

Game Engines are for sissies!

I started out today with the task of finishing the paper airplane doodad. I moved the code out of GameScene and into it own class. Then I made it so the plane could fly across the screen in either direction. I fiddled with some random ranges to ensure the plan flies across the screen at different heights and with different speeds. I computed the angle to have it just enter and leave the screen at the ends of the Animation.

With that in place I added a button to Settings so you can turn of Doodads. Testing against the airplane looks promising. This configuration option is persisted just like all the other settings.

After that I started implementing a new Doodad: one of a chalk drawing of a ball. It is bounded to stay on the ChalkBoard, but you can click and drag it around in that area. I started implementing some simple faux-physics for when you release it, but didn't have time to finish today.

Loading comments...