Recently, I’ve been trying to create a code where a boss sends attacks that if the player touches the attacks or if the attacks reach the bottom of the screen, the player takes damage, but for some reason, it never works. So, how do I code something like that?
Can you show a link to your project? I would be happy to help create a health and damage script
UH sure I guess, but I deleted my script and the only thing my project has now is a glide loop
That’s fine. As long as you have a boss sprite and a player sprite
Here.
Does it drops squares onto the platform and the player?
I don’t know what that means I’m very sorry. But I basically deleted the drop attack program out of irritation, so no? I’m not sure what you mean. But it did do that, it just… didn’t make the damage effect
Sorry if I phrased that badly. What I mean is does the boss drop little square bombs onto the player? Because I want to code what YOU want so I can help
OHHH. Yeah it did, but when I tested it out, it just put the bombs on the player, and nothing happened. It glided through the player program lol
Alright! I’ll try making a few scripts for the boss fight and the player movement controls
Thanks. ![]()
I basically got carried away and kinda did more than just boss scripts and player scripts for the game….sorry…
But you can always change it up and add jumping and physics and such. Here it is Squareboss by mrace0 | Snap! Build Your Own Blocks
I’ll delete it from my saves and you can claim ownership. Again, sorry!
That’s fine! Thank you anyways ![]()