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

Report as inappropriate.

ShoutToUs
ShoutToUs presents ...

2013/12/13

Platforming Beta

A revision on my old platforming game.

*Now allows for single, controlled jumps instead of charged ones.
*New levels on the way. (they are already in the scenario, but not yet available)
*Pause menu, game timer, and rebindable keys also incoming.

2585 views / 10 in the last 7 days

1 vote | 0 in the last 7 days

Tags: game physics demo platforming hthcv

Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
vladdesvladdes

2013/12/13

use two intersecting conditions! also, you can (solution i came up with last week) that if megaman.getY()+megaman.getHeight/2 < than block.getY() && megaman.getY()+megaman.getHeight()/2 > block.getY()-10 then setLoc to getX(), getY()-block.getHeight()/2.. to lazy to write the whole sentence, basicly means if his feed or inside the upper part of the block, he's automaticly placed on the block , looks alot neater, check my platform game, the pitfall clone, the source code for that is in the barry class =)
vladdesvladdes

2013/12/13

feet*
ShoutToUsShoutToUs

2013/12/13

@vladdes Alright, thanks. I'll look into it.

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

Who likes this?

vladdes