World Explorer - A Scrolling Platformer(mobile friendly)
@Stage\n\nwhen [m v] key pressed\nshow variable [mouse v]\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [, ] ((mouse y) + (SCROLL Y))))\n\nwhen I receive [change landscape v]\nswitch backdrop to (landscape)\n\nwhen I receive [change music v]\nstop all sounds\n\nif <not <[] = [1]>> then\nif <not <[] = [2]>> then\n    stop all sounds\nend\nif <not <[] = [3]>> then\n    stop all sounds\nend\nif <not <[] = [4]>> then\n    stop all sounds\nend\n\nstop [this script v]\n\nwhen flag clicked\nset [landscape v] to [grass]\nswitch backdrop to (stripes v)\n\nforever\n    play sound [Electroman Adventures v] until done\nend\n\nwhen I receive [intro done? v]\nswitch backdrop to (menu v)\nforever\n    play sound [Jumper v] until done\n    play sound [Geometry Dash v] until done\n    play sound [Electroman Adventures v] until done\nend\n\n@Blank\n\n@Player\n\nwhen I receive [green flag v]\nset size to (100) %\nset [ghost v] effect to (0)\npoint in direction (90)\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(Exit) > []>\n        Tick\n        if <(X) > [3437]> then\n            set [spawnpoint v] to [desert]\n            set [landscape v] to [desert]\n            broadcast (Change Landscape v)\n            if <(X) > [10039]> then\n                set [spawnpoint v] to [ice]\n                set [landscape v] to [ice]\n                broadcast (Change Landscape v)\n                if <(X) > [16644]> then\n                    set [spawnpoint v] to [fire]\n                    set [landscape v] to [fire]\n                    broadcast (Change Landscape v)\n                else\n                end\n            else\n            end\n        else\n            set [spawnpoint v] to [grass]\n            set [landscape v] to [grass]\n            broadcast (Change Landscape v)\n        end\n        broadcast (Tick v) and wait\n    end\n    if <(Exit) = [win]> then\nend\n\ndefine Game On\nset [ghost v] effect to (0)\nset [pixelate v] effect to (0)\nset [sx v] to [0]\nset [in air v] to [0]\nif <(SpawnPoint) = [grass]> then\n    set [x v] to [0]\n    set [y v] to [0]\n    set [scroll x v] to [0]\n    set [scroll y v] to [0]\nelse\n    if <(SpawnPoint) = [grass2]> then\n        set [x v] to [601]\n        set [y v] to [1160]\n        set [scroll x v] to [601]\n        set [scroll y v] to [1165]\n    else\n        if <(SpawnPoint) = [desert]> then\n            set [x v] to [3449]\n            set [y v] to [1436]\n            set [scroll x v] to [3449]\n            set [scroll y v] to [1440]\n        else\n            if <(SpawnPoint) = [ice]> then\n                set [x v] to [10040]\n                set [y v] to [2041]\n                set [scroll x v] to [10041]\n                set [scroll y v] to [2042]\n            else\n                if <(SpawnPoint) = [fire]> then\n                    set [x v] to [16654]\n                    set [y v] to [2851]\n                    set [scroll x v] to [16654]\n                    set [scroll y v] to [2854]\n                end\n            end\n        end\n    end\nend\nset [sy v] to [0]\nset [exit v] to []\nshow\n\nset [sy v] to [0]\nset [exit v] to []\nshow\nif <(SpawnPoint) = [desert]> then\n    set [x v] to [3449]\n    set [y v] to [1436]\n    set [scroll x v] to [3449]\n    set [scroll y v] to [1440]\nelse\n    if <(SpawnPoint) = [ice]> then\n        set [x v] to [10040]\n        set [y v] to [2041]\n        set [scroll x v] to [10041]\n        set [scroll y v] to [2042]\n    else\n        if <(SpawnPoint) = [fire]> then\n            set [x v] to [16654]\n            set [y v] to [2851]\n            set [scroll x v] to [16654]\n            set [scroll y v] to [2854]\n        end\n    end\nend\n\ndefine Tick\nif <(Talking?) = [no]> then\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [sx v] by (-2)\n    end\n    if <<<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> or <key (d v) pressed?>> then\n        change [sx v] by (2)\n    end\nend\nset [sx v] to ((sx) * (.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player X By (round (sx))\nend\nif <(Talking?) = [no]> then\n    if <<<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            start sound [Zoop v]\n            set [sy v] to [16]\n        end\n    end\nend\nif <(sy) > [-15]> then\n    change [sy v] by (-2)\nend\nChange Player Y By (sy)\nTest-Die\nset [scroll x v] to (X)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((Y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(Y) < [-179]> then\n    set [exit v] to [die]\nend\n\ndefine Change Player Y By (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\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\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 y) > (y position)> and <mouse down?>>> then\n        start sound [Zoop v]\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 Game-Die\nset [turn v] to [25]\nstart sound [explode_11 v]\nset [exit v] to []\nshow\nrepeat (50)\n    change [turn v] by (-.5)\n    change size by (-2)\n    turn right (Turn) degrees\n    change [pixelate v] effect by (1)\n    change [ghost v] effect by (2)\nend\nset [turn v] to [0]\nhide\nwait (.5) seconds\npoint in direction (90)\nset size to (100) %\nclear graphic effects\n\ndefine Test-Die\nif <touching (dangers v)?> then\n    set [exit v] to [die]\nend\n\ndefine Typewriter Talk (speak this)\nset [talk v] to []\nset [count v] to [1]\nrepeat (length of (speak this))\n    set [talk v] to (join (Talk) (letter (Count) of (speak this)))\n    say (Talk)\n    change [count v] by (1)\nend\nwait (2) seconds\nsay []\n\nwhen I receive [start v]\npoint in direction (90)\nset [turn changing? v] to [no]\nset size to (100) %\nset [sy v] to [0]\nset [talking? v] to [yes]\nwait (2) seconds\nTypewriter Talk [Hello,and welcome to my scrolling platformer:World Explorer!]\nwait (1) seconds\nTypewriter Talk [Use Arrow  keys or wasd or mobile control to move.You can do a Wall Jump.]\nwait (1) seconds\nTypewriter Talk [There are four worlds:Grass,Desert,Ice and Fire.So have fun:-\)]\nset [talking? v] to [no]\n\nwhen I receive [start v]\nbroadcast (Green Flag v) and wait\n\nwhen I receive [start v]\nset [spawnpoint v] to [grass]\nset [landscape v] to [grass]\ngo to x: (0) y: (0)\nbroadcast (Play Game v) and wait\n\nwhen I receive [next costume v]\nnext costume\nif <(costume [number v]) = [1]> then\n    set [costume? v] to [1]\nend\nif <(costume [number v]) = [2]> then\n    set [costume? v] to [2]\nend\nif <(costume [number v]) = [3]> then\n    set [costume? v] to [3]\nend\nif <(costume [number v]) = [4]> then\n    set [costume? v] to [4]\nend\nif <(costume [number v]) = [5]> then\n    set [costume? v] to [5]\nend\nif <(costume [number v]) = [6]> then\n    set [costume? v] to [6]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [prevous costume v]\nif <(Costume?) = [1]> then\n    switch costume to (black v)\nend\nif <(Costume?) = [2]> then\n    switch costume to (blue v)\nend\nif <(Costume?) = [3]> then\n    switch costume to (green v)\nend\nif <(Costume?) = [4]> then\n    switch costume to (red v)\nend\nif <(Costume?) = [5]> then\n    switch costume to (yellow v)\nend\nif <(Costume?) = [6]> then\n    switch costume to (white v)\nend\nif <(costume [number v]) = [1]> then\n    set [costume? v] to [1]\nend\nif <(costume [number v]) = [2]> then\n    set [costume? v] to [2]\nend\nif <(costume [number v]) = [3]> then\n    set [costume? v] to [3]\nend\nif <(costume [number v]) = [4]> then\n    set [costume? v] to [4]\nend\nif <(costume [number v]) = [5]> then\n    set [costume? v] to [5]\nend\nif <(costume [number v]) = [6]> then\n    set [costume? v] to [6]\nend\n\nwhen I receive [loading v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [prevous costume v]\nif <(costume [number v]) = [1]> then\n    set [costume? v] to [1]\nend\nif <(costume [number v]) = [2]> then\n    set [costume? v] to [2]\nend\nif <(costume [number v]) = [3]> then\n    set [costume? v] to [3]\nend\nif <(costume [number v]) = [4]> then\n    set [costume? v] to [4]\nend\nif <(costume [number v]) = [5]> then\n    set [costume? v] to [5]\nend\nif <(costume [number v]) = [6]> then\n    set [costume? v] to [6]\nend\n\nwhen I receive [intro done? v]\nswitch costume to (blue v)\nset [costume? v] to [1]\nset [turn changing? v] to [yes]\nset size to (150) %\ngo to x: (150) y: (-49)\nshow\nset [ghost v] effect to (0)\npoint in direction (90)\nrepeat until <(Turn Changing?) = [no]>\n    point in direction ((([sin v] of ((timer) * (400)) ) * (10)) + (90))\nend\n\nif <<(X) > [601]> and <(Y) > [1158]>> then\n    set [spawnpoint v] to [grass 2]\n    set [landscape v] to [grass]\n    broadcast (Change Landscape v)\nelse\nend\n\nset [spawnpoint v] to [grass]\nset [landscape v] to [grass]\nbroadcast (Change Landscape v)\nif <(X) > [10039]> then\n    set [spawnpoint v] to [ice]\n    set [landscape v] to [ice]\n    broadcast (Change Landscape v)\n    if <(X) > [16644]> then\n        set [spawnpoint v] to [fire]\n        set [landscape v] to [fire]\n        broadcast (Change Landscape v)\n    end\nend\n\nbroadcast (Tick v) and wait\n\nset [sy v] to [0]\nset [exit v] to []\nshow\nset [sy v] to [0]\nset [exit v] to []\nshow\n\n\n\n@Platforms\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]\nswitch costume to (level 1 1 v)\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-400] y: [300]\nClone at x: [-450] y: [0]\nClone at x: [520] y: [300]\nClone at x: [300] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [0] y: [300]\nClone at x: [0] y: [300]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [-180]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [0] y: [300]\nClone at x: [0] y: [300]\nClone at x: [472] y: [300]\nClone at x: [472] 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)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [green flag v]\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\n@Dangers\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]\nswitch costume to (level 1 1 v)\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-400] y: [300]\nClone at x: [-450] y: [0]\nClone at x: [520] y: [300]\nClone at x: [300] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [0] y: [300]\nClone at x: [0] y: [300]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [-180]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] 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)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\n@Grass(back)\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]\nswitch costume to (level 1 1 v)\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-400] y: [300]\nClone at x: [-450] y: [0]\nClone at x: [520] y: [300]\nClone at x: [300] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] 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)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [green flag v]\ngo to [back v] layer\n\n@Grass(front)\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]\nswitch costume to (level 1 1 v)\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [472] y: [0]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-100] y: [300]\nClone at x: [-400] y: [300]\nClone at x: [-450] y: [0]\nClone at x: [520] y: [300]\nClone at x: [300] 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)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [green flag v]\nforever\n    go to [front v] layer\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@World Explorer\n\nwhen I receive [start v]\nhide\n\nwhen I receive [loading v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [intro done? v]\nset size to (100) %\nset [ghost v] effect to (0)\ngo to x: (0) y: (50)\nshow\nforever\n    point in direction ((([sin v] of ((timer) * (150)) ) * (20)) + (90))\nend\n\nbroadcast (Intro Done? v)\n\nwhen flag clicked\nhide\n\n@Button\n\nwhen flag clicked\nhide\nset size to (200) %\ngo to x: (0) y: (-50)\nset [ghost v] effect to (0)\nforever\n    point in direction ((([sin v] of ((timer) * (150)) ) * (10)) + (90))\nend\n\nset size to (235) %\n\nwhen flag clicked\n\nwhen I receive [intro done? v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) > [230]>\n            change size by (3)\n        end\n        if <mouse down?> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            broadcast (Loading v)\n            hide\n            stop [this script v]\n        end\n    else\n        repeat until <(size) < [201]>\n            change size by (-3)\n        end\n        set size to (200) %\n    end\nend\n\n@Loading\n\nwhen flag clicked\nset drag mode [draggable v]\nset size to (200) %\nhide\n\nwhen I receive [loading v]\nwait (1) seconds\ngo to x: (0) y: (0)\nshow\nswitch costume to (world v)\nrepeat (3)\n    wait (pick random (0.1) to (2)) seconds\n    next costume\nend\nwait (4) seconds\nbroadcast (Start v)\nhide\n\n@Costume Arrows\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\ngo to x: (100) y: (-50)\nswitch costume to (left arrow v)\nset size to (160) %\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (170) %\n        if <mouse down?> then\n            broadcast (Prevous Costume v)\n            wait until <not <mouse down?>>\n        end\n    else\n        set size to (160) %\n    end\nend\n\nwhen I receive [loading v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\ndelete this clone\n\nwhen flag clicked\nforever\n    point in direction ((([sin v] of ((timer) * (600)) ) * (5)) + (90))\nend\n\nwhen I start as a clone\nwait (.5) seconds\nforever\n    point in direction ((([sin v] of ((timer) * (600)) ) * (5)) + (90))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done? v]\nshow\nset [ghost v] effect to (0)\ngo to x: (200) y: (-50)\nset size to (160) %\nswitch costume to (right arrow v)\ncreate clone of (_myself_ v)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (170) %\n        if <mouse down?> then\n            broadcast (Next Costume v)\n            wait until <not <mouse down?>>\n        end\n    else\n        set size to (160) %\n    end\nend\n\n@Love/Fav/Follow\n\nwhen flag clicked\nset [off screen timer v] to [.1]\nreset timer\nforever\n    set [off screen timer v] to ((timer) + (.1))\nend\n\nwhen [timer v] > (Off Screen Timer)\nhide\nforever\n    create clone of (_myself_ v)\n    wait (.3) seconds\nend\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (1) to (3))\ngo to (random position v)\nset y to (-186)\nrepeat (75)\n    turn right (5) degrees\n    change y by (5)\n    go to [front v] layer\nend\nrepeat (75)\n    turn right (5) degrees\n    change y by (-5)\n    go to [front v] layer\nend\ndelete this clone\n\nwhen [timer v] > (Off Screen Timer)\nforever\n    play sound [Geometry Dash v] until done\nend\n\n@ParticelEffect\n\nwhen flag clicked\nset size to (300) %\ngo to x: (0) y: (0)\npoint in direction (75)\nhide\nrepeat (50)\n    create clone of (_myself_ v)\n    turn left (5) degrees\nend\n\nwhen I receive [effect v]\ngo to [front v] layer\nturn right (10) degrees\nshow\nset [intro velocity v] to (pick random (10) to (15))\nset [height v] to (pick random (2) to (7))\nchange size by (pick random (-180) to (50))\nchange [ghost v] effect by (0)\nset [color v] effect to (pick random (-10) to (10))\nrepeat until <touching (_edge_ v)?>\n    change [color v] effect by (5)\n    move (Intro Velocity) steps\n    go to [back v] layer\n    change [height v] by (-.5)\n    set [intro velocity v] to ((Intro Velocity) * (.97))\n    change [ghost v] effect by (1)\n    change y by (Height)\nend\nhide\ndelete this clone\n\n@Intro\n\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwait (.5) seconds\n\nwhen flag clicked\ngo to x: (0) y: (179.5)\nset [intro y velocity v] to [0]\nset [clone id 2 yvelocity v] to [0]\nset [clone id v] to [0]\nerase all\nshow\npoint in direction (90)\nset [clone timer v] to [no]\nset [size_velocity v] to [70]\nset [clone direction v] to [0]\nswitch costume to ( 1 v)\nset size to (400) %\nrepeat (38)\n    change [intro y velocity v] by (-1)\n    change y by (Intro Y Velocity)\n    if <(y position) < [10]> then\n        set [intro y velocity v] to ((Intro Y Velocity) / (-2))\n        set y to (40)\n    end\nend\nrepeat (35)\n    change size by (Size_Velocity)\n    change [size_velocity v] by (-4)\nend\npoint in direction (90)\nbroadcast (Effect v)\ncreate clone of (_myself_ v)\nchange [clone id v] by (1)\nwait (1) seconds\nrepeat (150)\n    point in direction ((([sin v] of ((timer) * (280)) ) * (25)) + (90))\nend\nshow\npoint in direction (90)\nrepeat (10)\n    change size by (-30)\n    change [ghost v] effect by (10)\nend\nwait (1) seconds\nbroadcast (Intro Done? v)\n\nwhen flag clicked\nreset timer\nhide variable [mouse v]\nset [mouse v] to [0]\nforever\n    set [mouse v] to (join (join [X:] (mouse x)) (join [,] (join [Y:] (mouse y))))\nend\n\nwhen [m v] key pressed\nshow variable [mouse v]\n\nwhen flag clicked\nset volume to (100) %\nstart sound [Jackpot v]\nwait (8) seconds\nrepeat (100)\n    change volume by (-1)\nend\n\nwhen I start as a clone\nset [clone yvelocity v] to [0]\nshow\ngo to [back v] layer\nset size to (100) %\nset [ghost v] effect to (0)\nswitch costume to (2 v)\nclear graphic effects\ngo to x: (0) y: (10)\nrepeat (22)\n    change y by (Clone ID 2 YVelocity)\n    change [clone id 2 yvelocity v] by (-.5)\nend\nrepeat (15)\n    change size by (Clone YVelocity)\n    change [clone yvelocity v] by (1)\nend\nrepeat (100)\n    set size to ((([sin v] of ((timer) * (150)) ) * (50)) + (150)) %\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nforever\n\nwait (.5) seconds\n\nwhen I start as a clone\nwait (1) seconds\nforever\n    set size to ((([sin v] of ((timer) * (150)) ) * (50)) + (150)) %\nend\n\n
#1 on trending \n\n              Click Green Flag Twice!!!!!!\n \n                              Story:\n\n°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°\n\nYou are a little explorer and want to find the golden treasure. \n                              How to play:\n\n°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°\n\nUse arrow keys or wasd or mobile control to \nmove.Every New World Is A Checkpoint!.\n                            \n                                Cheats:\n\n°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°\nNothing.You can't skip or restart a world.\nBUT THERE ARE CHECKPOINTS BECAUSE EVERY WORLD IS A CHECKPOINT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n                            \n                                  Tags:\n°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°\n\n#all#scrolling#funplatformer#enjoy#music#art