Minecraft  platformer  V1.3

Instructions: 操作方法はとてもシンプル　The operation method is very simple\n［ ←・→ ］--- Move　移動\n［ ↑ ］--- jump　ジャンプ

@Stage\n\nwhen flag clicked\nforever\n    play sound [「Cat」 v] until done\n    wait (4) seconds\nend\n\n@Player\n\nwhen flag clicked\nshow\ngo to [front v] layer\nclear graphic effects\nset [gravity v] to [-1]\nset [janp force v] to [12]\nset [acceleration v] to [2]\nset [resistance v] to [0.8]\nReset and Begin Level\n\ndefine Move - in steps (steps)\nchange [fallling v] by (1)\nrepeat (steps)\n    set [last valye v] to (x position)\n    change x by ((speed x) / (steps))\n    Check Touching Solid\n    if <(Touching) > [0]> then\n        set x to (last valye)\n        set [speed x v] to [0]\n    end\n    set [last valye v] to (y position)\n    change y by ((speed y) / (steps))\n    Check Touching Solid\n    if <(Touching) > [0]> then\n        set y to (last valye)\n        if <(speed y) < [0]> then\n            set [fallling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\ndefine Check Touching Solid\nif <touching (level v)?> then\n    set [touching v] to [1]\nelse\n    set [touching v] to [0]\nend\n\nwhen I receive [tick - player v]\nControls - Left and Right\nControls - Up and Down\nMove - in steps (([abs v] of (speed x) ) + ([abs v] of (speed y) ))\n\ndefine Controls - Up and Down\nif <key (up arrow v) pressed?> then\n    if <(fallling) < [3]> then\n        set [speed y v] to [12]\n    end\nend\nchange [speed y v] by (GRAVITY)\n\ndefine Controls - Left and Right\nif <key (left arrow v) pressed?> then\n    change [speed x v] by ((0) - (ACCELERATION))\nend\nif <key (right arrow v) pressed?> then\n    change [speed x v] by (ACCELERATION)\nend\nset [speed x v] to ((speed x) * (RESISTANCE))\n\ndefine Reset and Begin Level\nset [scene # v] to [1]\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [fallling v] to [99]\ngo to x: (-150) y: (50)\nbroadcast (Change Scene v)\nbroadcast (Game Loop v)\n\nwhen I receive [game loop v]\nrepeat until <<touching color (#a70f00)?> or <(y position) < [-180]>>\n    broadcast (Tick - Player v)\n    broadcast (Tick - Last v)\nend\nReset and Begin Level 2\n\nwhen I receive [tick - last v]\nif <(x position) > [235]> then\n    Begin Scene # ((SCENE #) + (1)) go to x: [-235]\nend\nif <(x position) < [-235]> then\n    Begin Scene # ((SCENE #) + (-1)) go to x: [235]\nend\n\ndefine Begin Scene # (scene #) go to x: (x)\nset [scene # v] to (scene #)\nset x to (x)\nbroadcast (Change Scene v)\nstop [other scripts in sprite v]\nwait (0) seconds\nFix Collisionin in Direction [0]\nbroadcast (Game Loop v)\n\ndefine Fix Collisionin in Direction (dir)\nset [temp v] to (x position)\nset [distance v] to [1]\npoint in direction (dir)\nrepeat (128)\n    Check Touching Solid\n    if <(Touching) < [1]> then\n        point in direction (temp)\n        stop [this script v]\n    end\n    move (distance) steps\n    turn right (180) degrees\n    change [distance v] by (1)\nend\n\ndefine Reset and Begin Level 2\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [fallling v] to [99]\ngo to x: (-150) y: (50)\nbroadcast (Change Scene v)\nbroadcast (Game Loop v)\n\n@Level\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [change scene v]\nswitch costume to (join [Scene] (SCENE #))\n\n@Scene\n\nwhen I receive [change scene v]\nshow\nswitch costume to (join [Scene] (SCENE #))\ngo to [front v] layer\n\n@スプライト1\n\nwhen flag clicked\nhide\n\n