Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Streching sprites from the center
- DeeanS
-
Scratcher
6 posts
Streching sprites from the center
I know how to stretch sprites using
EDIT: this is to visually flip a card
change [Fisheye v] effect by (25)(I learned it from a griffpatch video) but that method stretches sprites from one side of the costume, I was wondering how you do it from the center?
EDIT: this is to visually flip a card
Last edited by DeeanS (Sept. 17, 2025 11:51:17)
- 10goto10
-
Scratcher
1000+ posts
Streching sprites from the center
The fisheye effect used in this project https://scratch.mit.edu/projects/724572252 looks like it is stretching from the center.
I'm not sure if this technique is usable in a project but its an interesting effect.
I'm not sure if this technique is usable in a project but its an interesting effect.
- DeeanS
-
Scratcher
6 posts
Streching sprites from the center
The fisheye effect used in this project https://scratch.mit.edu/projects/724572252 looks like it is stretching from the center.Is there a simpler way to do this? the code looks really complicated
I'm not sure if this technique is usable in a project but its an interesting effect.
- 10goto10
-
Scratcher
1000+ posts
Streching sprites from the center
The other technique that I've seen and used once was to digitize the sprite and draw it dot by dot. In my project several sprites start out very thin and then slowly expand. But it's also a complex process.
The most common solution is to just make a set of costumes that have the individual stretched steps. That never turns out well for me and I'm hoping that the Scratch Team adds a stretch block.
This might not be the place for this but I have made projects using the stretch block in Snap and I would use it in Scratch if they provided one.
Part One
Part Two
Part Three
The reason that I mention this is that sometimes we hit the ceiling with Scratch and have to go elsewhere in order to follow an idea to make something.
The most common solution is to just make a set of costumes that have the individual stretched steps. That never turns out well for me and I'm hoping that the Scratch Team adds a stretch block.
This might not be the place for this but I have made projects using the stretch block in Snap and I would use it in Scratch if they provided one.
Part One
Part Two
Part Three
The reason that I mention this is that sometimes we hit the ceiling with Scratch and have to go elsewhere in order to follow an idea to make something.
Last edited by 10goto10 (Sept. 17, 2025 01:52:07)
- DeeanS
-
Scratcher
6 posts
Streching sprites from the center
The other technique that I've seen and used once was to digitize the sprite and draw it dot by dot. In my project several sprites start out very thin and then slowly expand. But it's also a complex process.Is there a way to do this while keeping the quality of the sprite? by the way I want to use this to flip a card in a scratch game I'm making
The most common solution is to just make a set of costumes that have the individual stretched steps. That never turns out well for me and I'm hoping that the Scratch Team adds a stretch block.
This might not be the place for this but I have made projects using the stretch block in Snap and I would use it in Scratch if they provided one.
Part One
Part Two
Part Three
The reason that I mention this is that sometimes we hit the ceiling with Scratch and have to go elsewhere in order to follow an idea to make something.
- DeeanS
-
Scratcher
6 posts
Streching sprites from the center
Actually how does it work is what I meant to ask, this is because it is easier to code it when you know how it works/ how toThe fisheye effect used in this project https://scratch.mit.edu/projects/724572252 looks like it is stretching from the center.Is there a simpler way to do this? the code looks really complicated
I'm not sure if this technique is usable in a project but its an interesting effect.
Last edited by DeeanS (Sept. 17, 2025 11:52:43)
- DeeanS
-
Scratcher
6 posts
Streching sprites from the center
The fisheye effect used in this project https://scratch.mit.edu/projects/724572252 looks like it is stretching from the center.I have tried replacing the sample costume with the ones I will be using but it seems to be becoming off center
I'm not sure if this technique is usable in a project but its an interesting effect.
- DeeanS
-
Scratcher
6 posts
Streching sprites from the center
Also the reason I am not willing to use multiple costumes to strech a sprite is because I need to strech a sprite with over 52 costumes and it was already painful making said costumes since it wasn't like just different colors and they were all unique, I'm gonna do it anyways now.
- Discussion Forums
- » Help with Scripts
-
» Streching sprites from the center