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

#1 2011-06-19 01:10:29

Riddlerie
New Scratcher
Registered: 2011-06-18
Posts: 3

Making a solid surface

I'm new to scratch and so far all i have a unicorn that can jump and move back and forth, I need to know how to make a solid surface of platform that i can make the unicorn jump on and stand on without falling through, Thanks

Offline

 

#2 2011-06-19 03:16:23

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Making a solid surface


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#3 2011-06-19 03:20:54

LordSydney
Scratcher
Registered: 2011-04-20
Posts: 100+

Re: Making a solid surface

Make the surface a particular colour and then say something like

{When start clicked}
\forever\
\if < <not <touching colour [colour]> > and < (jumping) = (0) > > \
[change y by (10)]
\end if\
\end forever\

make a variable jumping for when up (or whatever) is pressed...

That's really simple...Just ask someone if you want complex velocity scripts...I don't have much time now.


Need help with BBCode?
http://i.imgur.com/IfWrL.gifAlso check this out!http://i.imgur.com/YgF2v.gif

Offline

 

#4 2011-06-19 06:07:22

Riddlerie
New Scratcher
Registered: 2011-06-18
Posts: 3

Re: Making a solid surface

thank you so much! i got it now  smile

Offline

 

#5 2011-06-19 16:51:45

Riddlerie
New Scratcher
Registered: 2011-06-18
Posts: 3

Re: Making a solid surface

okay i have one more question.. how do i make it fall back down when its not on an surface?

Offline

 

Board footer