MARS platformer #games #all
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Upbeat Inspiring Game Music Spirit Run by HeatleyBros v] until done\nend\n\n@Player\n\nwhen flag clicked\nshow\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1)\n        switch costume to (right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1)\n        switch costume to (laft v)\n    end\n    change x by (X Velocity)\n    set [x velocity v] to ((X Velocity) * (0.9))\n    if <touching color (#1b1b1b)?> then\n        change y by (1)\n        if <touching color (#1b1b1b)?> then\n            change y by (1)\n            if <touching color (#1b1b1b)?> then\n                change y by (1)\n                if <touching color (#1b1b1b)?> then\n                    change y by (1)\n                    if <touching color (#1b1b1b)?> then\n                        change y by (1)\n                        if <touching color (#1b1b1b)?> then\n                            change x by ((X Velocity) * (-1))\n                            change y by (-5)\n                        end\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            switch costume to (jamp v)\n                            if <(X Velocity) > [0]> then\n                                set [x velocity v] to [-10]\n                            else\n                                set [x velocity v] to [10]\n                            end\n                            set [y velocity v] to [15]\n                        else\n                            set [x velocity v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching color (#1b1b1b)?> then\n        change y by ((Y Velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        switch costume to (jamp v)\n        if <touching color (#1b1b1b)?> then\n            set [y velocity v] to [15]\n        end\n    end\n    change y by (1)\n    change [scroll x v] by ((x position) * (-1))\n    change [scroll y v] by ((y position) * (-1))\n    go to x: (0) y: (0)\n    if <<<touching color (#ff0000)?> or <touching color (#e60000)?>> or <(Scroll Y) > [700]>> then\n        set [scroll x v] to [726]\n        set [scroll y v] to [110]\n    end\n    if <touching color (#00e5ff)?> then\n        broadcast (Next level v) and wait\n    end\n    if <touching color (#ffbb00)?> then\n        change [y velocity v] by (5)\n        change [scroll y v] by (5)\n    end\nend\n\ndefine Tick\nTick\n\nwhen [r v] key pressed\nset [scroll x v] to [726]\nset [scroll y v] to [110]\n\nwhen [space v] key pressed\nbroadcast (Next level v)\n\nwhen flag clicked\nswitch costume to (player v)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (0) y: (0)\nforever\n    broadcast (Tick v)\nend\n\nwhen flag clicked\nforever\n    if <<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> then\n        switch costume to (laft v)\n    end\n    if <<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        switch costume to (right v)\n    end\nend\n\n@Level\n\nwhen flag clicked\nswitch costume to (level 1 v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [726]\nset [scroll y v] to [110]\n\nwhen flag clicked\nset [level v] to [1]\nset [scroll x v] to [726]\nset [scroll y v] to [110]\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\nend\n\nwhen flag clicked\nshow\n\n@Cloud\n\nwhen I start as a clone\ngo to x: (-230) y: (pick random (35) to (150))\nshow\nswitch costume to (pick random (1) to (20))\nset [ghost v] effect to (pick random (30) to (50))\ngo [forward v] (1) layers\nrepeat (130)\n    change x by (4)\nend\ndelete this clone\n\nwhen I receive [black v]\nset [ghost v] effect to (100)\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (10000000) y: (1000000000000)\ngo to [front v] layer\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (1.5) to (3)) seconds\nend\n\n@Fire Fly~\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (pick random (30) to (100)) %\ngo to [front v] layer\nshow\ngo to x: (230) y: (pick random (-200) to (200))\npoint in direction (pick random (-105) to (-75))\nrepeat (5)\n    change [ghost v] effect by (pick random (-3) to (-10))\nend\nrepeat until <(x position) < [-230]>\n    move (10) steps\nend\nrepeat (5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\n@Moon\n\nwhen flag clicked\nshow\ngo to x: (24) y: (15)\nset size to (100) %\nset [sun v] to [100]\nforever\n    change size by ([cos v] of (Sun) )\n    change [sun v] by (7)\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\n
✪✪✪✪✪✪ Platformer Designer ✪✪✪✪✪✪\n\n❶ Use arrow keys, WASD or mobile touchscreen.\n❷Play the classic worlds!\n❸Try the super easy world designer!  Share your code!\n❹Play other gamers worlds!\n\n\n---------------------------------------------------------------------\nPlay as  Peppa Pig, Mario, Minecraft Steve, and the Fortnite Llama.  Packed with animation and music\n-------------------------------------------------------------------\nOfficial Bonus - to thank you for reading this stuff\n\nIf you add your level code to the comments section, it might get added to the game!\n\n