Earth - a 360° platformer
@Stage\n\nwhen I receive [win v]\nswitch backdrop to (backdrop4 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\n@Sprite1\n\nwhen flag clicked\nset [color v] effect to (0)\nshow\nswitch costume to (costume3 v)\ngo to x: (30) y: (0)\n\nwhen I receive [respawn v]\nset [brightness v] effect to (100)\nset [ghost v] effect to (100)\nrepeat (20)\n    change [brightness v] effect by (-5)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nforever\n    change y by (-5)\n    if <touching (da spikes v)?> then\n        broadcast (respawn v)\n        change [☁ death count v] by (1)\n        change [death count v] by (1)\n    end\n    change y by (5)\nend\n\nwhen flag clicked\nset [☁ timer v] to [0]\nset [☁ death count v] to [0]\nset [timer v] to [0]\nset [death count v] to [0]\nshow variable [timer v]\nshow variable [death count v]\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume3 v)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (flag v)?> then\n        broadcast (respawn v)\n        broadcast (next level v)\n    end\nend\n\nwhen I receive [win v]\nhide\n\nwhen flag clicked\nforever\n    if <key (c v) pressed?> then\n        repeat until <key (b v) pressed?>\n            change [color v] effect by (25)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (b v) pressed?> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [next level v]\nhide variable [timer v]\nhide variable [death count v]\nwait (2) seconds\nshow variable [death count v]\nshow variable [timer v]\n\nwhen I receive [win v]\nforever\n    hide variable [timer v]\n    hide variable [death count v]\nend\n\nwhen flag clicked\nforever\n    if <key (m v) pressed?> then\n        repeat until <key (n v) pressed?>\n            hide variable [death count v]\n            switch backdrop to (backdrop3 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (n v) pressed?> then\n        show variable [death count v]\n        switch backdrop to (backdrop2 v)\n    end\nend\n\nwhen [timer v] > (0.00000000000000000000000000000000000000000000001)\nhide variable [death count v]\nhide variable [timer v]\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [timer v] by (1)\n    change [☁ timer v] by (1)\nend\n\n@platform\n\nwhen flag clicked\nbroadcast (respawn v)\nSET HACK SIZE TO [400]\nforever\n    change [y vel v] by (1)\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [d vel v] by (-0.3)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [d vel v] by (0.3)\n    end\n    set [d vel v] to ((d vel) * (0.8))\n    turn right (d vel) degrees\n    if <touching (sprite1 v)?> then\n        change y by (-1)\n        if <touching (sprite1 v)?> then\n            change y by (-1)\n            if <touching (sprite1 v)?> then\n                change y by (-1)\n                if <touching (sprite1 v)?> then\n                    change y by (-1)\n                    if <touching (sprite1 v)?> then\n                        change y by (4)\n                        turn right ((d vel) * (-1)) degrees\n                        set [d vel v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change y by (y vel)\n    if <touching (sprite1 v)?> then\n        change y by ((y vel) * (-1))\n        set [y vel v] to [0]\n    end\n    change y by (1)\n    if <touching (sprite1 v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> then\n            start sound [Jump v]\n            set [y vel v] to [-12]\n        end\n    end\n    change y by (-1)\nend\n\ndefine SET HACK SIZE TO (number or text)\nswitch costume to (size hack v)\nset size to (number or text) %\nswitch costume to (costume 1 v)\n\nwhen I receive [respawn v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [d vel v] to [0]\nset [y vel v] to [0]\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        broadcast (respawn v)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\nbroadcast (respawn v)\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [size hack]> then\n        broadcast (win v)\n    end\nend\n\nwhen I receive [win v]\nstop [other scripts in sprite v]\n\n@da spikes\n\ndefine SET HACK SIZE TO (number or text)\nswitch costume to (size hack v)\nset size to (number or text) %\nswitch costume to (costume 1 v)\n\nwhen I receive [respawn v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\n\nwhen flag clicked\nshow\nbroadcast (respawn v)\nSET HACK SIZE TO [400]\nforever\n    go to (platform v)\n    turn right (d vel) degrees\nend\n\nwhen flag clicked\nset [mooooosic v] to [0]\nrepeat until <(mooooosic) = [1]>\n    play sound [Treenan v] until done\nend\nforever\n    play sound [The Script- Hall of Fame v] until done\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [win v]\nset [mooooosic v] to [1]\nstop all sounds\n\n@Sprite2\n\nwhen flag clicked\ngo to [front v] layer\nhide\nswitch costume to (cooltext368316911626213 v)\n\nwhen I receive [next level v]\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (35)\n    next costume\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [win v]\nforever\n    hide\nend\n\n@Sprite3\n\nwhen I receive [win v]\nset [ghost v] effect to (100)\nset [color v] effect to (0)\ngo to x: (80) y: (-15)\nshow\ncreate clone of (_myself_ v)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nforever\n    change [color v] effect by (5)\n    point in direction ((([sin v] of (fhdgfhsdvb) ) * (5)) * (4))\n    change x by (([sin v] of (fhdgfhsdvb) ) * (2))\n    change y by (([sin v] of (fhdgfhsdvb) ) * (3))\n    change [fhdgfhsdvb v] by (3)\nend\n\nwhen flag clicked\npoint in direction (0)\nhide\n\n@Sprite4\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (1000)\nshow\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (0) y: (28)\nforever\n    if <key (right arrow v) pressed?> then\n        change x by ((d vel) * (-0.05))\n    end\n    if <key (left arrow v) pressed?> then\n        change x by ((d vel) * (0.05))\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (0) y: (28)\n\nwhen I receive [respawn v]\ngo to x: (0) y: (28)\n\n@Sprite6\n\nwhen flag clicked\nforever\n    if <key (m v) pressed?> then\n        switch costume to (costume1 v)\n        repeat until <key (n v) pressed?>\n            switch costume to (costume4 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (n v) pressed?> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [win v]\nswitch costume to (costume3 v)\n\nwhen [timer v] > (0.000000000000000000000000000000000001)\nhide\n\n@flag\n\nwhen I receive [respawn v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\n\ndefine SET HACK SIZE TO (number or text)\nswitch costume to (size hack v)\nset size to (number or text) %\nswitch costume to (costume 1 v)\n\nwhen flag clicked\nshow\nbroadcast (respawn v)\nSET HACK SIZE TO [75]\nforever\n    turn right (d vel) degrees\n    go to (platform v)\nend\n\nwhen I receive [next level v]\n\nnext costume\n\n@Sprite7\n\nwhen flag clicked\npoint in direction (0)\nhide\n\nwhen I receive [win v]\nset [ghost v] effect to (100)\nset [color v] effect to (0)\ngo to [front v] layer\ngo to x: (-159) y: (76)\nshow\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nforever\n    point in direction ((([sin v] of (fhdgfhsdvb) ) * (2)) * (5))\n    change x by (([sin v] of (fhdgfhsdvb) ) * (0.1))\n    change y by (([sin v] of (fhdgfhsdvb) ) * (1))\n    change [fhdgfhsdvb v] by (3)\nend\n\nwhen [timer v] > (0.000000000000000000000000000000000000000000001)\nhide\n\n@Sprite8\n\n
VOLUME WARNING ON THE OUTRO. Use the arrow keys or WASD to move in this 360° platformer. Avoid  the huge volcano at the beginning of the levels (that means move to the left not the right), lava, and spikes, and make your way across six levels! On level 4, you can't touch the ground (except at the beginning and nearly at the end), just the platforms.\nIf you want more levels you can either remix with more levels or ask me for more. If you make more, I will add them and give you credit. Press c to make the little alien change colors, and press b for it to stop and turn red again. R to restart is you somehow get yourself stuck :P.\nClick m to hide death count click n to show again. If you click the stop button the variables will hide, credit to my very old project "Click the stop button", which can be found on my profile, I really like that feature.