It dosent work
I AM SICK OF POEPLE PUTING CODES THAT DONT WORK AT ALL!!!!
I DID EVERY THING RIGHT. BUT JUST LIKE THE OTHER 1,000,000,000
CODES POEPLE HAVE TOLD ME, IT DOSENT WORK WORTH CRAP!
I would be nice but this just dosent stop!
onClipEvent (load) { moveSpeed = 10;}onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { this._x += moveSpeed; } else if (Key.isDown(Key.UP)) { this._y -= 0; } else if (Key.isDown(Key.DOWN) && !fall) { this._y += 0; } else if (Key.isDown(Key.LEFT)) { this._x -= moveSpeed; }}onClipEvent (enterFrame) { if (Key.isDown(Key.SPACE) && !jumping) { vel_y = 36; jumping = true; } if (jumping == true) { vel_y -= 2; if (vel_y<=-15) { vel_y = -15; } this._y -= vel_y; } if (_root.ground.hitTest(this._x, this._y+35, true)) { vel_y = 0; jumping = false; }}onClipEvent (enterFrame) { this._y += 16; if (_root.ground.hitTest(this._x, this._y+1, true)) { this._y -= 16; }}
thats what I put. And the name is right to. If it even maters, i am using mx.
What is wrong this?