Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Can someone figure out why the boss isn't spawning
- toad_duzz
- Scratcher
38 posts
Can someone figure out why the boss isn't spawning
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!
- deck26
- Scratcher
1000+ posts
Can someone figure out why the boss isn't spawning
So which sprite and script are we looking at?
- MineTurte
- Scratcher
500+ posts
Can someone figure out why the boss isn't spawning
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.
Last edited by MineTurte (March 24, 2024 16:06:52)
15+ (not revealing age) girl. Pronouns are she/her.
Host of The Pi Counsel. Comment in studio to join.
Front-end web developer & software programmer. I use JS, HTML, & CSS. Learning python3 right now.
Grammar fanatic as well
If I helped you out consider following Juni-Bug!
Select this + shift + down arrow = view rest of signature
This is JuniperActias. AKA Moth mommy.
Signature gradients here
If you found this secret; reply with ‘uwu’ with absolutely no context
Host of The Pi Counsel. Comment in studio to join.
Front-end web developer & software programmer. I use JS, HTML, & CSS. Learning python3 right now.
Grammar fanatic as well
If I helped you out consider following Juni-Bug!
Select this + shift + down arrow = view rest of signature
This is JuniperActias. AKA Moth mommy.
Signature gradients here
If you found this secret; reply with ‘uwu’ with absolutely no context
- toad_duzz
- Scratcher
38 posts
Can someone figure out why the boss isn't spawning
hm lemme see
Last edited by toad_duzz (March 24, 2024 16:37:08)
- toad_duzz
- Scratcher
38 posts
Can someone figure out why the boss isn't spawning
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
Last edited by toad_duzz (March 24, 2024 16:42:34)
- MineTurte
- Scratcher
500+ posts
Can someone figure out why the boss isn't spawning
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?
15+ (not revealing age) girl. Pronouns are she/her.
Host of The Pi Counsel. Comment in studio to join.
Front-end web developer & software programmer. I use JS, HTML, & CSS. Learning python3 right now.
Grammar fanatic as well
If I helped you out consider following Juni-Bug!
Select this + shift + down arrow = view rest of signature
This is JuniperActias. AKA Moth mommy.
Signature gradients here
If you found this secret; reply with ‘uwu’ with absolutely no context
Host of The Pi Counsel. Comment in studio to join.
Front-end web developer & software programmer. I use JS, HTML, & CSS. Learning python3 right now.
Grammar fanatic as well
If I helped you out consider following Juni-Bug!
Select this + shift + down arrow = view rest of signature
This is JuniperActias. AKA Moth mommy.
Signature gradients here
If you found this secret; reply with ‘uwu’ with absolutely no context
- toad_duzz
- Scratcher
38 posts
Can someone figure out why the boss isn't spawning
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
Last edited by toad_duzz (March 24, 2024 17:16:14)
- toad_duzz
- Scratcher
38 posts
Can someone figure out why the boss isn't spawning
looks like I'll never find the solution
- fhytrfhytrfthytrtre
- Scratcher
14 posts
Can someone figure out why the boss isn't spawning
scratch
when green flag clicked
- deck26
- Scratcher
1000+ posts
Can someone figure out why the boss isn't spawning
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.
- Malicondi
- Scratcher
1000+ posts
Can someone figure out why the boss isn't spawning
Clones aren't the problem, you're never broadcasting boss fight so the boss never spawns.
post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.
coming soon :)
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.
coming soon :)
- toad_duzz
- Scratcher
38 posts
Can someone figure out why the boss isn't spawning
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?
- Discussion Forums
- » Help with Scripts
- » Can someone figure out why the boss isn't spawning