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

#1 2011-03-15 13:28:06

jewer40
New Scratcher
Registered: 2011-03-15
Posts: 1

Let them fall down from the upper x-axe

Hey people!

How can I, in scratch, make a sprite falling down from the upper x-axe?
In my game shall a man shoot some bird that are falling down from the skys.

From Jesper.

Offline

 

#2 2011-03-15 14:47:09

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Let them fall down from the upper x-axe

You mean the upper X axis?  I'm not quite sure what you want, but you can do something like

Code:

When Green Flag Clicked
Forever
   Set Y to 500
   Repeat Until Y < 0
      Change Y by -5
   End Repeat
End Forever

That will make the sprite continuously fall from the top of the screen to the middle (where the upper x axis ends), then go back up and repeat the process.

Can you be more specific on what you want the sprite to do?

Last edited by Kileymeister (2011-03-15 14:48:02)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

Board footer