Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Auto costume resizer (HELP NEEDED)
- GachaEnjoyer
-
82 posts
Auto costume resizer (HELP NEEDED)
So im getting tired of having to change the size of the costumes every time i make/add a new character so i want to make them change size automatically. Do you guys have any ideas? Note: This has to all be in one sprite
https://scratch.mit.edu/projects/1064550076/ heres the project
https://scratch.mit.edu/projects/1064550076/ heres the project
- GachaEnjoyer
-
82 posts
Auto costume resizer (HELP NEEDED)
Also I know that n that project there r useless variables, they r there bc I just dragged the inventory system from my wip game to it. So don't mind those
- GachaEnjoyer
-
82 posts
Auto costume resizer (HELP NEEDED)
I do have an idea where pretty much you create a box and if the costume is touching the box it decreases in size until it's no longer touching the box that way it perfectly fits. Only problem is that it has to be done in one sprite which idk how to do.
If there is a way to detect if ur touching a clone from the same sprite plz tell me how
If there is a way to detect if ur touching a clone from the same sprite plz tell me how
- Jlerpy
-
1000+ posts
Auto costume resizer (HELP NEEDED)
I do have an idea where pretty much you create a box and if the costume is touching the box it decreases in size until it's no longer touching the box that way it perfectly fits.
That's a clever idea!
Only problem is that it has to be done in one sprite which idk how to do.
Why does it need to be in one sprite?
If there is a way to detect if ur touching a clone from the same sprite plz tell me how
There is! While the current sprite won't appear in the menu of sprites when you put in a Touching block, you can make that Touching block in a DIFFERENT sprite, choosing the first sprite, then copy it into that first sprite, allowing it to check if it's touching its own clones.
- GachaEnjoyer
-
82 posts
Auto costume resizer (HELP NEEDED)
Can u give me an example i dont fully understand lolI do have an idea where pretty much you create a box and if the costume is touching the box it decreases in size until it's no longer touching the box that way it perfectly fits.
That's a clever idea!Only problem is that it has to be done in one sprite which idk how to do.
Why does it need to be in one sprite?If there is a way to detect if ur touching a clone from the same sprite plz tell me how
There is! While the current sprite won't appear in the menu of sprites when you put in a Touching block, you can make that Touching block in a DIFFERENT sprite, choosing the first sprite, then copy it into that first sprite, allowing it to check if it's touching its own clones.
- GachaEnjoyer
-
82 posts
Auto costume resizer (HELP NEEDED)
Oh i understand what u mean now. but that breaks the problem where it has to be done in one spriteI do have an idea where pretty much you create a box and if the costume is touching the box it decreases in size until it's no longer touching the box that way it perfectly fits.
That's a clever idea!Only problem is that it has to be done in one sprite which idk how to do.
Why does it need to be in one sprite?If there is a way to detect if ur touching a clone from the same sprite plz tell me how
There is! While the current sprite won't appear in the menu of sprites when you put in a Touching block, you can make that Touching block in a DIFFERENT sprite, choosing the first sprite, then copy it into that first sprite, allowing it to check if it's touching its own clones.
Last edited by GachaEnjoyer (Sept. 8, 2024 00:42:44)
- GachaEnjoyer
-
82 posts
Auto costume resizer (HELP NEEDED)
I almost got the idea. the problem is that its too laggy. idk how to fix it (Ima try to n the mean time)
- GachaEnjoyer
-
82 posts
Auto costume resizer (HELP NEEDED)
I fixed it (Im too smart)
Last edited by GachaEnjoyer (Sept. 8, 2024 03:24:44)
- Jlerpy
-
1000+ posts
Auto costume resizer (HELP NEEDED)
Oh i understand what u mean now. but that breaks the problem where it has to be done in one sprite
Once you've copied it over, you can delete the second sprite.
And you still haven't answered why you want it to be all in one sprite.
- Discussion Forums
- » Help with Scripts
-
» Auto costume resizer (HELP NEEDED)