i tried to code something but it freeze when it got overlapped. it is in the b portal. is there anyways i could fix it?
The issue is the repeat block you have in the code. Creating 10000000 sprites all at once will freeze your game for sure!
Here’s an example of a way you could have the boss create projectiles periodically instead of all at once:
oh! i see it now. i’ll try it
it works but is there a way that the fireball can -1 health
1 Like
hello?
@codebott578 you want to add an overlap event between “player” and “fireball” and then inside that event destroy the fireball and decrement a life. Check out the “Space Destroyer” game on the home page which does something similar