Hello! I have fixed some things with the help of @shakao I am wondering if there is any way to destroy only the enemy cat thats health bar is level 0? Since they are just dupicates of each other once 1 is destroyed, all of them are. If you could help that´d be fantastic! : )
NEW LINK
*You can only defeat the enemies by holding ¨B¨ down, Glitches when you jump/fall while pressing left
And yes, you can totally destroy the enemies - in the status bar extension, there is an event “on status bar kind _____ zero _____”, which will give you a status bar when it’s at zero! Since you structured it well for this (having EnemyHealth and Health be different kinds), you can just destroy the sprite attached to the status bar (another block found in the status bar extension).
Here is what I did in your game, it worked for me, but you can try it out! Lemme know if it doesn’t work for you or if you have other questions
Hmmm there are different ways to do it depending on what rules you want to set for when the other cats will spawn. If:
You want to spawn them one after another, but only when the hero walks behind a bush:
you should add a boolean variable that is true when an enemy already exists in the world. You should check this in your overlaps code, and set it to false when the enemy is destroyed
Scratch. I like certain things that it has that Makecode doesn´t but I like how Makecode is 8-bit. One feature that Scratch has that I wish Makecode had is the ¨backpack¨. It allows you to take code/sprites from one project to another