Discuss Scratch

k7e
Scratcher
1000+ posts

Changing Width and Height Separately

Workaround.

@mythoslore was so much more obvious than @spookily
TheEpikGamer211
Scratcher
1000+ posts

Changing Width and Height Separately


epicanna27 wrote:

We already have a block that will change the size of a sprite:
change size by (1)
But is this alone what we need?
I'm proposing we switch “size” to a drop-down box that says “size, width, height” instead.
This way we could choose to change the width and height separately, or just use size to change them both.
These three blocks below are what I'm picturing.
change [size v] by (1) :: looks
change [width v] by (1) :: looks
change [height v] by (1) :: looks
Of course, we'd need to make two new variables:
(size)
(width :: looks)
(height :: looks)

And unlike my previous “Online and Offline Blocks” idea, I put thought into this. I even came up with it while I was watching an animation that clearly needs the “width” block! It showed a sprite becoming wider and wider. The current only way to do this is to make a bunch of costumes, and unless you spend an unnecessary amount of time animating it, it'll be pretty chunky. That's what happened in the animation. But because it's easy to create something that appears smooth with the existing size block, if we made it work for width and height, we could make lots more things smooth.
Hard support.

Epik gamer 211. Proud inventor of GTTSTES.
im workng on
sc (then SBOX)
GTTSTES 1.3
when (::ff0000) horribly misclicked and pressed @greenFlag instead.:: hat :: events 
Summon Evil Kumquats using (((((((((((((:D):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion :: motion)
medians
Scratcher
1000+ posts

Changing Width and Height Separately

K:
([size v] of [sprite v])
([width v] of [sprite v])
([height v] of [sprite v])

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
som0307
Scratcher
1 post

Changing Width and Height Separately

VoltageGames wrote:

No support.
For what purpose would I stretch out my sprite in one direction for?
So it can look cruddy?
To make a health bar that stretches to one side to indicate health
medians
Scratcher
1000+ posts

Changing Width and Height Separately

Bringing this topic up.

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
56-s
Scratcher
500+ posts

Changing Width and Height Separately

medians wrote:

Bringing this topic up.
“Bring up my post” (Bump)

EDIT: anyway let's get on topic

Last edited by 56-s (Sept. 24, 2023 17:49:23)


Scratch blocks version detector:
you are using: :: hat custom
1 ( :: #ff6881) ( :: #ff6881) ( :: #ff6881) ( :: #632e9a) ( :: #632e9a) ( :: #632e9a) :: custom
2 ( :: custom) ( :: custom) ( :: #ff6881) ( :: custom) ( :: custom) ( :: #632e9a) :: custom
3 ( :: #ff6881) ( :: #ff6881) ( :: #ff6881) ( :: #632e9a) (:: #632e9a) ( :: #632e9a) :: custom
4 ( :: #ff6881) ( :: custom) ( :: custom) ( :: custom) ( :: custom) ( :: #632e9a) :: custom
5 ( :: #ff6881) ( :: #ff6881) ( :: #ff6881) ( :: #632e9a) ( :: #632e9a) ( :: #632e9a) :: custom
.0! :: custom
Thanks to @AGScratcherBest-2 for the idea and here is the code


"you are using: :: hat custom
1 ( :: #ff6881) ( :: #ff6881) ( :: #ff6881) ( :: #632e9a) ( :: #632e9a) ( :: #632e9a) :: custom
2 ( :: custom) ( :: custom) ( :: #ff6881) ( :: custom) ( :: custom) ( :: #632e9a) :: custom
3 ( :: #ff6881) ( :: #ff6881) ( :: #ff6881) ( :: #632e9a) (:: #632e9a) ( :: #632e9a) :: custom
4 ( :: #ff6881) ( :: custom) ( :: custom) ( :: custom) ( :: custom) ( :: #632e9a) :: custom
5 ( :: #ff6881) ( :: #ff6881) ( :: #ff6881) ( :: #632e9a) ( :: #632e9a) ( :: #632e9a) :: custom
.0! :: custom
"
HenWiii
Scratcher
9 posts

Changing Width and Height Separately

support [TREE(3)]
Mysterios_Develepor
Scratcher
1 post

Changing Width and Height Separately

BRO * is this. i cant understand HOW THE HECK DO I ONLY CHANGE THE WIDHT OR HEIGHT???? SOMEONE TELL MEEEEEE
54387a
Scratcher
1000+ posts

Changing Width and Height Separately

Mysterios_Develepor wrote:

BRO * is this. i cant understand HOW THE HECK DO I ONLY CHANGE THE WIDHT OR HEIGHT???? SOMEONE TELL MEEEEEE
This suggestion is about suggesting the abillity to stretch sprites. Currently, you can't stretch sprites.

Everything below the grey line right above is my signature. By the way, my signature isn't related to my post in case you didn't know.
Welcome to the world of @54387a!™
Try out my projects.
To donate an internet, go here.
Go here to check if your suggestion is rejected. To check if your topic is a duplicate, use ocular. Remember, don't post on irrelevant topics otherwise that's necroposting. By the way, if you feel like your project/studio was wrongfully taken down, tell the Scratch Team through Contact Us.
Whenever you see something that looks clearly offensive and/or something not Scratch-appropriate, report it.
Purple specimen

Creating Content since October 2022
1,000th post

Za-Chary wrote:

silly me
(Source)
thedogcoder440
Scratcher
100+ posts

Changing Width and Height Separately

bump

Last edited by thedogcoder440 (Oct. 19, 2023 07:22:08)


Ocular(find dupes)

my other signature was eaten because it had too many characters in it… SOOoooo
goodbye

nahh, anyways: Game creator, Forums, Finds dupes in the most annoying way possible

LANGUAGES:
Scratch|Python|English|Italian

siggys be longer :(
ajskateboarder
Scratcher
1000+ posts

Changing Width and Height Separately

Bump

Support because I know there are a lot of good use cases for this
MagentaDude1359
Scratcher
100+ posts

Changing Width and Height Separately

you can just use fisheye stretch

This is my signature
Follow me
P-P-C
Scratcher
21 posts

Changing Width and Height Separately

100 % support
It would be super useful for animation
MagentaDude1359
Scratcher
100+ posts

Changing Width and Height Separately

Mysterios_Develepor wrote:

BRO * is this. i cant understand HOW THE HECK DO I ONLY CHANGE THE WIDHT OR HEIGHT???? SOMEONE TELL MEEEEEE
use this

This is my signature
Follow me
completeness
Scratcher
100+ posts

Changing Width and Height Separately

MagentaDude1359 wrote:

Mysterios_Develepor wrote:

BRO * is this. i cant understand HOW THE HECK DO I ONLY CHANGE THE WIDHT OR HEIGHT???? SOMEONE TELL MEEEEEE
use this
This is an inadequate solution. It’s slightly distorted since the fisheye does a radial stretch, and you can put the costume only so far away from the center- and it’s very memory intensive, where a 2048x2048 texture is created for each costume that needs to be stretched.

Powered by DjangoBB