Nuclear escape platformer #all #games

Instructions: hello there is the nuclear escape\nescape from nuclear products and save\nif you give like and star you can see secret message\nand please if you like follow me\nif you can not pass you are a crack but if you can pass you are a supercrack\narrows to move\n#games #all\nthanks all of people that press like and fav \nand a lot of thanks for people that remix mi proyect\nwe are already a great community  

@Stage\n\nwhen flag clicked\nforever\n    play sound [Travel The Galaxy \(HD\).mp3 v] until done\nend\n\n@Player\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nTest die\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nTest die\nif <touching (platforms v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    switch costume to (disfraz1 v)\n    change [sx v] by (-2)\nend\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    switch costume to (disfraz2 v)\n    change [sx v] by (2)\nend\nif <<key (left arrow v) pressed?> and <key (up arrow v) pressed?>> then\n    switch costume to (disfraz4 v)\nend\nif <<key (right arrow v) pressed?> and <key (up arrow v) pressed?>> then\n    switch costume to (disfraz3 v)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player x by (round (sx))\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n    if <[4] > (in air)> then\n        set [sy v] to [16]\n    end\nend\nchange [sy v] by (-2)\nChange Player y by (sy)\nset [scroll y v] to (y)\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\n\nwhen flag clicked\nbroadcast (green flag v) and wait\n\nwhen I receive [green flag v]\nset [ghost v] effect to (0)\nhide\ngo to [front v] layer\ngo [backward v] (1) layers\n\nwhen I receive [playgame v]\nset [level v] to [1]\nforever\n    broadcast (reset v) and wait\n    broadcast (setup v) and wait\n    Game on\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (tick v) and wait\n    end\n    if <(EXIT) = [end]> then\n        end\n    end\nend\n\ndefine Game on\nset [sx v] to [0]\nset [sy v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset [scroll y v] to [0]\nset [scroll x v] to [0]\npoint in direction (90)\nset size to (100) %\nset [ghost v] effect to (0)\nshow\n\ndefine Test die\nif <touching (nuclear v)?> then\n    set [exit v] to [die]\nend\n\nchange [scroll y v] by (round ((() - (SCROLL Y)) / (5)))\n\ndefine end\nrepeat (10)\n    turn right (36) degrees\n    change y by (4)\n    change [ghost v] effect by (10)\nend\nchange [level v] by (1)\n\nhide\n\nwait (1) seconds\n\nwhen I receive [green flag v]\nbroadcast (playgame v) and wait\n\n@nuclear\n\nwhen I receive [tick v]\nset [ghost v] effect to (50)\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <(LEVEL) = [1]> then\n    change [y v] by (3)\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [-375]\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Platforms\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (disfraz1 v)\n    end\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@End\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [end]\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [green flag v]\ngo to [back v] layer\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [360]\n    Clone at x: [0] y: [630]\nelse\n    switch costume to (level 1 1 v)\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Thumbnail2\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\n