Discuss Scratch

IDPFera
Scratcher
100+ posts

How do you stretch a sprite?

I'm making a new 3D engine for my new game. I need to figure out how to stretch a sprite (Or more specifically, it's clones) in game, without changing the costumes. Is there a way to do so?

When I mean stretch, I mean make it larger on the X axis but not the Y axis, or vice versa.
Scratch_Mapping
Scratcher
100+ posts

How do you stretch a sprite?

You can't. They were removed.
changestretchbysetstretchto%

Last edited by Scratch_Mapping (Nov. 15, 2016 20:05:41)

IDPFera
Scratcher
100+ posts

How do you stretch a sprite?

Scratch_Mapping wrote:

You can't. They were removed.
changestretchbysetstretchto%

Is there a way to do so WITHOUT those blocks?
Scratch_Mapping
Scratcher
100+ posts

How do you stretch a sprite?

IDPFera wrote:

Scratch_Mapping wrote:

You can't. They were removed.
changestretchbysetstretchto%

Is there a way to do so WITHOUT those blocks?
These are supposed to be used on some projects, but they do not work anymore
IDPFera
Scratcher
100+ posts

How do you stretch a sprite?

Scratch_Mapping wrote:

IDPFera wrote:

Scratch_Mapping wrote:

You can't. They were removed.
changestretchbysetstretchto%

Is there a way to do so WITHOUT those blocks?
These are supposed to be used on some projects, but they do not work anymore

So is there a way to get the same effect without those blocks?
Scratch_Mapping
Scratcher
100+ posts

How do you stretch a sprite?

Just scale them
IDPFera
Scratcher
100+ posts

How do you stretch a sprite?

Scratch_Mapping wrote:

Just scale them

How do I scale a sprite? Does it only affect it's size on one axis, because if it's just the same as changing the size, that's not what I need.
cs395875
Scratcher
100+ posts

How do you stretch a sprite?

Or successfully lobby to add the stretch blocks on scratch.
IDPFera
Scratcher
100+ posts

How do you stretch a sprite?

But how do I scale them?
gtoal
Scratcher
1000+ posts

How do you stretch a sprite?

the only way is to reduce the sprite to thin strips and scale the strips. More effort than it is worth, especially with the scratch feature/restriction/bug about minimum width of a scaled sprite. (If that doesn't mean anything to you now, it will after you've played with this stuff)
amylaser
Scratcher
500+ posts

How do you stretch a sprite?

IDPFera wrote:

But how do I scale them?

Well, like others have said, you unfortunately can't (but hey, why not suggest it? Dunno why they removed it… Stretching is so useful). Unless you manually edit the costumes, break the sprite into strips (as gtoal said), or use mods, which aren't officially supported. Yeah… This is why most 3D projects tend to use pen.

Last edited by amylaser (Nov. 15, 2016 23:01:47)

MyRimag
Scratcher
53 posts

How do you stretch a sprite?

Meanwhile in 1.4….
whenclickedforeverstretch1
2.0……
whenclickedforeverundefined1
VintageAura
Scratcher
100+ posts

How do you stretch a sprite?

Yes. Also, check the post date before you necropost and make your own topic
The reason why you shouldn't necropost is because the people mentioning it have probably already figured it out or forgotten about it.
danger695
Scratcher
100+ posts

How do you stretch a sprite?

Why did Scratch have to remove the stretch block?

whenclickedforevergoto random position
PoIygon
Scratcher
1000+ posts

How do you stretch a sprite?

danger695 wrote:

Why did Scratch have to remove the stretch block?

whenclickedforevergoto random position

VintageAura wrote:

Yes. Also, check the post date before you necropost and make your own topic
The reason why you shouldn't necropost is because the people mentioning it have probably already figured it out or forgotten about it.
danger695
Scratcher
100+ posts

How do you stretch a sprite?

Yes, I am creating a game that uses tesla coils and I was thinking of a way to make it stretch from one tesla to the other, despite the fact that the player decides where the teslas go.
whenclickedsay:( no more stretch blockfor2secs

Last edited by danger695 (Jan. 17, 2021 16:52:46)

danger695
Scratcher
100+ posts

How do you stretch a sprite?

I made a very simple version, but the problem is the width changes too: https://scratch.mit.edu/projects/482617765/
franklynbensley
Scratcher
4 posts

How do you stretch a sprite?

danger695 wrote:

I made a very simple version, but the problem is the width changes too: https://scratch.mit.edu/projects/482617765/
The page doesn't load on scratch, but I went on forkphorus and it doesn't work. The only thing it does is that it points towards the mouse-pointer.
science_raja
Scratcher
28 posts

How do you stretch a sprite?

Make costumes i guess of an animation of it stretching

Powered by DjangoBB