Love Hero ☆ Platformer Game
@Stage\n\n@Player\n\nwhen flag clicked\nset [ghost v] effect to (20)\nswitch costume to (idle v)\nshow\nforever\n    if <touching (spikes v)?> then\n        broadcast (Restart v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen [r v] key pressed\nbroadcast (Restart v)\n\nwhen I receive [restart v]\ngo to x: (-220) y: (-30)\nset [y v] to [0]\nset [x v] to [0]\nbroadcast (Setup Enemies v)\n\nwhen I start as a clone\nclear graphic effects\nset rotation style [all around v]\nrepeat (20)\n    turn right (15) degrees\n    change y by (10)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        change [y v] by (1.5)\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (1.5)\n        end\n        if <<key (down arrow v) pressed?> or <<mouse down?> and <(y position) > (mouse y)>>> then\n            change [y v] by (-0.6)\n        end\n    end\nend\n\nwhen flag clicked\nbroadcast (Restart v)\nswitch costume to (idle v)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    go to [front v] layer\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> 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    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (level v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\nend\n\nclear graphic effects\nset rotation style [all around v]\nrepeat (20)\n    turn right (15) degrees\n    change y by (10)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(x position) > [224]> then\n        broadcast (Next level v)\n    end\nend\n\n@Level\n\nwhen I receive [next level v]\nnext costume\nbroadcast (Restart v)\n\nwhen flag clicked\nswitch costume to (level 1 v)\nset [ghost v] effect to (7)\n\nwhen flag clicked\nforever\n    play sound [2020-07-30_-_Conspiracy_Theory_-_David_Fesliyan v] until done\nend\n\n@spikes\n\nwhen I receive [next level v]\nnext costume\nbroadcast (Restart v)\n\nwhen flag clicked\nswitch costume to (level 1 v)\nset [ghost v] effect to (20)\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Water\n\nwhen flag clicked\nswitch costume to (level 1 v)\nset [ghost v] effect to (60)\ngo to [back v] layer\n\nwhen I receive [next level v]\nnext costume\nbroadcast (Restart v)\n\n@Fog\n\nwhen flag clicked\nset [ghost v] effect to (70)\ngo to x: (0) y: (0)\nshow\ncreate clone of (_myself_ v)\nforever\n    change x by (-1)\n    if <(x position) = [-475]> then\n        hide\n    end\nend\n\nwhen I start as a clone\nset x to (475)\nforever\n    change x by (-1)\n    if <(x position) = [0]> then\n        create clone of (_myself_ v)\n    end\n    if <(x position) = [-475]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (70)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Sprite1\n\nwhen [timer v] > (0.01)\nswitch costume to (costume2 v)\nshow\ngo to x: (0) y: (100000)\nrepeat until <(round (y position)) = [0]>\n    go to [front v] layer\n    change y by (((0) - (y position)) / (4))\nend\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nshow\ngo to [front v] layer\n\n
Made entirely in Scratch 1.4.\n\nUSE THE LEFT AND RIGHT ARROW KEYS\n\nI told you guys I was making "A platformer that puts things in a whole new dimension"!\n\nI actually think this could be expanded into a cool idea, but I was too lazy and busy to continue with this concept.  I'd love to see more ideas on a 1D Platformer if you have any!\n\nCheck these out for an even more immersive experience: https://scratch.mit.edu/projects/298916197/\nhttps://scratch.mit.edu/projects/299442633/\n#Games #TopLoved #Art #Music #Stories\n\nOMG GUYS @PADDLE2SEE LOVED AND FAVORITED NOW IT'S GOING TO BE POPULAR AND FEATURED!!!!!\n\nOMG GUYS IT GOT TOP LOVED FOR NO REASON EVEN THOUGH THIS PROJECT IS GARBAGE THANKS