Planets||A platformer
@Stage\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch backdrop to (Level)\nend\n\n@Sprite2\n\nwhen flag clicked\npoint in direction (90)\nset [xspawn v] to [-212]\nset [y spawn v] to [26]\ngo to x: (Xspawn) y: (y spawn)\nshow\nset size to (25) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Platformer engine\nend\n\ndefine Platformer engine\nchange [y v] by (-0.5)\nif <key (left arrow v) pressed?> then\n    change [x v] by (-1)\nend\nif <key (right arrow v) pressed?> then\n    change [x v] by (1)\nend\nset [x v] to ((X) * (0.9))\nchange x by (X)\nif <touching color (#000000)?> then\n    change y by (1)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change y by (-6)\n                            change x by ((X) * (-1))\n                            if <key (space v) pressed?> then\n                                set [y v] to [10]\n                                if <(X) > [50]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (Y)\nif <touching color (#000000)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n    set [y v] to [8.5]\nend\nchange y by (0.5)\nif <(x position) > [215]> then\n    change [level v] by (1)\n    go to x: (Xspawn) y: (y spawn)\nend\nif <touching (sprite1 v)?> then\n    go to x: (Xspawn) y: (y spawn)\nend\nif <(y position) < [-153]> then\n    go to x: (Xspawn) y: (y spawn)\nend\n\nwhen backdrop switches to [backdrop12 v]\nhide\nstop [all v]\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Force v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n
Accidentally unshared on june first\nUse Arrows to move\nAvoid spikes, lava, Acid, geysers dangerous gas clouds and more!\nLike and Fave for part two on Exoplanets and dwarf planets\nPLANETS PART 2 IS OUT https://scratch.mit.edu/projects/512957297/\n\n#games #games #games #games #games #games #games #games # games #games #games #games#games #games #games #games #games #games #games #games # games #games #games #games\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\nIdk if you guys read country ball comics or watch youtubers react to them but\n\nComment: Poland can into space :>   \n\n\n\n\n\n