Platform adventure game demo
by InnerDarkness
홈 화면에 추가하여 빠르게 실행하세요
이 게임 설치
공유 버튼을 누르고 "홈 화면에 추가"를 선택하면 빠르게 이 게임에 접속할 수 있습니다.
Platform adventure game demo
Platform adventure game demo의 태그
설명
Note this is another demo of mine, this is only a short one i will make it longer if people like it.
플레이 방법
arrows to move space to jump
댓글
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