Chrome! a platformer
@Stage\n\nwhen flag clicked\nset volume to (100) %\nset [win v] to [false]\nswitch backdrop to (backdrop1 v)\nstart sound [afterinfinity-try-again-orchestral-mix-royalty-free-music-Wn1exSUWK4 v]\n\nwhen I receive [start finish v]\nswitch backdrop to (backdrop2 v)\nrepeat (50)\n    change volume by (-2)\nend\nstop all sounds\nwait (1) seconds\nset volume to (100) %\nrepeat until <(win) = [true]>\n    play sound [3341-adventure-meme-by-kevin-macleod v] until done\nend\n\n@Intro\n\nwhen flag clicked\nshow\nchange [ghost v] effect by (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nbroadcast (show P v)\n\nwhen I receive [start finish v]\nhide\n\n@Intro2\n\nwhen flag clicked\nhide\ngo to x: (237) y: (-21)\n\nwhen I receive [show p v]\nshow\nglide (0.1) secs to x: (191) y: (-24)\n\nwhen I receive [start finish v]\nhide\n\n@Player\n\ndefine Platform Gravity: (gravity) Jump Height: (jump height) Sidemovmentspeed: (side movment) Friction: (friction) Slope: (slope)\nchange [y velocity v] by (gravity)\nchange y by (Y velocity)\nif <touching (platform v)?> then\n    repeat until <not <touching (platform v)?>>\n        change y by ((([abs v] of (Y velocity) ) / (Y velocity)) * (-1))\n    end\n    set [y velocity v] to (<<<key (space v) pressed?> or <<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 (a v) pressed?> or <key (left arrow v) pressed?>> * ((side movment) * (-1))) + (<<key (d v) pressed?> or <key (right arrow v) pressed?>> * (side movment)))) * (friction))\nchange x by (X velocity)\nset [slope v] to [0]\nrepeat until <<(slope) = ((slope) * (-1))> or <not <<touching (platform v)?> or <touching color (#000000)?>>>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (platform v)?> then\n    change y by (slope)\n    repeat until <not <<touching (platform v)?> or <touching color (#000000)?>>>\n        change x by ((([abs v] of (X velocity) ) / (X velocity)) * (-1))\n    end\nend\n\nwhen flag clicked\nreset timer\nset size to (100) %\nhide\nset [time v] to [0]\nset [win v] to [0]\nhide variable [time v]\n\nwhen I receive [start finish v]\nswitch costume to (google v)\nshow\ngo to x: (-203) y: (0)\nset [y velocity v] to [0]\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (97) %\nswitch costume to (glow v)\nset [ghost v] effect to (50)\nrepeat (10)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <[244] < (x position)> then\n        broadcast (switch backdrop v)\n        go to x: (-203) y: (0)\n    end\nend\n\nwhen I receive [dead v]\ngo to x: (-203) y: (0)\nset size to (100) %\n\nwhen I receive [spike5 v]\nwait (0.1) seconds\nforever\n    if <[244] < (x position)> then\n        set [time v] to (timer)\n        broadcast (i won v)\n        go to x: (95) y: (-67)\n        show variable [time v]\n        set size to (125) %\n        stop [all v]\n    end\nend\n\nwhen I receive [project page v]\nhide\n\nwhen I receive [start finish v]\nforever\n    if <touching (bounce pad v)?> then\n        Platform Gravity: [-1] Jump Height: [20] Sidemovmentspeed: [3] Friction: [.7] Slope: [8]\n    else\n        Platform Gravity: [-1] Jump Height: [15] Sidemovmentspeed: [3] Friction: [.7] Slope: [8]\n    end\nend\n\n@Platform\n\nwhen flag clicked\nswitch costume to (platform1 v)\nhide\n\nwhen I receive [start finish v]\nshow\n\nwhen I receive [switch backdrop v]\nnext costume\nbroadcast (finish v)\nwait (1) seconds\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Platform4]> then\n        broadcast (spike come v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Platform5]> then\n        broadcast (spike2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Platform6]> then\n        broadcast (spike3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Platform8]> then\n        broadcast (spike4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Platform9]> then\n        broadcast (spike5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Platform10]> then\n        broadcast (last spike v)\n    end\nend\n\nwhen I receive [i won v]\nhide\n\nwhen I receive [project page v]\nhide\n\n@text\n\nwhen flag clicked\nhide\n\nwhen I receive [start finish v]\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [switch backdrop v]\nnext costume\n\nwhen I receive [i won v]\nhide\n\nwhen I receive [project page v]\nhide\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (spike 1 v)\nhide\n\nwhen I receive [spike come v]\ngo to x: (6) y: (-122)\nshow\n\nwhen I receive [spike2 v]\nswitch costume to (spike2 v)\ngo to x: (-35) y: (-118)\ngo to [back v] layer\n\nwhen I receive [spike3 v]\nswitch costume to (spike 1 v)\ngo to x: (57) y: (67)\ngo to [back v] layer\n\nwhen I receive [spike4 v]\nswitch costume to (spike3 v)\ngo to x: (49) y: (-72)\ngo to [back v] layer\n\nwhen I receive [spike5 v]\nswitch costume to (spike4 v)\ngo to x: (59) y: (-73)\ngo to [back v] layer\n\nwhen I receive [last spike v]\nswitch costume to (spike5 v)\ngo to x: (59) y: (-72)\ngo to [back v] layer\n\nwhen I receive [i won v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        broadcast (dead v)\n    end\nend\n\n@bounce pad\n\nwhen flag clicked\nhide\n\nwhen I receive [spike2 v]\nshow\ngo to x: (-108) y: (-101)\n\nwhen I receive [spike4 v]\nhide\n\nwhen I receive [spike5 v]\nshow\n\nwhen I receive [i won v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [i won v]\nshow\n\nwhen I receive [project page v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [spike2 v]\nshow\n\nwhen I receive [spike3 v]\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\n\nshow\nbroadcast (project page v)\n\n@loader\n\nwhen I receive [show p v]\nwait (0.1) seconds\nshow\nwait (3) seconds\nbroadcast (start finish v)\nreset timer\nhide\n\nwhen flag clicked\nhide\n\n
This is a easy platformer, \nControls:\nWASD and arrow keys,\nspace to jump.\nPlz like fav and follow\n(Ma score is 36.399, anyone can beat it? With turbo mode, it's 20 somethin.)\n\n \n