Outline || Scrolling Platformer
@Stage\n\n@Thumbail\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\ngo to x: (36) y: (28)\nset [ghost v] effect to (0)\nset [pixelate v] effect to (0)\nwait (0.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\n    change [pixelate v] effect by (5)\nend\nbroadcast (Start v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    play sound [Music  v] until done\nend\n\n@Draw Logo\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nshow\ngo to x: (0) y: (120)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (((130) + (size)) / (2)) %\n        if <mouse down?> then\n            set size to (((120) + (size)) / (2)) %\n        end\n    else\n        clear graphic effects\n        set size to (((110) + (size)) / (2)) %\n    end\n    point in direction ((90) + (([sin v] of ((timer) * (100)) ) * (5)))\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [play v]\nhide\nstop [other scripts in sprite v]\n\n@Play Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    glide (1.5) secs to x: (0) y: (5)\n    glide (1.5) secs to x: (0) y: (-5)\nend\n\nwhen I receive [start v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (((120) + (size)) / (2)) %\n        set [brightness v] effect to (20)\n        if <mouse down?> then\n            set size to (((110) + (size)) / (2)) %\n        end\n    else\n        clear graphic effects\n        set size to (((101) + (size)) / (2)) %\n    end\nend\n\nwhen I receive [start v]\ngo to x: (0) y: (5)\n\nwhen this sprite clicked\nbroadcast (Play v)\nhide\nwait (0.1) seconds\nset [ink v] to [10]\nerase all\nstop [other scripts in sprite v]\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\nswitch costume to (1 v)\nset size to (100) %\npoint in direction (90)\ngo to x: (-197) y: (-75)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (0.9)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-0.9)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((X) * (-1))\n                            change y by (-1)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching color (#000000)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [14]\n        end\n    end\n    if <(x position) > [240]> then\n        show\n        switch costume to (1 v)\n        set size to (100) %\n        point in direction (90)\n        go to x: (-197) y: (-75)\n        set [x v] to [0]\n        set [y v] to [0]\n        broadcast (Next Level v)\n    end\n    if <key (e v) pressed?> then\n        show\n        switch costume to (1 v)\n        set size to (100) %\n        point in direction (90)\n        go to x: (-197) y: (-75)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <<touching (spikes v)?> or <<touching (enemy  v)?> or <<touching (lava v)?> or <touching (laser v)?>>>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [ghost v] effect to (0)\n        switch costume to (1 v)\n        set size to (100) %\n        point in direction (90)\n        go to x: (-197) y: (-75)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\nend\n\n@Pen\n\nwhen flag clicked\nerase all\nset [ink v] to [10]\nshow\nset pen color to (#000000)\nset pen size to (5)\n\nwhen [e v] key pressed\nset [ink v] to [10]\nerase all\n\nwhen flag clicked\nforever\n    go to (mouse-pointer v)\n    if <mouse down?> then\n        pen down\n        change [ink v] by (-1)\n        wait (0.05) seconds\n    else\n        pen up\n    end\n    if <<(Ink) = [0]> or <(Ink) < [0]>> then\n        set [ink v] to [0]\n        repeat until <(Ink) > [0]>\n            go to (mouse-pointer v)\n            pen up\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [ink v]\n\nwhen I receive [play v]\nshow variable [ink v]\n\nwhen I receive [next level v]\nerase all\nset [ink v] to [10]\n\n@? Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    glide (1.5) secs to x: (0) y: (-95)\n    glide (1.5) secs to x: (0) y: (-105)\nend\n\nwhen I receive [start v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (((120) + (size)) / (2)) %\n        set [brightness v] effect to (20)\n        if <mouse down?> then\n            set size to (((110) + (size)) / (2)) %\n        end\n    else\n        clear graphic effects\n        set size to (((101) + (size)) / (2)) %\n    end\nend\n\nwhen I receive [start v]\ngo to x: (0) y: (-95)\n\nwhen flag clicked\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (Instruction v)\n        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    end\nend\n\nwhen I receive [play v]\nhide\nstop [other scripts in sprite v]\n\n@Instructions\n\nwhen flag clicked\nhide\ngo to x: (36) y: (28)\n\nwhen I receive [instruction v]\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nforever\n    if <key (space v) pressed?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to [back v] layer\n    end\nend\n\n@Wall \n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (0)\ngo to x: (36) y: (28)\n\nwhen I receive [play v]\nhide\nstop [other scripts in sprite v]\n\n@Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\nswitch costume to (1 v)\ngo to x: (36) y: (28)\n\nwhen I receive [next level v]\nchange [level v] by (1)\nnext costume\n\nwhen flag clicked\nset [level v] to [1]\n\n@Spikes\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [play v]\nshow\nswitch costume to (1 v)\ngo to x: (36) y: (28)\n\n@Enemy \n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to x: (-79) y: (-86)\ngo to [back v] layer\nforever\n    repeat (30)\n        move (5) steps\n    end\n    wait (1) seconds\n    repeat (30)\n        move (-5) steps\n    end\n    wait (1) seconds\nend\n\n@Lava\n\nwhen flag clicked\nhide\ngo to x: (36) y: (28)\nforever\n    if <(Level) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (36) y: (28)\n    wait (0.3) seconds\n    glide (1) secs to x: (36) y: (24)\n    wait (0.3) seconds\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Laser\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        wait (1.5) seconds\n        show\n        wait (3) seconds\n        hide\n        wait (0.1) seconds\n        show\n        wait (0.1) seconds\n        hide\n        wait (0.1) seconds\n        show\n        wait (0.1) seconds\n        hide\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    if <(Level) > [9]> then\n        stop [other scripts in sprite v]\n    end\nend\n\n
新作できました！\n\n逃走中×Platformerという組み合わせとなっています！\n↑「逃走中×Platformer」と検索したときに出てくるというしょうもない目的で書いてみt(((\n\n・矢印キー、WASDキー、タッチで移動\n・rキーで最初の位置に戻る（埋まったとき用）\n・モバイル対応ですが、↑はできません。すみません…\n・マグマ（赤）に触れると戻される\n・オレンジのやつに触れると戻される\n\nていうわけで、世界記録目指してがんばってネ！\n\n世界記録はやく変わんないかなぁ\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nあ、ちなみに、作者は逃走中について全くといっていいほど知りません(((((は？