Discuss Scratch

Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

I think it would be nice if the Stage and viewport were separated. The stage would be infinite and therefore X and Y dimensions. The viewport would be the size of the current stage. These things would mean sprites could go off screen and there could be panning between various places. Some new blocks would gave to be added, but I don't think it would be that hard to implement. This feature would solve all problems of infinite scrolling and could allow for more complex simulations to be made.
xlk
Scratcher
100+ posts

Infinite Stage

hehehe, the x/y positions of the “stage” are x/y positions on the screen, the “stage” is a window. making objects big or small and moving them accordingly makes this effect. Just search for camera engines or scrolling engines.
I have a project called “camera engine test” which does this, live and smooth…
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

There should at least be a separation. Also, pen effects don't scale which could create problems.
savaka
Scratcher
1000+ posts

Infinite Stage

I agree, but this won't happen since new people would have trouble finding their sprites
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

savaka wrote:

I agree, but this won't happen since new people would have trouble finding their sprites
Well how about this: the stage size can be set, possibly from within the script. The default size is the current one though.
braxbroscratcher
Scratcher
1000+ posts

Infinite Stage

savaka wrote:

I agree, but this won't happen since new people would have trouble finding their sprites

Well, there is always this trusty ol' script:
whenclickedgotox:0y:0
Firedrake969
Scratcher
1000+ posts

Infinite Stage

braxbroscratcher wrote:

savaka wrote:

I agree, but this won't happen since new people would have trouble finding their sprites

Well, there is always this trusty ol' script:
whenclickedgotox:0y:0
Panning, though.
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

Firedrake969 wrote:

braxbroscratcher wrote:

savaka wrote:

I agree, but this won't happen since new people would have trouble finding their sprites

Well, there is always this trusty ol' script:
whenclickedgotox:0y:0
Panning, though.
What do you mean?
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

Bump
iTweak0r
Scratcher
100+ posts

Infinite Stage

What if your editing a sprite that's off screen, it shows an arrow on the edge pointing it it? And when you click the arrow it pans the camera to it.
dacooldude
Scratcher
71 posts

Infinite Stage

I agree, flash and java coded games can do this.
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

iTweak0r wrote:

What if your editing a sprite that's off screen, it shows an arrow on the edge pointing it it? And when you click the arrow it pans the camera to it.
It's a good idea. However, it would be hard to code something like that into the project editor. There could, however be a block like this:
pantox:0y:0gotox:0y:0
This would bring both the sprite and camera to the center.


dacooldude
Scratcher
71 posts

Infinite Stage

there

Blueinkproductions wrote:

iTweak0r wrote:

What if your editing a sprite that's off screen, it shows an arrow on the edge pointing it it? And when you click the arrow it pans the camera to it.
It's a good idea. However, it would be hard to code something like that into the project editor. There could, however be a block like this:
pantox:0y:0gotox:0y:0
This would bring both the sprite and camera to the center.
could also be a
glide1secstox:0y:0
which could create a moving picture
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

dacooldude wrote:

there

Blueinkproductions wrote:

iTweak0r wrote:

snip
It's a good idea. However, it would be hard to code something like that into the project editor. There could, however be a block like this:
pantox:0y:0gotox:0y:0
This would bring both the sprite and camera to the center.

could also be a

glide1secstox:0y:0

which could create a moving picture

As in, panning.

contest101
Scratcher
25 posts

Infinite Stage

I do not support. Possible lag.
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

contest101 wrote:

I do not support. Possible lag.
There is no real way to know if it creates lag until it is tried.
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

Bump
rdococ
Scratcher
1000+ posts

Infinite Stage

This feature already exists….-ed in Scratch 1.4. Panning blocks existed but they were deprecated or obsolete quickly.
Blueinkproductions
Scratcher
1000+ posts

Infinite Stage

rdococ wrote:

This feature already exists….-ed in Scratch 1.4. Panning blocks existed but they were deprecated or obsolete quickly.
They are still in the source code of 2.0, but are commented out.
frodewin
Scratcher
500+ posts

Infinite Stage

savaka wrote:

I agree, but this won't happen since new people would have trouble finding their sprites

This could be solved differently. Currently, the is a “show” function when you right-click a sprite (in the sprites section, not on the stage). This usually brings the sprite forward and makes it visible. If using this function would also move off-stage sprites to the stage, the problem is solved.

Powered by DjangoBB