Platform adventure game demo
autor InnerDarkness
Dodaj na ekran główny, by mieć szybki dostęp
Zainstaluj tę grę
Stuknij przycisk Udostępnij, potem "Dodaj do ekranu początkowego", aby szybko mieć grę pod ręką.
Platform adventure game demo
Tagi dla Platform adventure game demo
Opis
Note this is another demo of mine, this is only a short one i will make it longer if people like it.
Jak grać
arrows to move space to jump
Komentarze
Herra0
Dec. 29, 2008
And heres another bug:When you fall off,you cant go to back to up.
Herra0
Dec. 29, 2008
Lol heres bug:You can jump in air unlimited times!
InnerDarkness
Dec. 29, 2008
I hope you enjoy. You may note that he is in another game of mine.
acticuswatard
Oct. 19, 2009
ok graphics, very slow gameplay and poor gravity. try this code instead:
onClipEvent (load) {
speed = 4;
jump = 0;
jumpheight = 9;
gravity = 0.5;
scale = _xscale;
wid = _width/2;
heig = _height/2;
}
onClipEvent (enterFrame) {
_y -= jump;
jump -= gravity;
if (Key.isDown(Key.LEFT)) {
_x -= speed;
_xscale = -scale;
}
if (Key.isDown(Key.RIGHT)) {
_x += speed;
_xscale = +scale;
}
while (_root.ground.hitTest(_x, _y+heig, true)) {
_y--;
jump = -5;
inair = false;
if (inair == false && Key.isDown(Key.UP)) {
jump = jumpheight;
inair = true;
}
}
while (_root.ground.hitTest(_x, _y-heig, true)) {
jump = -jump;
_y++;
}
while (_root.ground.hitTest(_x+wid, _y, true)) {
_x--;
}
while (_root.ground.hitTest(_x-wid, _y, true)) {
_x++;
}
Galev
Jan. 26, 2009
at least, it has nice graphics... You should be able to start over after falling