Always Explore || Platformer                ^Mobile Friendly^
@Stage\n\nwhen [m v] key pressed\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [, ] ((mouse y) + (SCROLL Y))))\nshow variable [mouse v]\n\nwhen flag clicked\nhide variable [mouse v]\nswitch backdrop to (backdrop2 v)\nwait (0.5) seconds\nforever\n\nplay sound [TheFatRat - Fly Away feat. Anjulie.mp3 v] until done\n\nwhen flag clicked\nhide variable [coins v]\n\nwait (11.50) seconds\n\nset volume to (50) %\n\n@player\n\nwhen flag clicked\nforever\n    if <<touching (bounce v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [sy v] to [33]\n    else\n        if <touching (bounce v)?> then\n            set [sy v] to [37]\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nset size to (pick random (150) to (250)) %\ngo to x: (pick random (-231) to (231)) y: (173)\nrepeat until <<<touching (art v)?> or <<touching (player v)?> or <touching (platforms v)?>>> or <<touching (_edge_ v)?> or <touching (clouds v)?>>>\n    change y by (-3)\nend\ndelete this clone\n\nwhen flag clicked\nbroadcast (Green Flag v)\nbroadcast (Play Game v)\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game 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)\n    end\n    if <(EXIT) = [Win]> then\n        Game - Win\n    else\n        Game - Die\n    end\nend\n\ndefine Game On\nset [x v] to [-100]\nset [y v] to [200]\nset [scroll x v] to [-100]\nset [scroll y v] to [200]\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset size to (100) %\nset [ghost v] effect to (0)\nshow\n\ndefine Tick\nswitch costume to (middle v)\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>>> then\n    switch costume to (right v)\n    change [sx v] by (-1.9)\nend\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>>> then\n    switch costume to (left v)\n    change [sx v] by (1.9)\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 y) > (y position)> and <mouse down?>>> then\n    if <(in air) < [4]> then\n        switch costume to (up v)\n        set [sy v] to [17]\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange Player y by (sy)\nTest - Die\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nchange [scroll x v] by (round (((X) - (SCROLL X)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-200]> then\n    set [exit v] to [die]\nend\n\ndefine Change Player y by (sy)\nif <not <touching (water v)?>> then\n    change [y v] by (sy)\n    change [in air v] by (1)\nelse\n    change [y v] by ((sy) / (5))\n    set [in air v] to [0]\nend\nPosition\nrepeat until <not <<touching (platform v)?> or <touching (clouds 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\nif <<touching (platform v)?> or <touching (clouds v)?>> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <<touching (clouds v)?> or <touching (platform v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    repeat until <not <<touching (clouds v)?> or <touching (platform 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\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> 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]\nelse\n    set [sx v] to [0]\nend\n\ndefine Game - Die\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\ndefine Test - Die\nif <<<<<touching (spikes v)?> or <touching (saws v)?>> or <touching (show hide  v)?>> or <<touching (enemi v)?> or <touching (enemi2 v)?>>> or <<touching (saws1 v)?> or <touching (saws2 v)?>>> then\n    set [exit v] to [die]\nend\n\ndefine Game - Win\nrepeat (50)\n    point towards (portal v)\n    turn right (65) degrees\n    move ((distance to [portal v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\nwait (1) seconds\n\nwhen I receive [tick v]\nset [coins v] to (join (COLLECTED) (join [/] (COLLECTED MAX)))\n\nwhen flag clicked\nset [timer v] to [0.1]\nforever\n    set [timer v] to (timer)\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (bounce v)?> then\n        change [now you can v] by (1)\n    end\nend\n\nwhen flag clicked\nset [now you can v] to [0]\n\nwhen I receive [green flag v]\nforever\n    play sound [Allison & Vexento - Banana Breeze v] until done\nend\n\nwhen flag clicked\nset [scroll x v] to [0]\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nforever\n    if <not <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>>> then\n        wait (0.1) seconds\n        switch costume to (middle v)\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\nset [ghost v] effect to (30)\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\nwhen I receive [green flag v]\nforever\n    if <touching (coins v)?> then\n        start sound [Collect v]\n    end\nend\n\nwhen I receive [green flag v]\nwait (2) seconds\n\nforever\n    play sound [Subtact - Falling.mp3 v] until done\nend\n\nset volume to (50) %\n\nwhen I receive [green flag v]\nforever\n    play sound [mixkit-meadow-birds-isolated-28 v] until done\nend\n\nwhen flag clicked\nchange [☁ cloud v] by (1)\n\n@Platform\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y)) (costume [name v])\n\nwhen I receive [setup v]\nhide\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: [500] y: [0]\n    switch costume to (level 1 2 v)\n    Clone at x: [500] y: [0]\n    switch costume to (level 1 3 v)\n    Clone at x: [200] y: [100]\n    switch costume to (level 1 4 v)\n    Clone at x: [300] y: [300]\n    switch costume to (level 1 5 v)\n    Clone at x: [360] y: [360]\n    switch costume to (level 1 7 v)\n    Clone at x: [360] y: [500]\n    switch costume to (level 1 8 v)\n    Clone at x: [360] y: [360]\n    switch costume to (level 1 9 v)\n    Clone at x: [360] y: [500]\n    switch costume to (level 1 10 v)\n    Clone at x: [360] y: [500]\n    switch costume to (level 1 11 v)\n    Clone at x: [200] y: [360]\n    switch costume to (level 1 12 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 13 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 14 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 15 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 16 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 17 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 18 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 19 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 20 v)\n    Clone at x: [200] y: [100]\n    switch costume to (level 1 21 v)\n    Clone at x: [360] y: [100]\n    switch costume to (level 1 22 v)\n    Clone at x: [360] y: [100]\n    switch costume to (level 1 23 v)\n    Clone at x: [360] y: [100]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 4 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    end\nend\n\nswitch costume to (level 1 18 v)\n\nClone at x: [200] y: [0]\n\ndefine Position (x) (y) (costume name)\nswitch costume to (big thung v)\ngo to x: (x) y: (y)\nswitch costume to (small thung v)\nset size to (100) %\nswitch costume to (costume name)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nnext costume\n\nClone at x: [360] y: [0]\n\nwhen flag clicked\ngo to [front v] layer\n\nset [ghost v] effect to (3)\n\nwhen flag clicked\nhide\n\nswitch costume to (level 1 12 v)\nClone at x: [0] y: [400]\nswitch costume to (level 1 13 v)\nClone at x: [0] y: [500]\nswitch costume to (level 1 14 v)\nClone at x: [0] y: [600]\nswitch costume to (level 1 15 v)\nClone at x: [0] y: [700]\n\nswitch costume to (level 1 20 v)\nClone at x: [360] y: [100]\n\nwhen flag clicked\ngo [backward v] (1) layers\n\n@Love and Fave \n\nwhen flag clicked\n\nforever\n    go to [front v] layer\n    hide\n    set [ghost v] effect to (0)\n    go to x: (0) y: (100)\n    wait (pick random (15) to (20)) seconds\n    start sound [Spiral v]\n    show\n    repeat (25)\n        change y by (((0) - (y position)) / (7))\n    end\n    wait (1) seconds\n    repeat (25)\n        change [ghost v] effect by (20)\n        change y by (((100) - (y position)) / (7))\n    end\nend\n\n@Level Design\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\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: [360] y: [0]\n    switch costume to (level 1 2 v)\n    Clone at x: [500] y: [1000]\n    switch costume to (level 1 3 v)\n    Clone at x: [248] y: [360]\n    switch costume to (level 1 4 v)\n    Clone at x: [360] y: [360]\n    switch costume to (level 1 5 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 6 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 7 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 8 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 9 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 10 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 11 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 12 v)\n    Clone at x: [360] y: [300]\n    switch costume to (level 1 13 v)\n    Clone at x: [360] y: [300]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 4 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    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 [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nnext costume\n\nClone at x: [396] y: [-131]\nClone at x: [396] y: [-131]\n\nwhen flag clicked\nforever\n    go [backward v] (1) layers\nend\n\nswitch costume to (level 1 8 v)\n\n@Saws\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Position (x) (y)\nturn right (([sin v] of ((days since 2000) * (5000000)) ) * (3)) degrees\ngo to x: (x) y: (y)\ngo to [back v] layer\ngo [forward v] (20) layers\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [-50]\nswitch costume to (level 1 1 v)\n\nClone at x: [2386] y: [450]\nClone at x: [-300] y: [175]\n\nswitch costume to (level 2 v)\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nnext costume\n\nwhen flag clicked\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    if <(Play) = [1]> then\n        show\n    end\nend\n\n@Coins\n\nwhen I receive [flip v]\nnext costume\n\nwhen flag clicked\nforever\n    broadcast (Flip v)\n    wait (0.1) seconds\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [collected v] by (1)\n    if <(COLLECTED) = (COLLECTED MAX)> then\n        broadcast (Open Portal v)\n    end\n    delete this clone\nend\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [collected max v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\nelse\n    if <(LEVEL) = [2]> then\n    set [x v] to [-99999]\nend\nset [x v] to [-99999]\n\nClone at x: [137] y: [140]\nClone at x: [1545] y: [387]\n\nClone at x: [130] y: [922]\n\nClone at x: [-90] y: [878]\nClone at x: [-50] y: [878]\n\nClone at x: [-220] y: [1032]\n\nClone at x: [-35] y: [200]\nClone at x: [-80] y: [200]\n\nClone at x: [805] y: [-91]\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 [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\n@Spikes\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\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: [360] y: [0]\n    switch costume to (level 1 3 v)\n    Clone at x: [360] y: [500]\n    switch costume to (level 1 4 v)\n    Clone at x: [360] y: [360]\n    switch costume to (level 1 5 v)\n    Clone at x: [360] y: [0]\n    switch costume to (level 1 6 v)\n    Clone at x: [360] y: [360]\n    switch costume to (level 1 7 v)\n    Clone at x: [560] y: [500]\n    switch costume to (level 1 8 v)\n    Clone at x: [560] y: [360]\n    switch costume to (level 1 9 v)\n    Clone at x: [560] y: [5]\n    switch costume to (level 1 10 v)\n    Clone at x: [560] y: [5]\n    switch costume to (level 1 11 v)\n    Clone at x: [560] y: [5]\n    switch costume to (level 1 2 v)\n    Clone at x: [1000000000] y: [5]\n    switch costume to (costume1 v)\n    Clone at x: [1000000000] y: [5]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [458] y: [-100]\n        switch costume to (level 2 3 v)\n        Clone at x: [456] y: [-103]\n        switch costume to (level 2 3 v)\n        Clone at x: [575] y: [-104]\n    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 [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nnext costume\n\nwhen flag clicked\nswitch costume to (level 1 1 v)\n\nwhen flag clicked\nrepeat (8)\n    switch costume to (level 1 1 v)\nend\nswitch costume to (level 1 2 v)\n\nClone at x: [456] y: [-103]\nClone at x: [575] y: [-104]\n\nwhen flag clicked\nforever\n\nwhen flag clicked\n\nwhen flag clicked\ngo [forward v] (1) layers\n\n@Portal\n\nwhen flag clicked\nforever\n    broadcast (Flip v)\n    wait (0.1) seconds\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [x v] to [4465]\nset [y v] to [281]\nif <(LEVEL) = [1]> then\n    switch costume to (open v)\nelse\n    if <(LEVEL) = [2]> then\n        Clone at x: [677] y: [299]\n    else\n        set [x v] to [-99999]\n    end\nend\n\nClone at x: [-198] y: [336]\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 [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [open portal v]\nswitch costume to (open v)\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\nend\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<(costume [name v]) = [Open]> and <touching (player v)?>> then\n    set [exit v] to [Win]\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        stop [all v]\n    end\nend\n\n@Thumbnail\n\nset size to (30000) %\n\nforever\n    go to [front v] layer\nend\n\nwhen [timer v] > (Timer2)\nswitch costume to (skärmavbild 2021-07-07 kl v)\ngo to x: (-240) y: (180)\nshow\nwait (0.001) seconds\ngo to [front v] layer\nglide (0.2) secs to x: (0) y: (0)\n\nwhen flag clicked\nbroadcast (Start Intro v)\nshow\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    set [timer v] to ((timer) + (0.0000000000000001))\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\nhide\ngo to [back v] layer\nshow variable [coins v]\n\nwhen [timer v] > (Timer)\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\nhide variable [coins v]\nrepeat until <(round (size)) = [100]>\n    switch costume to (blank v)\n    change size by (((100) - (size)) / (7))\n    switch costume to (skärmavbild 2021-07-07 kl v)\n    change [ghost v] effect by (-1.5)\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\nswitch costume to (blank v)\nset size to (500) %\nswitch costume to (vector3 v)\nforever\n    go to [front v] layer\nend\n\nswitch costume to (costume4 v)\n\n@Water\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [4091]\nset [y v] to [126]\nswitch costume to (1 v)\nClone at x: [0] y: [-300]\n\nrepeat (3)\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nset [ghost v] effect to (70)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nchange y by ((([sin v] of ((days since 2000) * (join [1000000] ((costume [number v]) / (2)))) ) * (3)) * ((costume [number v]) * (0.7)))\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nnext costume\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Bounce\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\ngo to [front v] layer\ngo [backward v] (30) layers\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [-100]\nswitch costume to (level 1 1 v)\n\nClone at x: [2922] y: [281]\nClone at x: [2763] y: [-43]\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nnext costume\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\n@Mountain\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [500]\nif <(LEVEL) = [1]> then\n    Clone at x: [3600] y: [500]\n    Clone at x: [3600] y: [500]\n    Clone at x: [3600] y: [500]\n    Clone at x: [3600] y: [500]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 4 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    end\nend\n\ndefine Position (x) (y)\ngo to [back v] layer\ngo to x: ((x) / (8)) y: ((y) / (8))\nshow\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\n\nClone at x: [360] y: [0]\n\nwhen flag clicked\nforever\n    go [forward v] (1) layers\nend\n\nwhen flag clicked\nhide\n\nswitch costume to (level 1 12 v)\nClone at x: [0] y: [400]\nswitch costume to (level 1 13 v)\nClone at x: [0] y: [500]\nswitch costume to (level 1 14 v)\nClone at x: [0] y: [600]\nswitch costume to (level 1 15 v)\nClone at x: [0] y: [700]\n\nswitch costume to (level 1 20 v)\nClone at x: [360] y: [100]\n\nif <<(x) = (x position)> and <(y) = (y position)>> then\n\n@Trees\n\nwhen this sprite clicked\nnext costume\n\n@Outside\n\nrepeat (25)\n    change x by (((0) - (x position)) / (7))\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        change size by (((107) - (size)) / (9))\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <mouse down?>> then\n        change size by (((100) - (size)) / (9))\n    end\nend\n\n@Clouds\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\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: [500] y: [0]\n    switch costume to (level 1 2 v)\n    Clone at x: [500] y: [0]\n    switch costume to (level 1 3 v)\n    Clone at x: [500] y: [100]\n    switch costume to (level 1 4 v)\n    Clone at x: [300] y: [0]\n    switch costume to (level 1 5 v)\n    Clone at x: [360] y: [360]\n    switch costume to (level 1 7 v)\n    Clone at x: [360] y: [360]\n    switch costume to (level 1 8 v)\n    Clone at x: [360] y: [0]\n    switch costume to (level 1 9 v)\n    Clone at x: [360] y: [200]\n    switch costume to (level 1 10 v)\n    Clone at x: [360] y: [200]\n    switch costume to (level 1 11 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 12 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 13 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 14 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 15 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 16 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 17 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 18 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 19 v)\n    Clone at x: [200] y: [0]\n    switch costume to (level 1 20 v)\n    Clone at x: [200] y: [100]\n    switch costume to (level 1 21 v)\n    Clone at x: [360] y: [100]\n    switch costume to (level 1 22 v)\n    Clone at x: [360] y: [100]\n    switch costume to (level 1 23 v)\n    Clone at x: [360] y: [100]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 4 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    end\nend\n\nswitch costume to (level 1 18 v)\n\nClone at x: [200] y: [0]\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 [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nnext costume\n\nClone at x: [360] y: [0]\n\nwhen flag clicked\nforever\n    go [forward v] (34) layers\n    go to [front v] layer\n    set [ghost v] effect to (40)\nend\n\nset [ghost v] effect to (3)\n\nwhen flag clicked\nhide\n\nswitch costume to (level 1 12 v)\nClone at x: [0] y: [400]\nswitch costume to (level 1 13 v)\nClone at x: [0] y: [500]\nswitch costume to (level 1 14 v)\nClone at x: [0] y: [600]\nswitch costume to (level 1 15 v)\nClone at x: [0] y: [700]\n\nswitch costume to (level 1 20 v)\nClone at x: [360] y: [100]\n\n@Words\n\n@Sprite1\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n
              ✦\n           Aʅɯαყʂ Exρʅσɾҽ\n        Created By 321321em\n       _________________________\n\n\n\n↘︎ Scrolling Platformer.\n↘︎ Art 100% made by me.\n↘︎ Non Generic\n\n↘︎ Credits\n\n↘︎ @Griffpatch for the scrolling tutorial.\n↘︎  Trees by @INorth (he made it to me)\n↘︎ Music is by Vexento\n