☁ Blocky Adventures - A Multiplayer Scrolling Platformer ☁ #all #games #trending

Instructions: ✧ Blocky Adventures ✧\n✧ A Multiplayer Scrolling Platformer  ✧\n\n\n ✧ ✧ ✧ How To Play  ✧ ✧ ✧\n ➜ Use Arrow Keys or WASD to move on PC.\n ➜ This game is Mobile Friendly!\n ➜ Collect the star to win the game\n ➜ Look out for Spikes!\n ➜ Collect coins and buy stuff from the shop\n ➜ Love and Fav for 10 free coins!\n\n ➜ There is an easter egg in the game, try to find it out! (You need to have jump boost activated to find the easter egg)\n\n ➜ Server 2: \n   https://scratch.mit.edu/projects/812069580/ \n\n   If the game is laggy, play here:\n   https://turbowarp.org/812068611/fullscreen\n\n   Don't forget to leave a ❤️ and ⭐️ if you enjoyed and \n   maybe even a follow. I worked very hard on this \n   game and would really appreciate it : )\n\n   ✧✧✧ Credits ✧✧✧\n   ➜ @griffpatch for the scrolling engine (heavily modified by me) \n   ➜ @-Floww for the coin asset and animation\n   ➜ @-Xaf- for the music.\n   ➜ Thanks to @-PolyCode-, @RyFeC2021, @volt24 and @Err100 for beta testing the game.\n   ➜ Rest by me @--Patrixx--\n   \n   ✧✧✧ Tags ✧✧✧\n   #BlockyAdventures #Blocky #Adventures \n   #Adventure #--Patrixx-- #Multiplayer #Scrolling \n   #MobileFriendly #Mobile #Platformer \n   #MultiplayerScrollingPlatformer #trending #games \n   #all\n\n   Follow me for more fun games!\n\n   Changelog\n   V1.0 - Initial Release 3/01/23\n   V1.1 - Time removed and changed to variable \n   3/05/23\n   V1.2 - stuff added 3/07/23

@Stage\n\nset [time: v] to (time:)\n\nwhen [m v] key pressed\nshow variable [mouse v]\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [,] ((mouse y) + (SCROLL Y))))\nwait (2) seconds\nhide variable [mouse v]\n\nwhen I receive [green flag v]\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [play game v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    if <(username) = [--Patrixx--]> then\n        if <key (s v) pressed?> then\n            show variable [_coins v]\n        else\n            hide variable [_coins v]\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [_coins v]\n\nwhen flag clicked\nrepeat (10)\n    play sound [Treenan v] until done\nend\n\nwhen flag clicked\nset [time: v] to [0]\nset [win v] to [0]\n\nwhen flag clicked\nset [win v] to [0]\nset [time: v] to [0]\nforever\n    if <(win) = [0]> then\n        wait (1) seconds\n        change [time: v] by (1)\n    else\n        stop [this script v]\n    end\nend\n\n@Blank\n\n@Cloud\n\nwhen I receive [quick loop v]\nAdd Cloud Data\n\ndefine Add Cloud Data\ndelete all of [_cloud data v]\nadd (☁ P1) to [_cloud data v]\nadd (☁ P2) to [_cloud data v]\nadd (☁ P3) to [_cloud data v]\nadd (☁ P4) to [_cloud data v]\nadd (☁ P5) to [_cloud data v]\nadd (☁ P6) to [_cloud data v]\nadd (☁ P7) to [_cloud data v]\nadd (☁ P8) to [_cloud data v]\nadd (☁ P9) to [_cloud data v]\nadd (☁ P10) to [_cloud data v]\nBuild Username List\n\nwhen I receive [begin v]\nforever\n    set [_data ^ v] to (join (join [.] (join (round (([x v] of [player v]) + (2000))) (round (([y v] of [player v]) + (2000))))) (_MyUsername))\n    if <(_PlayerSlot) = [1]> then\n        set [☁ p1 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [2]> then\n        set [☁ p2 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [3]> then\n        set [☁ p3 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [4]> then\n        set [☁ p4 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [5]> then\n        set [☁ p5 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [6]> then\n        set [☁ p6 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [7]> then\n        set [☁ p7 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [8]> then\n        set [☁ p8 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [9]> then\n        set [☁ p9 v] to (_Data ^)\n    end\n    if <(_PlayerSlot) = [10]> then\n        set [☁ p10 v] to (_Data ^)\n    end\n    wait (0.1) seconds\nend\n\ndefine Build Username List\ndelete all of [_usernames v]\nset [_i v] to [0]\nrepeat (10)\n    change [_i v] by (1)\n    Letter [10] to (length of (item (_i) of [_cloud data v])) of (item (_i) of [_cloud data v])\n    set [_anscc v] to [1]\n    set [_temp v] to []\n    repeat ((length of (_ans)) / (2))\n        switch costume to (join (letter (_anscc) of (_ans)) (letter ((_anscc) + (1)) of (_ans)))\n        set [_temp v] to (join (_temp) (costume [name v]))\n        change [_anscc v] by (2)\n    end\n    if <(item (_i) of [_on/off v]) = [1]> then\n        add (_temp) to [_usernames v]\n    else\n        add [] to [_usernames v]\n    end\nend\n\ndefine Letter (1st) to (2nd) of (text)\nset [_ans v] to []\nset [_ansc v] to (1st)\nrepeat (((2nd) - (1st)) + (1))\n    set [_ans v] to (join (_ans) (letter (_ansc) of (text)))\n    change [_ansc v] by (1)\nend\n\ndefine Encode (username)\nset [_ansc v] to [1]\nset [_myusername v] to []\nrepeat (length of (username))\n    switch costume to (letter (_ansc) of (username))\n    set [_myusername v] to (join (_MyUsername) (costume [number v]))\n    change [_ansc v] by (1)\nend\n\nwhen flag clicked\nset [usernames v] to [1]\nEncode (username)\nforever\n    broadcast (Quick Loop v)\nend\n\nwhen I receive [begin v]\nforever\n    wait until <key (n v) pressed?>\n    if <(usernames) = [1]> then\n        set [usernames v] to [0]\n    else\n        set [usernames v] to [1]\n    end\n    wait until <not <key (n v) pressed?>>\nend\n\nwhen I receive [begin v]\nforever\n    set [kick? v] to (_Data ^)\n    wait (30) seconds\n    if <(kick?) = (_Data ^)> then\n        broadcast (Inactive v) and wait\n        stop [all v]\n    end\nend\n\n@connect\n\nwhen flag clicked\nset size to (100) %\nset [__players v] to [1]\nJoining 1st\nswitch costume to (connecting v)\nshow\nset [ghost v] effect to (100)\ngo to x: (-50) y: (95)\nrepeat (25)\n    change y by (((45) - (y position)) / (5))\n    change [ghost v] effect by (-4)\nend\nwait (3) seconds\nJoining 2nd\nwait (1) seconds\nrepeat (10)\n    change y by (((95) - (y position)) / (20))\n    change [ghost v] effect by (10)\nend\n\ndefine Joining 1st\ndelete all of [_on/off v]\nrepeat (10)\n    add [0] to [_on/off v]\nend\nset [_playerslot v] to [null]\ndelete all of [_joining v]\nset [_i v] to [0]\nrepeat (10)\n    change [_i v] by (1)\n    add (item (_i) of [_cloud data v]) to [_joining v]\nend\n\ndefine Joining 2nd\nset [_i v] to [0]\nrepeat (10)\n    change [_i v] by (1)\n    if <(item (_i) of [_cloud data v]) = (item (_i) of [_joining v])> then\n        set [_playerslot v] to (_i)\n        switch costume to (connected v)\n        broadcast (Begin v)\n        stop [this script v]\n    end\nend\nset [_playerslot v] to [0]\nswitch costume to (full v)\n\ndefine Inactive 1st\ndelete all of [_joining v]\nset [_i v] to [0]\nrepeat (10)\n    change [_i v] by (1)\n    add (item (_i) of [_cloud data v]) to [_joining v]\nend\n\ndefine Inactive 2nd\nset [_i v] to [0]\nrepeat (10)\n    change [_i v] by (1)\n    if <(item (_i) of [_cloud data v]) = (item (_i) of [_joining v])> then\n        replace item (_i) of [_on/off v] with [0]\n    else\n        replace item (_i) of [_on/off v] with [1]\n    end\nend\nreplace item (_PlayerSlot) of [_on/off v] with [1]\nset [_i v] to [0]\nset [__players v] to [0]\nrepeat (10)\n    if <(item (_i) of [_on/off v]) = [1]> then\n        change [__players v] by (1)\n    end\n    change [_i v] by (1)\nend\nif <(item (1) of [_on/off v]) = [0]> then\n    set [☁ p1 v] to []\nend\nif <(item (2) of [_on/off v]) = [0]> then\n    set [☁ p2 v] to []\nend\nif <(item (3) of [_on/off v]) = [0]> then\n    set [☁ p3 v] to []\nend\nif <(item (4) of [_on/off v]) = [0]> then\n    set [☁ p4 v] to []\nend\nif <(item (5) of [_on/off v]) = [0]> then\n    set [☁ p5 v] to []\nend\nif <(item (6) of [_on/off v]) = [0]> then\n    set [☁ p6 v] to []\nend\nif <(item (7) of [_on/off v]) = [0]> then\n    set [☁ p7 v] to []\nend\nif <(item (8) of [_on/off v]) = [0]> then\n    set [☁ p8 v] to []\nend\nif <(item (9) of [_on/off v]) = [0]> then\n    set [☁ p9 v] to []\nend\nif <(item (10) of [_on/off v]) = [0]> then\n    set [☁ p10 v] to []\nend\n\nwhen I receive [begin v]\nreplace item (_PlayerSlot) of [_on/off v] with [1]\nforever\n    Inactive 1st\n    wait (6) seconds\n    Inactive 2nd\nend\n\nwhen I receive [inactive v]\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (kicked v)\nshow\nstop all sounds\nclear graphic effects\ngo to [front v] layer\nwait (3) seconds\nstop [all v]\n\n@Player\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [play game v]\nset [checkpoint v] to [0]\nset [_jump height v] to [16]\nset [_walk speed v] to [2]\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) = [Die]> then\n        Game - Die\n    end\n    if <(EXIT) = [Win]> then\n        repeat (2)\n            broadcast (Win v)\n            hide\n        end\n    end\nend\n\ndefine Game On\npoint in direction (90)\nif <(CHECKPOINT) = [0]> then\n    set [x v] to [-100]\n    set [y v] to [50]\nelse\n    set [x v] to (item (CHECKPOINT) of [cp x v])\n    set [y v] to (item (CHECKPOINT) of [cp y v])\nend\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset [scroll x v] to (x)\nset [scroll y v] to (y)\nset [frame v] to [0]\nset size to (100) %\nshow\nset [ghost v] effect to (0)\nswitch costume to (hitbox v)\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\nPosition\nrepeat until <not <touching (underneath v)?>>\n    change [y v] by (1)\n    set [in air v] to [0]\n    Position\nend\nPosition\nrepeat until <not <touching (moving 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    Position\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\nPosition\nif <touching (moving v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (moving v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    Position\n    repeat until <not <touching (moving 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 <<mouse down?> and <((mouse y) - (y position)) > [50]>>> 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 (4)\n    change [ghost v] effect by (25)\nend\nwait (0.25) seconds\nset [exit v] to []\n\ndefine Test - Collision\nif <touching (trampolines v)?> then\n    start sound [Drum Boing v]\n    set [sy v] to [34]\n    broadcast (Bounce v)\nend\nif <<touching (danger v)?> or <<touching (saw v)?> or <touching (enemy v)?>>> then\n    set [exit v] to [Die]\nend\nif <touching (star v)?> then\n    stop all sounds\n    start sound [mixkit-bonus-extra-in-a-video-game-2064 v]\n    set [win v] to [1]\n    set [exit v] to [Win]\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Tick\nset rotation style [left-right v]\nif <(_Shop) = [0]> then\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        change [sx v] by ((_Walk Speed) * (-1))\n    end\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        change [sx v] by (_Walk Speed)\n    end\n    set [sx v] to ((sx) * (0.8))\n    if <([abs v] of (sx) ) > [0.9]> then\n        Change Player x by (round (sx))\n    end\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>>> then\n        change [y v] by (10)\n        Position\n        if <(in air) < [4]> then\n            set [sy v] to (_Jump Height)\n        end\n        change [y v] by (-10)\n    end\n    if <(sy) > [-20]> then\n        change [sy v] by (-2)\n    end\n    Change Player y by (sy)\n    Position\n    Test - Collision\n    change [scroll x v] by (round (((x) - (SCROLL X)) / (5)))\n    change [scroll y v] by (round (((y) - (SCROLL Y)) / (5)))\n    if <(SCROLL X) < [0]> then\n        set [scroll x v] to [0]\n    end\n    if <(SCROLL Y) < [0]> then\n        set [scroll y v] to [0]\n    end\n    Position\n    if <(y) < [-175]> then\n        set [exit v] to [Die]\n    end\n    switch costume to (hitbox v)\nend\n\ngo to (player v)\n\nwhen I receive [mv v]\nMv\n\ndefine Mv\nchange [y v] by (-2)\nPosition\nif <touching (moving v)?> then\n    change [x v] by (item (1) of [moving v])\nend\nchange [y v] by (2)\nPosition\n\nwhen [timer v] > (0.000001)\nhide\n\nset [x v] to [2745]\nset [y v] to [-25]\nset [scroll x v] to [2745]\nset [scroll y v] to [-25]\n\nwhen flag clicked\nset [time v] to [0]\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nset [exit v] to [Win]\n\nwhen I receive [win v]\nstop [other scripts in sprite v]\n\n@Other Players\n\nwhen I receive [begin v]\nCloning\n\ndefine Cloning\nset [_clone id v] to [0]\nrepeat (10)\n    change [_clone id v] by (1)\n    if <not <(_clone id) = (_PlayerSlot)>> then\n        create clone of (_myself_ v)\n    end\nend\nset [_clone id v] to [P]\nhide\n\nwhen I receive [quick loop v]\nif <not <(_clone id) = [P]>> then\n    Decode (item (_clone id) of [_cloud data v])\nend\n\ndefine Decode (data)\nRead Values (data)\nPosition\n\ndefine Read Values (data)\nLetter [2] to [5] of (data)\nset [x v] to ((_ans) - (2000))\nLetter [6] to [9] of (data)\nset [y v] to ((_ans) - (2000))\nif <(usernames) = [1]> then\n    say (item (_clone id) of [_usernames v])\nelse\n    say []\nend\n\ndefine Position\nchange x by ((((x) - (SCROLL X)) - (x position)) / (3))\nchange y by ((((y) - (SCROLL Y)) - (y position)) / (3))\nset size to (100) %\nif <<<((x) - (SCROLL X)) < [-240]> or <((x) - (SCROLL X)) > [240]>> or <<((y) - (SCROLL Y)) > [180]> or <((y) - (SCROLL Y)) < [-180]>>> then\n    hide\nelse\n    if <(item (_clone id) of [_on/off v]) = [0]> then\n        hide\n    else\n        show\n    end\nend\n\ndefine Letter (1st) to (2nd) of (text)\nset [_ans v] to []\nset [_i v] to (1st)\nrepeat (((2nd) - (1st)) + (1))\n    set [_ans v] to (join (_ans) (letter (_i) of (text)))\n    change [_i v] by (1)\nend\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: [950] y: [0]\nClone at x: [1300] y: [0]\nClone at x: [1350] y: [200]\nClone at x: [480] y: [0]\nClone at x: [480] y: [0]\nClone at x: [480] y: [0]\nClone at x: [1200] y: [0]\nClone at x: [480] 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\nshow\n\nbroadcast (Reset v)\nbroadcast (Setup v)\n\n@Danger\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 (spike v)\nClone at x: [950] y: [0]\nClone at x: [1300] y: [170]\nClone at x: [2000] y: [0]\nClone at x: [2000] 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\nbroadcast (Reset v)\nbroadcast (Setup v)\n\n@moving\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nset [prev x v] to (x)\nset [x v] to ((ox) + (([cos v] of (((days since 2000) * (100000)) * (45)) ) * (150)))\nset [x diff v] to ((x) - (prev x))\nreplace item (clone) of [moving v] with (x diff)\nbroadcast (Mv 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]\nset [clone v] to [0]\ndelete all of [moving v]\nswitch costume to (moving v)\nClone at x: [1600] y: [0]\nset [x v] to [-9999999999]\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)\nset [ox v] to (x)\nchange [clone v] by (1)\nadd [] to [moving v]\ncreate clone of (_myself_ v)\n\n@saw\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nset size to (65) %\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nturn right (10) degrees\nif <(special) = [1]> then\n    set [x v] to ((ox) + (([cos v] of (((days since 2000) * (100000)) * (170)) ) * (150)))\nend\n\nwhen I receive [setup v]\nhide\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (saw v)\nset [x v] to [-9999999999]\nClone at x: [5540] y: [50] special: [1]\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) special: (special)\nset [ox v] to (x)\nset [x v] to (x)\nset [y v] to (y)\nset [special v] to (special)\ncreate clone of (_myself_ v)\n\nbroadcast (Reset v)\nbroadcast (Setup v)\n\n@Coins\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nset size to (100) %\ngo to [back v] layer\nset [y v] to ((oy) + (([cos v] of ((days since 2000) * ((100000) * (150))) ) * (5)))\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    start sound [Coin v]\n    broadcast (coins v)\n    change [_coins v] by (1)\n    delete this clone\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [_coins v] to [0]\nswitch costume to (collectable v)\nClone at x: [220] y: [-75]\nClone at x: [250] y: [-75]\nClone at x: [516] y: [15]\nClone at x: [760] y: [10]\nClone at x: [790] y: [10]\nClone at x: [820] y: [10]\nClone at x: [1100] y: [120]\nClone at x: [2350] y: [390]\nClone at x: [2380] y: [390]\nClone at x: [2565] y: [390]\nClone at x: [2595] y: [390]\nClone at x: [2955] y: [390]\nClone at x: [2995] y: [390]\nClone at x: [3035] y: [390]\nClone at x: [3075] y: [390]\nClone at x: [3115] y: [390]\nClone at x: [3155] y: [390]\nClone at x: [3195] y: [390]\nClone at x: [3235] y: [390]\nClone at x: [3275] y: [390]\nClone at x: [3446] y: [270]\nClone at x: [3446] y: [240]\nClone at x: [3446] y: [210]\nClone at x: [3630] y: [205]\nClone at x: [3660] y: [205]\nClone at x: [3690] y: [205]\nClone at x: [3720] y: [205]\nClone at x: [3750] y: [205]\nClone at x: [4160] y: [205]\nClone at x: [4190] y: [205]\nset [x v] to [-9999999999]\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)\nset [oy v] to (y)\ncreate clone of (_myself_ v)\n\nClone at x: [2720] y: [390]\n\nwhen I receive [win v]\nstop [other scripts in sprite v]\n\n@Trampolines\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 (0 v)\nClone at x: [2213] y: [68]\nset [x v] to [-99999]\n\nClone at x: [2010] y: [380]\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)\ncreate clone of (_myself_ v)\n\nwhen I receive [bounce v]\nswitch costume to (-2 v)\n\n@Checkpoints\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    if <not <(CHECKPOINT) = (clone)>> then\n        start sound [Check Point v]\n        set [checkpoint v] to (clone)\n    end\n    set [brightness v] effect to (10)\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [clone v] to [0]\ndelete all of [cp x v]\ndelete all of [cp y v]\nset size to (50) %\nswitch costume to (1 v)\nClone at x: [2078] y: [-30]\nClone at x: [3565] y: [202.5]\nset [x v] to [-9999999999]\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 [clone v] by (1)\nadd (x) to [cp x v]\nadd (y) to [cp y v]\ncreate clone of (_myself_ v)\n\n@TN\n\nwhen flag clicked\nshow\nforever\n    reset timer\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\nwhen flag clicked\nbroadcast (Play Game v)\n\n@Enemy\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nset [x v] to ((ox) + (([cos v] of (((days since 2000) * (100000)) * (30)) ) * (150)))\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset size to (100) %\nset [x v] to [0]\nset [y v] to [0]\nset [clone v] to [0]\nswitch costume to (costume1 v)\nClone at x: [3115] y: [378]\nset [x v] to [-9999999999]\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)\nset [ox v] to (x)\nchange [clone v] by (1)\ncreate clone of (_myself_ v)\n\n@Shop\n\nwhen flag clicked\nhide\ngo to x: (-133) y: (-36)\n\nwhen I receive [shop v]\nshow\n\nwhen this sprite clicked\nset [_shop v] to [0]\n\nwhen this sprite clicked\nhide\n\nwhen flag clicked\nforever\n    if <(_Shop) = [0]> then\n        hide\n    end\nend\n\n@shop button\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (shop v)\ngo to x: (-198) y: (-156)\nset [_shop v] to [0]\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((110) - (size)) / (4))\n        set [brightness v] effect to (10)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        change size by (((100) - (size)) / (4))\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n    if <(_Shop) = [0]> then\n        set [_shop v] to [1]\n    else\n        set [_shop v] to [0]\n    end\n    wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\nend\n\nwhen flag clicked\nforever\n    if <(_Shop) = [1]> then\n        broadcast (Shop v)\n        hide\n    else\n        show\n    end\nend\n\n@Star\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 [7060]\nset [y v] to [380]\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\n@WIN\n\nwait () seconds\n\nwhen flag clicked\nhide variable [time: v]\nshow\nset [ghost v] effect to (100)\n\nwhen I receive [win v]\ngo to [front v] layer\nshow variable [time: v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nset [win v] to [1]\n\nset [win v] to [1]\n\n@text\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: [950] y: [0]\nClone at x: [1300] y: [0]\nClone at x: [300] y: [600]\nClone at x: [480] y: [0]\nClone at x: [480] y: [0]\nClone at x: [0] y: [0]\nClone at x: [0] y: [-360]\nClone at x: [-200] y: [290]\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\nshow\n\nbroadcast (Reset v)\nbroadcast (Setup v)\n\n@Coineffect\n\ndefine Effect (c)\nswitch costume to (c)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset [disappearing v] to [0]\nshow\nclear graphic effects\nset size to (0) %\ngo to [front v] layer\ngo [backward v] (3) layers\nforever\n    change size by (((300) - (size)) / (20))\n    change [disappearing v] by (((1000) - (Disappearing)) / (20))\n    change [fisheye v] effect by (Disappearing)\n    change [ghost v] effect by (10)\n    go to (player v)\nend\n\nwhen I receive [coins v]\ngo to (player v)\nEffect [E1]\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nwait (1) seconds\ndelete this clone\n\n@buy_button2\n\nwhen this sprite clicked\nif <<<[20] < (_Coins)> or <(_Coins) = [20]>> and <(already clicked2) = [0]>> then\n    switch costume to (costume2 v)\n    change [_coins v] by (-20)\n    set [already clicked2 v] to [1]\n    set [_walk speed v] to [4]\nend\n\nwhen flag clicked\nset [already clicked2 v] to [0]\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((103) - (size)) / (4))\n        set [brightness v] effect to (10)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        change size by (((100) - (size)) / (4))\n        clear graphic effects\n    end\n    if <(_Shop) = [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\nshow\n\n@buy_button\n\nwhen flag clicked\nset [already clicked v] to [0]\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((103) - (size)) / (4))\n        set [brightness v] effect to (10)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        change size by (((100) - (size)) / (4))\n        clear graphic effects\n    end\n    if <(_Shop) = [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\nshow\n\nwhen this sprite clicked\nif <<<[10] < (_Coins)> or <(_Coins) = [10]>> and <(already clicked) = [0]>> then\n    switch costume to (costume2 v)\n    change [_coins v] by (-10)\n    set [already clicked v] to [1]\n    set [_jump height v] to [25]\nend\n\n@detector\n\nwhen flag clicked\n\ndefine Detect (thing) at (x) (y)\nswitch costume to (empty v)\nset size to (27000) %\ngo to x: (x) y: (y)\nset size to (100) %\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [touching v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [love]>\n    wait (0.2) seconds\n    if <(touching) = [love]> then\n        change [actions \(love/fave\) v] by (1)\n        broadcast (love/fav v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [fave]>\n    wait (0.2) seconds\n    if <(touching) = [fave]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait until <(Actions \(love/fave\)) = [2]>\n\nwhen I receive [begin v]\nshow\nset [ghost v] effect to (100)\nset [actions \(love/fave\) v] to [0]\nforever\n    set [touching v] to [none]\n    Detect [love] at [-201] [-220]\n    Detect [fave] at [-201] [-220]\nend\n\n@thanks\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [love/fav v]\nchange [ghost v] effect by (5)\nchange [_coins v] by (10)\nrepeat (30)\n    change size by ((20) - ((size) * (0.2)))\n    change [ghost v] effect by (-5)\nend\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Coins-counter\n\nwhen I start as a clone\nshow\nforever\n    Change Costume to (join [-] (letter (Score: Index) of (_Coins)))\n    change size by ((0.2) * ((60) - (size)))\nend\n\ndefine Setup\nhide\nset x to (193)\nset y to (150)\nswitch costume to (-9 v)\nset size to (37) %\nset [score: index v] to [1]\nrepeat (6)\n    create clone of (_myself_ v)\n    change x by ((size) / (2))\n    change [score: index v] by (1)\nend\n\ndefine Change Costume to (costume)\nif <not <(costume) = (costume [name v])>> then\n    switch costume to (costume)\n    set size to (60) %\nend\n\nwait (2) seconds\n\nwhen flag clicked\nshow\nset [_coins v] to [0]\nSetup\nforever\n    wait (1) seconds\nend\n\n@Coin idk\n\n