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

#1 2013-01-08 20:32:14

ethwok
Scratcher
Registered: 2012-09-10
Posts: 100+

Complicated Moving Script

So I see scripts that have xvelocity times something abs and stuff, and I just want to know how it works. Just giving the title of a video on youtube that shows you what that stuff does for movement. I know how to work well with variables, and I have a pretty smooth movement, but I dont know how have the sprite go up a hill or do the walljump things


http://displaypicks.com/wp-content/uploads/2013/01/Animals-12.jpg
I AM ETHWOK

Offline

 

#2 2013-01-08 21:09:54

numberonegamers
Scratcher
Registered: 2012-07-12
Posts: 100+

Re: Complicated Moving Script

When gf clicked
Forever
 If <touching [floor v]>
  Change y by [5]
 Else
  Change y by [-5]
End

Last edited by numberonegamers (2013-01-08 21:11:10)

Offline

 

Board footer