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

#1 2010-03-28 19:57:29

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

Wall Jumping

I made a Wall Jumping Engine, if anyone would like to see it.  big_smile

Anyone can use it, but give credit please!

Also, if anyone would like to check it for glitches/improve it, that would be much appreciated.

WHAT IT DOES:
Basically it is like a normal movement engine, with a slight addition.  It detects if you are not on the ground, pressed against a wall, and facing the wall.  Then it presses you against the wall, slowly sliding down.  If you press up, it pushes you off the wall.  If you hit the ground, you fall off the wall.  If you press the arrow key away from the wall, you drop.

HOW IT WORKS:  (I will be demonstrating jumping off a left wall, the right wall is the same with the horizontal variables switched)

If you aren't on the ground, if left sensor detects wall and Dir=left, set <action> to "wall" (Action is a variable for my wall-jump costume).  Set X velocity to 0 (stops your horizontal motion so you don't fly off the wall).  Set Y velocity to -0.1 (makes you slowly slide down).  If "Jump"=3, (Jump is a variable to detect your pressing of up the up arrow, if it is one you jumped off the ground, if it is 2 you are able to jump off the wall, if it is 3 you did jump off the wall) set Y velocity to 10, set X velocity to 5 (pushes you off the wall).

Last edited by Kileymeister (2010-03-28 20:12:08)


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

 

#2 2010-03-28 20:02:16

ChuxXxliciousness
Scratcher
Registered: 2010-02-25
Posts: 90

Re: Wall Jumping

Now is the perfect time for somebody to make a Ninja Gaiden game! *hinthint*


http://img443.imageshack.us/img443/676/continent2.pnghttp://img180.imageshack.us/img180/9229/button2a.png

Offline

 

#3 2010-03-28 20:18:41

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

Re: Wall Jumping

Hmm... This may be in the wrong forum.  Should this be in "Advanced Topics" or "Show and Tell", because I think this forum is for more advanced stuff than this.


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

 

#4 2010-03-28 20:22:16

ChuxXxliciousness
Scratcher
Registered: 2010-02-25
Posts: 90

Re: Wall Jumping

I wouldn't know where to begin with a wall-jumping engine. It's more advanced than your typical Scratch project, so I assume it couldn't hurt for it to be here.


http://img443.imageshack.us/img443/676/continent2.pnghttp://img180.imageshack.us/img180/9229/button2a.png

Offline

 

#5 2010-03-29 17:51:47

Kileymeister_test
Scratcher
Registered: 2010-01-31
Posts: 100+

Re: Wall Jumping

Yeah, I guess you're right.

This is technically also a bump :D

Last edited by Kileymeister_test (2010-03-29 17:51:59)


Kileymeister's test account.  I upload engines and demos and stuff for public use.
Currently Working on: Grapple Arms!

Offline

 

#6 2010-03-30 00:50:18

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: Wall Jumping

Really nicely done! I can use this to make ninja bunny. Thanks!

Offline

 

#7 2010-03-30 14:56:11

masterhand7
Scratcher
Registered: 2009-10-05
Posts: 100+

Re: Wall Jumping

Good job, Kileymeister!  smile  I'll propose for your project to be featured when the contest is over. Now you can be famous like RHY! (RHY made "Perfect Platformer Base")


Click here to see the first iPhone virus!
http://www.danasoft.com/sig/MASTERHAND7PWNZ.jpg

Offline

 

#8 2010-03-30 17:40:42

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

Re: Wall Jumping

Oh, good!  A mod moved this to show and tell, this topic really does belong in this forum more.


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

 

#9 2010-03-31 17:23:39

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

Re: Wall Jumping

masterhand7 wrote:

Good job, Kileymeister!  smile  I'll propose for your project to be featured when the contest is over. Now you can be famous like RHY! (RHY made "Perfect Platformer Base")

Whoa whoa wait, if you do that, then my test account will become famous and the actual me will be ignored.  sad   That would be horrible.

Last edited by Kileymeister (2010-03-31 17:23:50)


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

 

#10 2010-04-11 17:49:52

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

Re: Wall Jumping

http://i44.tinypic.com/96w6xw.gif


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

 

#11 2010-04-11 17:59:59

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: Wall Jumping

another awesome game as usual!


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

Board footer