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

#1 2007-10-27 01:57:54

dimentio
Scratcher
Registered: 2007-10-27
Posts: 8

Help on...

Can someone tell me how to do a jump or when you walk off the edge you go to a different background?

Offline

 

#2 2007-10-27 06:16:04

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: Help on...

You could do something like this:

In the Sprite:

If "X position > 235"
Set X to (X position * -0.95)
Broadcast "Next Background"

(this will send the sprite to the opposite edge)

In the Background:

When I receive "Next Background"
Next Costume

This will make it look like the sprite walked off the right edge into the left side of a new scene.

Offline

 

#3 2007-11-26 23:28:42

dimentio
Scratcher
Registered: 2007-10-27
Posts: 8

Re: Help on...

Ok.

Offline

 

Board footer