Revenge -Platformer-
@Stage\n\n@player\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\n    show\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (-5)\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (-200) y: (-100)\nset size to (80) %\nswitch costume to (costume1 v)\nshow\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((Xv) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [12]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (platform v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [12]\n        end\n    end\n    if <touching (bounce pad v)?> then\n        set [yv v] to [20]\n    end\n    change y by (1)\n    if <key (r v) pressed?> then\n        reset\n    end\n    if <<(y position) < [-177]> or <touching (spikes v)?>> then\n        reset\n    end\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        broadcast (Next level! v)\n        reset\n    end\nend\n\ndefine reset\ngo to x: (-200) y: (-100)\n\nwhen flag clicked\nhide\n\nhide\n\nwhen I receive [music v]\nforever\n    play sound [Alan Walker K-391  Emelie Hollow - Lily \(Lyrics\) v] until done\nend\n\n@Spikes\n\nwhen I receive [start v]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nhide\n\n@Platform\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (level)\nend\n\nhide\n\n@intro\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (90) %\nstart sound [Surfaces - Sunday Best my-free-mp3s2 v]\nwait (.5) seconds\nrepeat (10)\n    change size by (10)\nend\nrepeat (10)\n    change size by (-10)\nend\nwait (.75) seconds\nrepeat (10)\n    move (7.5) steps\nend\nrepeat (20)\n    move (-7.5) steps\nend\nrepeat (10)\n    move (7.5) steps\nend\nrepeat (10)\n    turn left (7.5) degrees\nend\nrepeat (10)\n    turn right (15) degrees\nend\nrepeat (10)\n    turn left (7.5) degrees\nend\nwait (.1) seconds\nhide\nstop all sounds\nbroadcast (Music v)\nbroadcast (start v)\n\nhide\n\n@ Thumbnail\n\nwhen flag clicked\nhide\n\nshow\n\n
Welcome to Revenge A platformer \n --------------------------------------------\nThis is Moble  Friendly \n------------------------------------------------\nThis is my first platformer!! \n------------------------------------------------ \nThis took about a week to make maybe\nA little less.\n------------------------------------------------------------------- \nArrow keys to move \nWatch out for spikes and lava \n------------------------------------------------ \nPlz Love and fav!!!! \n------------------------------------------------\nEnjoy!!!! \n------------------------------------------------ \n