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

Report as inappropriate.

danpost
danpost presents ...

2014/12/23

Dungeon Escape

YOU WILL NOT ESCAPE.

Avoid the falling blocks and push them around to make your way to the door to the next level.

Use the arrow keys to move and jump.

Log in to compare your progress against others.

7753 views / 24 in the last 7 days

10 votes | 0 in the last 7 days

Tags: game physics gravity jump push danpost avoider

This scenario is a member of: Games by danpost


Your browser does not support the canvas tag.
A new version of this scenario was uploaded on 2018-01-31 19:36:32 UTC
danpostdanpost

2018/1/31

Now updated for HTML5 (had to remove background "midi" music and "new life" sound).
APOSDAVIDAPOSDAVID

2018/2/1

how do i dowload
danpostdanpost

2018/2/1

@APOSDAVID, the source was not made available for download,
student1student1

2018/4/2

danpost, i'm making a game for my college and i'm using code that enables gravity and i'm wandering how you got it so the player does not go through the blocks
student1student1

2018/4/2

public void Gravity() { int groundLevel = getWorld().getHeight() - getImage().getHeight()/2; boolean onGround = (getY() == groundLevel); if (!onGround) { ySpeed++; setLocation(getX(), getY()+ySpeed); if (getY()>=groundLevel) { setLocation(getX(), groundLevel); Greenfoot.getKey(); } } else { if ("space".equals(Greenfoot.getKey())) { ySpeed = -15; setLocation(getX(), getY()+ySpeed); } } }
student1student1

2018/4/2

this is the gravity code i'm using
danpostdanpost

2018/4/2

@student1, please start a discussion thread on your issue.
A new version of this scenario was uploaded on 2020-10-27 12:22:50 UTC
A new version of this scenario was uploaded on 2020-10-27 12:54:33 UTC

See all comments

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

Who likes this?

liverpoolfc APOSDAVID Super_Hippo weilipan fejfo Game/maniac Entity1037 Oldmoe davemib123 dan11