Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » categorizing costumes?
- fireincarnate
-
100+ posts
categorizing costumes?
I'm making a scrolling platformer and when the player reaches the right side of the screen, next level. (this works because of a mechanism I made to stop scrolling when that part of the level comes on screen.)
so I was wondering how I could do that. help, please?
but the thing is, the ground sprite needs to know what the costumes of level 1 are so it doesn't do any others. I could just use lists, but I don't want to have to do the whole
thing.
so I was wondering how I could do that. help, please?
- 2millerjd
-
3 posts
categorizing costumes?
You could try having all the costumes for level 1 start with level 1. This way, if you want to call on the, you could do
Just make sure to put the join exactly how you spell it in the costume. I put a space, so I could name the costume with a space(level 1, 23).
- fireincarnate
-
100+ posts
categorizing costumes?
thanks! I'll try it, but in case it doesn't work, I will leave this topic open.
- fireincarnate
-
100+ posts
categorizing costumes?
now that project has a very bad bug, but I'm not sure if it was caused by that.
- fireincarnate
-
100+ posts
categorizing costumes?
by the way, it's
switch costume to (join (level 1,) (costume number)). observe:
- fireincarnate
-
100+ posts
categorizing costumes?
it seems to be caused by that, because when I undid that suggestion, the bug went away. now that project has a very bad bug, but I'm not sure if it was caused by that.
- Discussion Forums
- » Help with Scripts
-
» categorizing costumes?