SPIKED-a platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Vexento - Masked Heroes.mp3 v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Spike1\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (spike v)\nclear graphic effects\npoint in direction (90)\ngo to x: (36) y: (28)\nhide\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (36) y: (28)\nshow\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-86) y: (9)\npoint in direction (0)\nshow\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (112) y: (38)\npoint in direction (90)\nshow\n\nwhen backdrop switches to [backdrop9 v]\nswitch costume to (spike2 v)\ngo to x: (112) y: (38)\npoint in direction (90)\nshow\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (spike v)\ngo to x: (-162) y: (-9)\npoint in direction (0)\nshow\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\nswitch costume to (spike v)\ngo to x: (-59) y: (34)\npoint in direction (90)\nshow\n\nwhen backdrop switches to [backdrop12 v]\ngo to x: (36) y: (28)\nshow\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\ngo to x: (86) y: (27)\nshow\n\nwhen backdrop switches to [backdrop14 v]\nswitch costume to (spike2 v)\nforever\n    change [color v] effect by (5)\n    change size by (5)\n    change size by (-5)\nend\n\n@sun\n\nwhen I start as a clone\ngo to [back v] layer\nset size to (100) %\nswitch costume to (fantasia2 v)\nset [ghost v] effect to (50)\nforever\n    repeat (45)\n        change size by (0.5)\n    end\n    repeat (45)\n        change size by (-0.5)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\ngo to [back v] layer\nswitch costume to (fantasia1 v)\ncreate clone of (_myself_ v)\nchange [ghost v] effect by (5)\n\n@Next level\n\nwhen flag clicked\nshow\nswitch backdrop to (backdrop1 v)\ngo to x: (36) y: (28)\n\n@Level\n\nwhen flag clicked\nshow\ngo [forward v] (1) layers\nswitch costume to (costume1 v)\ngo to x: (22) y: (-260)\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [backdrop10 v]\nswitch costume to (costume7 v)\n\nwhen backdrop switches to [backdrop9 v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (costume6 v)\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume8 v)\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costume9 v)\n\nwhen backdrop switches to [backdrop11 v]\nswitch costume to (costume10 v)\n\nwhen backdrop switches to [backdrop12 v]\nswitch costume to (costume11 v)\n\nwhen backdrop switches to [backdrop13 v]\nswitch costume to (costume12 v)\n\nwhen backdrop switches to [backdrop14 v]\nswitch costume to (costume13 v)\n\nwhen backdrop switches to [backdrop15 v]\nbroadcast (outro v)\n\n@Sprite2\n\ndefine Platform Gravity: (gravity) Jump Height: (jump height) Side Movement Speed: (side movement) Friction: (friction) Slope: (slope)\nchange [y velocity v] by (gravity)\nchange y by (Y Velocity)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (Y Velocity) ) / (Y Velocity)) * (-1))\n    end\n    set [y velocity v] to (<<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(([abs v] of (Y Velocity) ) / (Y Velocity)) = [-1]>> * (jump height))\nend\nset [x velocity v] to (((X Velocity) + ((<<key (left arrow v) pressed?> or <key (a v) pressed?>> * ((side movement) * (-1))) + (<<key (right arrow v) pressed?> or <key (d v) pressed?>> * (side movement)))) * (friction))\nchange x by (X Velocity)\nset [slope v] to [0]\nrepeat until <<(Slope) = ((slope) * (-1))> or <not <touching (level v)?>>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (level v)?> then\n    change y by (Slope)\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (X Velocity) ) / (X Velocity)) * (-1))\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [y velocity v] to [10]\n        if <(X Velocity) > [0]> then\n            set [x velocity v] to [-15]\n        else\n            set [x velocity v] to [15]\n        end\n    else\n        set [x velocity v] to [0]\n    end\nend\nif <touching (next level v)?> then\n    next backdrop\n    go to x: (-196) y: (110)\nend\nif <<touching (nope v)?> or <<touching (chomper1.0 v)?> or <<<<<touching (spike1 v)?> or <touching (spike2 v)?>> or <touching (spike3 v)?>> or <touching (mega spike v)?>> or <<touching (lava v)?> or <touching (mega spike2 v)?>>>>> then\n    go to x: (-196) y: (110)\nend\n\nwhen flag clicked\nshow\ngo to x: (-196) y: (110)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    Platform Gravity: [-1] Jump Height: [15] Side Movement Speed: [3] Friction: [.72] Slope: [8]\nend\n\nwhen [right arrow v] key pressed\nswitch costume to (costume1 v)\n\nwhen [left arrow v] key pressed\nswitch costume to (costume2 v)\n\nwhen flag clicked\nswitch costume to (costume3 v)\n\nwhen I receive [lol v]\ngo to x: (-196) y: (110)\n\nwhen [a v] key pressed\nswitch costume to (costume2 v)\n\nwhen [d v] key pressed\nswitch costume to (costume1 v)\n\n@Spike2\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (spike v)\ngo to x: (81) y: (32)\nhide\n\nwhen backdrop switches to [backdrop2 v]\npoint in direction (90)\ngo to x: (81) y: (32)\nshow\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nswitch costume to (spike2 v)\ngo to x: (-6) y: (-84)\nshow\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (spike v)\npoint in direction (0)\ngo to x: (-11) y: (8)\nshow\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\npoint in direction (180)\ngo to x: (207) y: (-29)\nshow\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\npoint in direction (90)\ngo to x: (97) y: (32)\nshow\n\nwhen backdrop switches to [backdrop12 v]\npoint in direction (-90)\ngo to x: (-114) y: (32)\nshow\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\n@Spike3\n\nwhen flag clicked\nswitch costume to (spike v)\npoint in direction (90)\ngo to x: (126) y: (30)\nhide\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (126) y: (30)\nshow\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (189) y: (226)\nshow\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (156) y: (229)\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (115) y: (105)\nswitch costume to (spike2 v)\nshow\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (spike v)\npoint in direction (180)\ngo to x: (210) y: (-90)\nshow\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (209) y: (-100)\npoint in direction (180)\nshow\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (249) y: (31)\npoint in direction (90)\nshow\n\nwhen backdrop switches to [backdrop12 v]\nswitch costume to (spike v)\npoint in direction (180)\ngo to x: (209) y: (-117)\nshow\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\n@Lava\n\nwhen flag clicked\ngo to x: (3) y: (-140)\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop13 v]\ngo to x: (191) y: (-142)\nshow\n\n@MEGA SPIKE\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (126) y: (30)\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\ngo to x: (119) y: (28)\nshow\nforever\n    glide (1) secs to x: (119) y: (-45)\n    glide (1) secs to x: (119) y: (38)\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@MEGA SPIKE2\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (74) y: (38)\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nshow\nforever\n    glide (1) secs to x: (74) y: (-45)\n    glide (1) secs to x: (74) y: (38)\nend\n\n@chomper1.0\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [8]> then\n        set size to (150) %\n        go to x: (0) y: (-123)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<<<(LEVEL) = [8]> or <(LEVEL) = [10]>> or <(LEVEL) = [7]>> or <(LEVEL) = [11]>> or <(LEVEL) = [12]>> then\n        show\n    else\n        wait () seconds\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [7]> then\n        set size to (150) %\n        go to x: (-100) y: (-120)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [11]> then\n        set size to (100) %\n        go to x: (-80) y: (30)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [12]> then\n        set size to (120) %\n        go to x: (10) y: (-30)\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (22) y: (-108)\nforever\n    turn left (6) degrees\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [10]> then\n        set size to (150) %\n        go to x: (-50) y: (-110)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\nforever\n    show\nend\n\nwhen backdrop switches to [backdrop11 v]\nforever\n    hide\nend\n\nwhen backdrop switches to [backdrop12 v]\ngo to x: (94) y: (65)\nforever\n    show\nend\n\nwhen backdrop switches to [backdrop13 v]\ngo to x: (-54) y: (-111)\nforever\n    show\nend\n\nwhen backdrop switches to [backdrop14 v]\nforever\n    hide\nend\n\n@outro\n\nwhen flag clicked\nset size to (260) %\nhide\n\nwhen I receive [outro v]\nshow\nforever\n    repeat (3)\n        change size by (10)\n    end\n    repeat (3)\n        change size by (-10)\n    end\nend\n\n@nope\n\nwhen flag clicked\nhide\n\nwhen I receive [outro v]\ngo to x: (265) y: (23)\nshow\n\n@Sprite1\n\nwhen flag clicked\nclear graphic effects\nforever\n    go to [front v] layer\nend\n\nwhen this sprite clicked\nnext backdrop\nbroadcast (lol v)\n\nwhen flag clicked\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (50)\n    end\nend\n\nwhen backdrop switches to [backdrop15 v]\nhide\n\nwhen flag clicked\nforever\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (0)\n    end\nend\n\n@thumbnailSprite3\n\nwhen flag clicked\nhide\n\nshow\n\n@spiked\n\nwhen flag clicked\nhide\n\n
UPDATE 29/06/20 New thumbnail+WASD added!\nHello and welcome to SPIKED!\nArrow keys or WASD to move\nAvoid lava, chomper and spikes!\nLevel too hard? Press the skip button in the bottom left corner!\nRemember to like and favourite if you enjoy!\nTurn up your volume too!\nBye!