I’m making a side-scroller, and I want to fight multiple of the same type of enemy. Like a goomba, or a husk from hollow knight. But everytime I kill just one of them, they all die. Suggestions? Here’s my code:
Bruh, you’re using the dawg Mailbox, which sends the signal to all enemies, letting them dead at the same time. You should use an object that is used for “slash” or “shoot” depending on which weapon for player character use, so enemies won’t die at the same time.
Thanks! That worked great. I’m still very new to Flowlab, so I’ll take all the help I can get.
Hm. I fixed the issue but now the knock back system doesn’t work. Before I changed the mailbox to object variable, the enemy’s would get knocked backwards, now they only get knocked upwards. Ideas?
The “Forward” input overwrites the x and y values.
So using forward before Y will make it only jump upwards, and vice versa.
I suggest to use the X input and flip the value from positive and negative depending on what direction they are facing.
Also could you also leave a link to the game if you have further issues?
Even the X input doesn’t work, here’s the Link: Aetherfall - Flowlab Game Creator