Discuss Scratch

dlongm01
Scratcher
15 posts

Stage size

In both Scratch 1.4 and 2.0 I am a bit puzzled about this:

Logically if I have a sprite that is 480 wide and I want to move it completely off the left or the right of the stage using SET X, I should be able to do SETX 480 but it will only go to x=462 or x=-462, even if I use x=480

Similarly for the y dimension. Logically I should be able to sety 360 so that the sprite is out of sight of the stage (its lower edge being at y=181) but in fact it will only go to y=342 or -342. Again, the max value is 362 even if I use sety=360.

It seems that the maximum allowed is x = +/- 462, when +/- 480 is expected and max y = +/- 342 when +/- 360 is expected. We seem to be short of 18 screen cells!

I have tested this by creating a full size sprite 480x360.

Is there a reason for this?

To me it seems to confound programming neatness if I want to scroll a 480x360 sprite off the stage!

Thanks.
Rub0Gameton
Scratcher
100+ posts

Stage size

I've wondered the same thing. I would definitely like to know the reason.
pugluv4ever
Scratcher
100+ posts

Stage size

Early on in scratch there was a decision not to let sprites go off screen.

Pugluv4ever is 2 lazy to create a signature right now.
Try again later.
Rub0Gameton
Scratcher
100+ posts

Stage size

pugluv4ever wrote:

Early on in scratch there was a decision not to let sprites go off screen.
Any idea why?
pugluv4ever
Scratcher
100+ posts

Stage size

Rub0Gameton wrote:

pugluv4ever wrote:

Early on in scratch there was a decision not to let sprites go off screen.
Any idea why?
So new users wouldn't get confused if they “lost” their sprites offstage. Yes I know it's annoying.

Pugluv4ever is 2 lazy to create a signature right now.
Try again later.
Hyperbola
Scratcher
99 posts

Stage size

pugluv4ever wrote:

Rub0Gameton wrote:

pugluv4ever wrote:

Early on in scratch there was a decision not to let sprites go off screen.
Any idea why?
So new users wouldn't get confused if they “lost” their sprites offstage. Yes I know it's annoying.
There should be an option to let sprites go off screen though.

Well
We're at 2.0
I'm not sure this is a good thing
But I guess we'll have to stay here
pugluv4ever
Scratcher
100+ posts

Stage size

Hyperbola wrote:

pugluv4ever wrote:

Rub0Gameton wrote:

pugluv4ever wrote:

Early on in scratch there was a decision not to let sprites go off screen.
Any idea why?
So new users wouldn't get confused if they “lost” their sprites offstage. Yes I know it's annoying.
There should be an option to let sprites go off screen though.

Yes. Yes there should be.

Pugluv4ever is 2 lazy to create a signature right now.
Try again later.
MelonInc
Scratcher
100+ posts

Stage size

pugluv4ever wrote:

Hyperbola wrote:

pugluv4ever wrote:

Rub0Gameton wrote:

pugluv4ever wrote:

Early on in scratch there was a decision not to let sprites go off screen.
Any idea why?
So new users wouldn't get confused if they “lost” their sprites offstage. Yes I know it's annoying.
There should be an option to let sprites go off screen though.

Yes. Yes there should be.
To the suggestions forum!


griffpatch
Scratcher
100+ posts

Stage size

I was thinking this exact same thing… Here is what I posted:

What would be my biggest feature request? I'm glad you asked - I would add another checkbox under the sprite info pane under the ‘can drag in player’ and ‘show’ checkboxes called something like ‘can move off screen’. This would allow me to opt out of the feature that keeps sprites from moving out of view. I like the reason behind why you do this, but being able to opt out? Oh that would be excellent (I'd quite like to be able to opt out of the scale max of 250% too

Powered by DjangoBB