Can someone figure out why the boss isn't spawning
id: 749900
category: Help with Scripts
posts: 12
Mar 24, 2024 15:41:10
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
toad_duzz
loading
game link: the game i need help with
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Mar 24, 2024 16:05:57
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
deck26
loading
So which sprite and script are we looking at?
Mar 24, 2024 16:06:18
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
MineTurte
loading
the game i need help withOkay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should. game link:
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Hope this helps!
Edit: haha. wayyy ahead of you deck, lol.
Mar 24, 2024 16:36:16
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
toad_duzz
loading
hm lemme see
Mar 24, 2024 16:41:22
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
toad_duzz
loading
the game i need help withOkay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should. game link:
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Hope this helps!
Edit: haha. wayyy ahead of you deck, lol.[/quote
I made it like that on purpose because I don't want the enemies to start spawning until they pick up the pistol and when they do, the zombies can start spawning
Mar 24, 2024 16:46:50
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
MineTurte
loading
the game i need help withOkay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should. game link:
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Hope this helps!
Edit: haha. wayyy ahead of you deck, lol.
I made it like that on purpose because I don't want the enemies to start spawning until they pick up the pistol and when they do, the zombies can start spawning
Ah okay. Well then it should work?
Mar 24, 2024 17:10:15
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
toad_duzz
loading
the game i need help withOkay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should. game link:
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Hope this helps!
Edit: haha. wayyy ahead of you deck, lol.
I made it like that on purpose because I don't want the enemies to start spawning until they pick up the pistol and when they do, the zombies can start spawning
"Ah okay. Well then it should work?"
Nope, boss doesn't spawn
Mar 24, 2024 18:13:15
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
toad_duzz
loading
looks like I'll never find the solution
Mar 24, 2024 18:28:35
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
fhytrfhytrfthytrtre
loading
scratch
when green flag clicked
Mar 24, 2024 18:30:11
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
deck26
loading
Most likely cause is too many clones of other objects. Try setting up a new sprite which you can clone by pressing a key. What happens if you try to clone that sprite at the time you expect the boss to appear? If it doesn't appear either then you've probably hit the clone limit.
Mar 24, 2024 18:53:53
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
Malicondi
loading
Clones aren't the problem, you're never broadcasting boss fight so the boss never spawns.
Mar 24, 2024 20:25:48
Can someone figure out why the boss isn't spawning
view on scratch
view on legacy ocular
toad_duzz
loading
Clones aren't the problem, you're never broadcasting boss fight so the boss never spawns.
If you look at the spawning script, it broadcasts boss fight 130 seconds into the game. But for some reason it isn't. I don't think it's hitting the clone limit. Is there another way to broadcast it that would work?