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

#1 2011-08-13 23:56:02

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Wall Jumping

Before you say it is in the Scratch Wiki or give a link to it, I want to know how to wall jump with an easier way. I want to wall jump in my game. So here is the basic things in the game. I am using scrolling as sort of the x, and yvelocity variable as the y. Any way to do scrolling, yvelocity and wall jumping?


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#2 2011-08-14 00:30:29

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: Wall Jumping

Try and make the sprite stick to the wall before jumping. I made wall jumping possible in this project by making it fall until touching the color black, since the walls are also black, the sprite treats the wall like ground, and can then jump off of the wall.

So use the same jumping script you use to make the sprite land on ground, and then make the wall similar to the ground, so that script can apply to it.


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#3 2011-08-14 01:30:50

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: Wall Jumping

Flait7 wrote:

Try and make the sprite stick to the wall before jumping. I made wall jumping possible in this project by making it fall until touching the color black, since the walls are also black, the sprite treats the wall like ground, and can then jump off of the wall.

So use the same jumping script you use to make the sprite land on ground, and then make the wall similar to the ground, so that script can apply to it.

Or use a sensor costume.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

Board footer