Space A Platformer!!
@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (31) y: (-42)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen flag clicked\nrepeat (10)\n    go to [front v] layer\n    change [ghost v] effect by (10)\n    change y by (((-1) - (y position)) / (-1.5))\nend\n\nwhen [timer v] > (0.03)\ngo to x: (28) y: (-1000)\nrepeat until <(round (y position)) = [41]>\n    go to [front v] layer\n    change [ghost v] effect by (-10)\n    change y by (((0) - (y position)) / (3))\nend\nset y to (41)\n\ngo to x: (27) y: (-8)\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nshow\npoint in direction (90)\ngo to x: (36) y: (28)\nswitch costume to (costume1 v)\nforever\n    go to [back v] layer\nend\n\n@Moon\n\nwhen flag clicked\nshow\ngo to x: (209) y: (147)\nset size to (90) %\npoint in direction (90)\ngo to [back v] layer\nforever\n    repeat (10)\n        change size by (1)\n    end\n    wait (0.03) seconds\n    repeat (10)\n        change size by (-1)\n    end\n    wait (0.03) seconds\nend\n\nwhen flag clicked\nforever\n    turn right (1) degrees\nend\n\n@Player\n\nwhen flag clicked\nforever\n    if <<not <touching (ground v)?>> and <(Going up) = [0]>> then\n        change y by (yv)\n        change [yv v] by (-1)\n    end\nend\n\nwhen I receive [next level v]\npoint in direction (90)\ngo to x: (-189) y: (-90)\n\nwhen flag clicked\nforever\n    set volume to (120) %\n    play sound [Amadeus - Legendary v] until done\nend\n\nwhen flag clicked\nset size to (65) %\nswitch costume to (stand v)\nshow\ngo to [front v] layer\npoint in direction (90)\ngo to x: (-189) y: (-67)\nset [yv v] to [10]\nforever\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <touching (ground v)?> then\n            set [yv v] to [15]\n            set [going up v] to [1]\n            repeat (10)\n                change y by (yv)\n                change [yv v] by (-1)\n            end\n            set [going up v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        move (9) steps\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        move (9) steps\n        set rotation style [left-right v]\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        switch costume to (stand v)\n        wait (0.1) seconds\n        switch costume to (running v)\n        wait (0.1) seconds\n        switch costume to (stand v)\n    end\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        switch costume to (jump v)\n        wait (0.6) seconds\n        switch costume to (fall v)\n        wait (0.3) seconds\n        switch costume to (stand v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        repeat (10)\n            change [ghost v] effect by (25)\n        end\n        go to x: (-189) y: (-90)\n        set [ghost v] effect to (0)\n        change [health v] by (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        broadcast (Next level v)\n        set size to (65) %\n    end\nend\n\nwhen I receive [try again v]\nhide\n\nwhen I receive [redo v]\ngo to x: (-189) y: (-90)\n\nwhen flag clicked\nforever\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (stand v)\n        wait (0.1) seconds\n        switch costume to (running v)\n        wait (0.1) seconds\n        switch costume to (stand v)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nshow\ngo to x: (-88) y: (-34)\npoint in direction (90)\nswitch costume to (costume1 v)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Intruduction\n\nwhen flag clicked\nshow\ngo to x: (-1) y: (48)\nset size to (100) %\nswitch costume to (costume1 v)\nforever\n    go to [back v] layer\nend\n\nwhen this sprite clicked\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\nnext costume\n\n@Portal\n\nwhen flag clicked\nshow\npoint in direction (90)\ngo to x: (184) y: (-60)\nswitch costume to (costume1 v)\nset size to (100) %\nforever\n    turn right (10) degrees\nend\n\nwhen I receive [try again v]\nhide\n\n@Skip\n\nwhen flag clicked\nforever\n    show\nend\n\nwhen this sprite clicked\nbroadcast (Next level v)\n\nwhen flag clicked\nset [direction v] to [0]\ngo to [back v] layer\npoint in direction (90)\ngo to x: (196) y: (-159)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\n    point in direction ((([sin v] of ((Direction) * (300)) ) * (10)) + (90))\n    change [direction v] by (0.04)\nend\n\n@Redo\n\nwhen flag clicked\ngo to [back v] layer\npoint in direction (90)\ngo to x: (136) y: (-158)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\n    point in direction ((([sin v] of ((Direction) * (300)) ) * (10)) + (90))\nend\n\nwhen this sprite clicked\nbroadcast (Redo v)\n\nwhen flag clicked\nforever\n    show\nend\n\n@Next Level\n\nwhen flag clicked\ngo to [front v] layer\nset size to (100) %\nhide\n\nwhen I receive [next level v]\ngo [forward v] (1) layers\ngo to [front v] layer\nset x to (500)\nshow\nrepeat (6)\n    change x by (-80)\nend\nchange x by (-15)\nwait (0.6) seconds\nrepeat (5)\n    change x by (-80)\nend\nhide\n\n
Hello welcome to my 3rd platformer: Space a Platformer!!\n\nThe goal is to find a space ship to get back home!!!!\nI will be adding the last 2 levels on September 30th\n\nYay I reached 100 followers u can kinda count this as my 100 special!\nArrow keys or mobile to move!!!! Also check out my other Platformer https://scratch.mit.edu/projects/418636919/\n\nEnjoy, ❤️, ⭐️ and Follow for more like this!\n                                 -Credits-\nYoutube for the music, and @-PandaMC- for the Next Level sign!!