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

#1 2013-03-08 15:12:38

trilogy12
New Scratcher
Registered: 2013-03-08
Posts: 1

jumping

how do you get a sprite to jump anywhere on the background
please help me its for my homework.

Offline

 

#2 2013-03-08 15:52:10

BLU_Spy
Scratcher
Registered: 2012-01-05
Posts: 1000+

Re: jumping

By "jumping anywhere", do you mean making it appear anywhere on the background?

You could use this:

go to x: (pick random (-250) to (250)) y: (pick random (-250) to (250))
Since I can't remember how large the stage is, you can change the values if you want.


But if you actually meant "jumping", like in a platform game, there are a lot of ways to do that. Could you please be a bit more specific about the project you're making? Maybe it can be easier for others to help you.

Last edited by BLU_Spy (2013-03-08 15:55:20)


I HAVE SWITCHED ACCOUNTS! My new username is NoxSpooth.

Offline

 

#3 2013-03-08 22:07:30

bob6
Scratcher
Registered: 2010-07-01
Posts: 100+

Re: jumping

BLU_Spy wrote:

go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))

Fixed.


http://i46.tinypic.com/3148ksz.gif

Offline

 

Board footer