In part 8 of this challenge, physics simulation was added so that Scarfy could walk on the terrain. Today, I'm going to add atmosphere with background music.
Tag: RayLib 2D Challenge
Part 7 of this challenge got a 2D camera working that smoothly tracks the player. Everything looks great until Scarfy walks too far in either direction.
Part 6 of the RayLib 2D Challenge got the 2D tile-map displaying, but scarfy could easily walk off the screen.
Good news! Tileson can now handle "collection of images" tile maps. At least, my version does. I've yet to share the changes back.
This is NOT what I was planning on writing. I was going to load the tile map created last time, so that Scarfy had a world to run around in.
So far, Scarfy has a title screen & menu, and can run and jump with sound effects. It's high time that a world is built for him to run around in.
The code was starting to get a bit complex, in part 2 of this challenge. Despite my efforts, code for different tasks were getting mixed.
I showed my wife the first RayLib challenge, and the first words out of her mouth were, "can he jump?" Uh, no. Scarfy can't jump.
Want More? Get our Newsletter...
Stay up-to-date with the latest news and information.