Closed jwzimmer-zz closed 8 years ago
Scratch has always limited the X and Y positions of sprites to prevent one from leaving the screen, and getting 'lost'. (It's one of those little foibles of Scratch that's annoying to have to work around sometimes.)
However, you say that it used to work until "recently"... Were you perhaps working in an offline version of Scratch that's over a year old? There was a modification to Scratch some time ago which changed how it works out the costume boundaries.
Before this change, parts of a vector costume which were fully transparent were still counted as 'within' the costume. This allowed a costume with such transparent parts to appear to go offscreen (though it hadn't really, since the transparent parts were still onscreen – but all visible parts were offscreen). After the change, such transparent parts were no longer considered to be part of the costume. This meant such costumes would no longer move as far as before. (It actually broke some projects that expected sprites to reach certain X or Y positions while in a loop...)
I recently posted in the "Help with Scripts" forum explaining how to 'trick' Scratch into allowing you to 'slide' an object smoothly offscreen, so it might be helpful to read through that: https://scratch.mit.edu/discuss/post/2128297/
@TheLogFather - Wow, thanks for this explanation! I will pass this on to the user who reported this issue. : )
Ah, oh... an alternative possibility has come to mind...
Is this text actually in a really tall vector costume? Maybe, say, more than 2000 pixels high? If not then ignore this...
But if so, there's a very recent change, in the most recent version 448, that could have broken it. Costumes more than 2048 pixels high or wide will be broken for certain operations where it tries to work out the costume boundaries.
Here's the change: https://github.com/LLK/scratch-flash/pull/1127 Read down to the bottom for discussion how it can break certain projects (and why it was done).
There are two ways to fix this. One would be to scale down the actual costume so it is less than 2000 pixels high. Then rescale it to the size you want by using the "set size" block (which you will have to do via a 'trick' with a smaller costume, since Scratch won't let you resize a costume to much larger than the stage size). The other way would be to split the text across separate costumes and use one or more clones, one for each costume, placed in the appropriate places on the screen as the text scrolls.
As discussed with @cwillisf, this issue was caused by https://github.com/LLK/scratch-flash/pull/1127. We are closing this issue since we're no longer supporting costumes/ sprites with sides > 2048 pixels. I emailed the reporting user via freshdesk to let them know.
Reported via freshdesk no. 52642.
Metadata: