>>52 対抗してみた。
onClipEvent (load) {def_y=this._y, lock=false, xspeed=0;}
onClipEvent (keyDown) {if (!lock && Key.isDown(Key.UP)) {
lock=true, yspeed=-10, g=0.5;
this.onEnterFrame = function() {if (def_y<_y+speed+g) {
if (Key.isDown(Key.UP)) {xspeed *= 0.99, yspeed=-9, g=0.5;_x += xspeed, _y=def_y+(yspeed += g);
} else {if (Key.isDown(Key.LEFT) && xspeed>-6) {xspeed -= 3;if (xspeed<-6) {xspeed = -6;}
} else if (Key.isDown(Key.RIGHT) && xspeed<6) {xspeed += 3;if (xspeed>6) {xspeed = 6;}
} else {xspeed *= 0.8;}_x += xspeed, _y=def_y, lock=false;}} else {_y += yspeed += g;
//物理法則無視/*
if (Key.isDown(Key.LEFT) && Key.isDown(Key.RIGHT)) {} else if (Key.isDown(Key.LEFT) && xspeed>-6) {xspeed -= 0.2;if (xspeed<-6) {xspeed = -6;}} else if (Key.isDown(Key.RIGHT) && xspeed<6) {xspeed += 0.2;if (xspeed>6) {xspeed = 6;}}
//物理法則無視END*/
_x += xspeed;}};}
if (!lock && (Key.isDown(Key.LEFT) || Key.isDown(Key.RIGHT))) {
this.onEnterFrame = function() {if (Key.isDown(Key.LEFT) && Key.isDown(Key.RIGHT)) {
} else if (Key.isDown(Key.LEFT) || Key.isDown(Key.RIGHT)) {
if (Key.isDown(Key.LEFT) && xspeed>-6) {xspeed -= 3;if (xspeed<-6) {xspeed = -6;}}
if (Key.isDown(Key.RIGHT) && xspeed<6) {xspeed += 3;if (xspeed>6) {xspeed = 6;}}
} else {xspeed *= 0.8;}_x += xspeed;};}}