This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-06-02 00:45:28

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Jumping with SCROLLy

How do i make my background sprites move with my sprite when it jumps with SCROLLy?


...........I'm A Bubble.............

Offline

 

#2 2010-06-02 01:36:00

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Jumping with SCROLLy

Just do Change ScrollY's variable instead of changing the character's Y position.  big_smile


Hai.

Offline

 

#3 2010-06-03 00:34:53

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Re: Jumping with SCROLLy

I dont really get what you mean? Could you maybe give an example?


...........I'm A Bubble.............

Offline

 

#4 2010-06-03 00:41:48

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Jumping with SCROLLy

I have a game which features this sort of thing. When you jump the background moves and not the character, however it doesn't work online you'll need to download. http://scratch.mit.edu/projects/what-the/1003864

Tell me if this is what you mean.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#5 2010-06-03 01:00:48

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Re: Jumping with SCROLLy

Thats exactly what i mean. Which part of your scripts is it? Do you mind if i use it?


...........I'm A Bubble.............

Offline

 

#6 2010-06-03 02:55:21

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Re: Jumping with SCROLLy

Actually would you mind just telling me how you did it? If you could that would be great.  big_smile


...........I'm A Bubble.............

Offline

 

#7 2010-06-03 07:41:08

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Jumping with SCROLLy

Ok I'll try to show you but please give me credit. You have to use these scripts.
http://img684.imageshack.us/img684/1946/70444705.png
-You need to use the "Grab Screen" function in Scratch to get a sprite bigger than the stage. (This causes it to not work online though)
It may take you a while to figure out what needs to be changed. Like the effects you want when the sprite falls.(how fast it falls and when to activate the falling effect)

Hope this helps.

Last edited by what-the (2010-06-03 07:43:43)


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#8 2010-06-04 03:37:54

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Re: Jumping with SCROLLy

Wow! Really complicated, but i will give it a go. Thanks for this.  big_smile


...........I'm A Bubble.............

Offline

 

#9 2010-06-07 01:48:06

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Re: Jumping with SCROLLy

Wait, one question, do you use the stage as a background, or a sprite as a background?


...........I'm A Bubble.............

Offline

 

#10 2010-06-07 02:13:54

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Jumping with SCROLLy

That's actually a very complicated example. I'll post another one tomorrow for you.  smile


Hai.

Offline

 

Board footer