Cube - A Platformer #games #all

Instructions: My First Good Platformer\ntook me three weeks\narrow keys to move\n\nEverybody who loves and faves and FOLLOWS me gets a follow from my alt accontt and ask to be a curater of my studio and mabye be a manager in the comments.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ncredit to @luke

@Stage\n\n@player\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nbroadcast (1 v)\nforever\n    if <touching (portal v)?> then\n        go to x: (-209) y: (-127)\n        broadcast (next v)\n    end\n    if <touching (spike v)?> then\n        go to x: (-209) y: (-127)\n    end\n    if <touching (water v)?> then\n        go to x: (-209) y: (-127)\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.02) seconds\n    create clone of (_myself_ v)\n    go to [front v] layer\nend\n\nwhen I start as a clone\nswitch costume to (fantasia2 v)\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [start game v]\nwait (1) seconds\nshow\nswitch costume to (fantasia1 v)\ngo to [back v] layer\nset rotation style [left-right v]\ngo to x: (-209) y: (-127)\nforever\n    change [y v] by (-0.5)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n        point in direction (-90)\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 [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>>>> then\n        set [y v] to [10]\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (-6)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>>> then\n                                set [y v] to [10]\n                                if <(x) > [0]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                            else\n                                change x by ((x) * (-1))\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start game v]\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [start game v]\nwait (1) seconds\nforever\n    play sound [Climax by bubblebee3 v] until done\nend\n\nhide\n\nshow\n\n@ground\n\nwhen I receive [1 v]\nswitch costume to (fantasia1 v)\n\nwhen I receive [next v]\nnext costume\n\n@landscape\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to ([costume # v] of [ground v])\nend\n\n@portal\n\nwhen flag clicked\nforever\n    switch costume to ([costume # v] of [ground v])\nend\n\n@spike\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to ([costume # v] of [ground v])\nend\n\n@water\n\nwhen flag clicked\ngo to x: (36) y: (-200)\ngo to [back v] layer\nforever\n    repeat (30)\n        change y by (0.3)\n    end\n    repeat (30)\n        change y by (-0.3)\n    end\nend\n\n@clouds\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (pick random (40) to (75))\ngo to x: (-242) y: (pick random (28) to (-259))\nforever\n    repeat until <(x position) > [171]>\n        move (pick random (2) to (7)) steps\n    end\n    delete this clone\nend\n\n@thumb\n\nwhen flag clicked\nshow\ngo to [front v] layer\nbroadcast (start game v)\nwait (1) seconds\nforever\n    repeat (10)\n        wait (0) seconds\n        change [ghost v] effect by (10)\n    end\nend\n\n