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

Report as inappropriate.

DonaldDuck
DonaldDuck presents ...

2010/12/19

Shifty

Adventure on every axis.

Teh controls!

F1 - Switchs too rotation mode.
F2 - Switchez 2 flip mode.
Spacebar - Yoos teh mode-designated powa (Flip/Rotate).
Arrow keys - Move.
Enter - Reset teh lvl.

This can easily be expanded to fit many different games. The ground detection is not quite perfect, but the coding is pretty well commented and quite neat, you should be able to make sense of it.

Haz fun!

*Known bugs and fixes*

Standing in a corner and using the rotation will cause a NullPointerException, causing the program to stop, therefore is not advised.
When inverted and facing right, running left will happen backwards for a split second, but righten itself after 1 run through.

3544 views / 8 in the last 7 days

4 votes | 0 in the last 7 days

Tags: demo with-source shift invert

open in greenfoot
Your browser does not support the canvas tag.
spacebluespaceblue

2010/12/19

Quite awesome. I'd like to see a game come out of this :]
DonaldDuckDonaldDuck

2010/12/19

I'm glad you like it.
A new version of this scenario was uploaded on Mon Dec 20 03:44:48 UTC 2010 Now with an unlockable.
mjrb4mjrb4

2010/12/20

Very fresh, cool game idea - I can see some interesting puzzle based games coming out of this one!

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

Who likes this?

bourne thegreencoolerman mjrb4 spaceblue