Dagoba a Star Wars Platformer
@Stage\n\nwhen backdrop switches to [backdrop5 v]\nwait (2) seconds\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop5 v)\n\nwhen backdrop switches to [backdrop4 v]\nplay sound [say so v] until done\n\n@Player\n\nwhen flag clicked\nset [y spawn v] to [-80]\nset [x spawn v] to [-218]\ngo to x: (X Spawn) y: (Y Spawn)\nswitch costume to (player v)\nswitch backdrop to (backdrop1 v)\nshow\nset size to (50) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Run block\nend\n\ndefine Run Engine\nchange [y v] by (-0.5)\nif <<key (left arrow v) pressed?> or <<(x position) > (mouse y)> and <mouse down?>>> then\n    change [x v] by (-0.9)\nend\nif <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n    change [x v] by (0.9)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <<touching color (#844343)?> or <touching color (#00ff2c)?>> then\n    change y by (1)\n    if <<touching color (#844343)?> or <touching color (#00ff2c)?>> then\n        change y by (1)\n        if <<touching color (#844343)?> or <touching color (#00ff2c)?>> then\n            change y by (1)\n            if <<touching color (#844343)?> or <touching color (#00ff2c)?>> then\n                change y by (1)\n                if <<touching color (#844343)?> or <touching color (#00ff2c)?>> then\n                    change y by (1)\n                    if <<touching color (#844343)?> or <touching color (#00ff2c)?>> then\n                        change y by (1)\n                        if <<touching color (#844343)?> or <touching color (#00ff2c)?>> then\n                            change y by (-6)\n                            change x by ((x) * (-1))\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                set [y v] to [9]\n                                if <(x) > [0]> 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 (#844343)?> or <touching color (#00ff2c)?>> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<<<touching color (#844343)?> or <touching color (#00ff2c)?>> and <key (up arrow v) pressed?>> or <<<touching color (#844343)?> or <touching color (#00ff2c)?>> and <<(mouse y) > (y position)> and <mouse down?>>>> then\n    set [y v] to [9.5]\nend\nchange y by (0.5)\nif <touching color (#ff0202)?> then\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    go to x: (X Spawn) y: (Y Spawn)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    set [x v] to [0]\n    set [y v] to [0]\nend\nif <(x position) > [233]> then\n    go to x: (X Spawn) y: (Y Spawn)\n    next backdrop\n    set [x v] to [0]\n    set [y v] to [0]\nend\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (trail v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-3)\nend\ndelete this clone\n\ndefine Run block\nRun Engine\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (costume1 v)\n\nwhen flag clicked\nswitch costume to (player v)\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop11 v]\nswitch costume to (player v)\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\n@TN\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to x: (0) y: (5)\n    go to [front v] layer\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen this sprite clicked\nhide\n\n@Sprite2\n\nwhen [r v] key pressed\nshow\nwait (.5) seconds\nhide\n\nwhen flag clicked\nhide\n\n
               Click on the right blocks to destroy them   \n                            use arrows Press r to reset\n                                     Death Star 3  \n___________________________________________\n\nDifficulty: Super Easy! (You might get from 0-5 deaths)\n\nCredits:\n- All coding was done by @Squadd_Legend \n- @MJM3 for the character, edited by me.\n- Song: Say So - Doja Cat\n\nLeave a love and favourite\n\nJust letting you all know, if we get 100 views I will make \n                          Death Star 3 a platformer.\n\nLove, favourite,and follow please! I'd be delighted to get top-loved.\n\nBye!