it would be good if you could extend the stage (but its still the same during play).
so, when you are building/programing the game there would be a scroll bar to view the whole thing, and objects could be placed along it, there would not be a limit to the amount of space going up or down or left or right (or mabey there would, but it would be a long way before you reached it). it would make the programing of scrolling games much easier and allow for a better game on the whole.
please comment
Last edited by teguki (2008-03-09 12:59:11)
Offline
You can do that. You right click the place where everything happens and click "grab region for sprite" and drag near the X and do the whole screen. Then you go to sprite and do the box thingy and select the whole thing to make it white. It does lag though.
Offline
no i mean that the actual stage is longer/taller. not just a sprite.
if there is a scroll bar and you can place things waaaaaay off the original screen, it would be easier to make scrollers, and possible to make scrollers with pickups along the way and enemies in precise positions
Offline
yes, but you can do that with varibles, too.
Offline
Scratch doesn't support sprites going beyond the edge of the display area, so scrolling requires "working around" the built-in limitations. The stage (or background) is limited to 480 x 360.
There are a lot of examples out there if you search for "scrolling".
In general, scrolling involves using sprites as the background, and moving them opposite the direction the "character" is moving. The characters must be controlled and tracked using variables if they are to operate "off screen".
-MrEd
Offline