Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Doors - In Scratch
- Spaceboygamecreator
- Scratcher
4 posts
Doors - In Scratch
I have a major problem that started occurring sometime right before I began development on the item system in my Doors game. Closets and items will not spawn for some reason the moment I reach door 8. Even if i go back, they have completely stopped working and I’ve tried looking through all my code. Does anyone know what’s going on? Here is the link to the alpha project: https://scratch.mit.edu/projects/992002292
- invalidaccess
- Scratcher
69 posts
Doors - In Scratch
yeah i see the problem now
for some reason when you pass the 6th door your clone count goes up to 300 which is the max value you can get in scratch
it's probably your clones cloning themselves too
for some reason when you pass the 6th door your clone count goes up to 300 which is the max value you can get in scratch
it's probably your clones cloning themselves too
- invalidaccess
- Scratcher
69 posts
Doors - In Scratch
if you're not able to see your clone count you can download a scratch addon
i also use one
i also use one
- Spaceboygamecreator
- Scratcher
4 posts
Doors - In Scratch
Oh, thanks. I definitely need to get some scratch extensions so that I can catch stuff like that before I waste a ton of time trying to figure out what it is. Thanks a lot!
- Spaceboygamecreator
- Scratcher
4 posts
Doors - In Scratch
Found it. The “Drawers” sprite (currently unused since the item system in not done yet) was basically a barebones copy of the closet sprite, other than the fact that it DIDNT DELETE ITS CLONES. So while everything else was deleting and organizing as they were supposed to, my oversight cause the drawer sprite to make invisible clones that took up useless storage.
when I receive [ help]
say [hooray]
Last edited by Spaceboygamecreator (March 30, 2024 21:32:22)
- MrKingofScratch
- Scratcher
100+ posts
Doors - In Scratch
Did you figure out how to fix the issue?
If not, I think I have a few ideas.
If not, I think I have a few ideas.
- Discussion Forums
- » Help with Scripts
- » Doors - In Scratch