Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to get past size limit?
- Piggieman123
-
Scratcher
63 posts
How to get past size limit?
I want an image to size up to where the only thing you can see is the door of the house. The problem is however, the house that's being sized caps at 204 ( the normal being 100 ) I want it go get bigger than that, is there some way to do it other than cropping out the outside? ( Tried it once before, didn't go well )
- mstone326
-
Scratcher
1000+ posts
How to get past size limit?
There is a trick for this. You can add a new costume for your house sprite. make it a tiny dot. Then set the size of the tiny dot to 500. When you switch costume back to the house it will be bigger than you can normally make it
- Piggieman123
-
Scratcher
63 posts
How to get past size limit?
i'd like it to be hidden though, I don't want anyone seeing nothing for a split second…
- deck26
-
Scratcher
1000+ posts
How to get past size limit?
i'd like it to be hidden though, I don't want anyone seeing nothing for a split second…Scratch will switch costumes quickly enough that you won't see the intermediate stage.
- KingOfAwesome58219
-
Scratcher
1000+ posts
How to get past size limit?
switch costume to [tiny dot v] // I believe the costume can also just be blankThis script will run in between screen refreshes. Be aware that changing the size to a number that is still bigger than the max size of the sprite again while the ‘house’ costume is selected will reset the size to 204.
set size to (500)
switch costume to [house v]
You can also use a custom block with the “Run without screen refresh” option checked,
- Piggieman123
-
Scratcher
63 posts
How to get past size limit?
Still though, i want the house to keep increasing in size.
https://www.youtube.com/watch?v=k55FYtqtXXU
I want the house to do that.
https://www.youtube.com/watch?v=k55FYtqtXXU
I want the house to do that.
- deck26
-
Scratcher
1000+ posts
How to get past size limit?
No reason why you can't do so using the trick described. You'll need two copies - either two sprites or sprite+clone - but as long as you switch to the dot costume for the size increase it should work.
- EMS_Dev_Crew
-
Scratcher
1 post
How to get past size limit?
just do
before doing it I would recommend using a test sprite before using this line of code, just in case
when green flag clicked
forever
switch costume to [blank v]
set size to (size of your choice) %
switch costume to [costume of your choice v]
end
before doing it I would recommend using a test sprite before using this line of code, just in case

- Piggieman123
-
Scratcher
63 posts
How to get past size limit?
just dod… dude this post is 3 years oldwhen green flag clicked
forever
switch costume to [blank v]
set size to (size of your choice) %
switch costume to [costume of your choice v]
end
before doing it I would recommend using a test sprite before using this line of code, just in case

- Discussion Forums
- » Help with Scripts
-
» How to get past size limit?