This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

SPower
SPower presents ...

2012/8/4

Jump engine

This is the engine used in my game Jump!. I added comment, so everybody should be able to understand it (except for non-programmers :) ).

I posted this because many people were asking for the code of Jump!, so finally, here it is!

When you use one of the classes, please put my name in the description (just copy it off the documentation of the classes). Also, I'd love to see this in action, so tell me when you use it!

Feel free to leave a comment!

4358 views / 13 in the last 7 days

4 votes | 0 in the last 7 days

Tags: physics demo with-source jump engine

open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

A new version of this scenario was uploaded on Sat Aug 04 14:38:03 UTC 2012 -Improved performancein Platform: I discovered I could optimise it. Please look at the new code -Some extra comment in the Jumper class
erdelferdelf

2012/8/4

This is really the code of the jump scenario? Here the detection for the green plates, doesn't work sometimes
SPowerSPower

2012/8/4

It is the same code, and I'm still wondering why you see difference. I know where it is, but when I remove it, you get a less ice effect. But anyway, I'll fix the detection 'bug'
SPowerSPower

2012/8/4

With 'you see the difference' I don't mean you specific, I also see it
A new version of this scenario was uploaded on Sat Aug 04 17:40:07 UTC 2012 -Little better platform collistion, don't know why it didn't work, but ok. -Added some more comment in the JumpWorld class. -Scenario is unlocked in the gallery, so you can play with the speed etc.
A new version of this scenario was uploaded on Sat Aug 04 17:40:43 UTC 2012 Forgot to really unckeck 'Lock scenario' :)
A new version of this scenario was uploaded on Thu Aug 23 14:44:26 UTC 2012 Added more comment
this is fun
SPowerSPower

2012/8/24

Well, if you wanna see the real fun, checkout the game where the engine's from: http://www.greenfoot.org/scenarios/4734 and also, I would appreciate if you clicked 'like'
A new version of this scenario was uploaded on Fri Aug 31 15:18:13 UTC 2012 Made the code overall a bit clearer

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Info_Projekt_BSZ joeschmoe Game/maniac CrazyGamer1122