Day 7 & 8
On Day 7, I worked out getting the various bloons implemented. I very quickly just copy/pasted the red bloon I had already made and changed them to their appropriate colors, except for the green bloon which had already been created by my son. These sprites are temporary. I like to focus more on functionality first before going in on the art. Why spend time drawing something, which I am not great at, only to find out something functionally doesn't work?
I got the waves data from the bloons wiki and made a script that returns the current wave's data. I made a spawn_queue array, which gets filled with all of the bloon types that are going to get spawned. So if there's 30 red bloons, the array will be 30 long, with a redbloon in each index. To randomize the spawn, I shuffle the array. When the start round button (also added!) gets pressed, the last bloon in the queue gets popped and spawned. I also randomized the spawn time slightly.
On Day 8, I updated the UI to better match the original game. I made the different sections for the HUD in GIMP and imported them into GameMaker. I learned how to use different fonts and do text alignment in GameMaker. I got the descriptions and speed descriptions for each tower from the wiki and added those in as well. The upgrade UI hasan't been started yet. I do plan on doing that soon. I still haven't quite fine-tuned the tower stats yet. I noticed the Start Button changes colors in the game. I am not sure if I will replicate that or not just yet. It's a minor detail so it's not high on my list of things to do.
The bloon immunities were added in as well so now frozen bloons only take damage from bombs and then the bombs don't damage black bloons.
I had some mid-game collision issues with the towers when they rotated. I ended up creating a 28x28 circle and set that to be each tower's collision mask. With the 8x8 snap to grid, this works out pretty well and still keeps the towers from overlapping, but lets you place them regardless of their rotation.
Monkey Defense Madness
Status | In development |
Author | murvkins |
More posts
- Day 6Mar 07, 2025
- Day 5Mar 06, 2025
- Day 4Mar 05, 2025
- Day 1 ProgressMar 04, 2025
- Day 3Mar 04, 2025
Leave a comment
Log in with itch.io to leave a comment.