Grayscale- A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\n@player\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-217) y: (-20)\n    end\nend\n\nwhen flag clicked\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\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    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground 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 x) > (x position)>>> then\n            set [y v] to [17]\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    change y by (y)\n    if <touching (ground 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?> and <touching (ground v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [222]> then\n        go to x: (-217) y: (-20)\n        broadcast (NEXT LEVEL v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Hope.mp3 v] until done\nend\n\nwhen flag clicked\ngo to x: (-152) y: (-142)\n\nif <([backdrop # v] of [_stage_ v]) = [14]> then\n\n@ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nclear graphic effects\nswitch costume to (costume1 v)\n\nwhen I receive [green v]\nif <touching color (#c3c3c3)?> then\n    switch costume to (costume12 v)\nend\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\n\nwhen I receive [play v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\ngo [forward v] (1) layers\ngo to x: (45) y: (37)\nshow\n\nwhen this sprite clicked\nhide\nbroadcast (Play v)\n\n@skip button\n\nwhen flag clicked\ngo to x: (36) y: (28)\nhide\n\nwhen I receive [play v]\ngo to x: (36) y: (28)\nshow\n\nwhen this sprite clicked\nbroadcast (NEXT LEVEL v)\n\n
Woohoo! First platformer (or platform) out, hopefully I can manage to make the part 2 in time, and please leave a heart or fav, maybe a follow, and enjoy!\n\nI may not be able to respond to all the comments, but I will try to read all of them. :)