Blocks--A Scrolling Platformer(V1.6)
@Stage\n\nwhen flag clicked\nswitch backdrop to (achtergrond1 v)\n\nwhen I receive [start v]\nswitch backdrop to (achtergrond3 v)\n\nwhen I receive [end v]\nswitch backdrop to (achtergrond2 v)\n\n@player\n\nwhen flag clicked\nhide\nhide variable [lag v]\n\nwhen I receive [start v]\nset size to (325) %\nshow\nwait (1) seconds\nforever\n    if <(Lag) = [1]> then\n        play sound [Electric by bubblebee3 v] until done\n    end\nend\n\nwhen I receive [end v]\nhide\n\nwhen I receive [start v]\nreset timer\nshow variable [lag v]\nforever\n    if <(Lag) = [1]> then\n        wait (0.05) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\ngo to [back v] layer\nset [brightness v] effect to (2)\nset [ghost v] effect to (5)\nset size to (325) %\nrepeat (10)\n    change size by (-20)\n    change [ghost v] effect by (5)\n    change y by (valssnelheid)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [-50]>>> then\n        change x by (6.5)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [50]>>> then\n        change x by (-6.5)\n    end\nend\ndelete this clone\n\nwhen flag clicked\n\n@lvl\n\nwhen I receive [start v]\nset [lvl v] to [1]\nset [valssnelheid v] to [0]\nset [zwaartekracht v] to [0.85]\ngo to x: (1100) y: (1290)\nshow\nforever\n    fall\n    jump\n    move\n    yellow\n    death\n    next lvl\nend\n\ndefine fall\nchange y by (valssnelheid)\nif <color (#00b70c) is touching (#3100ff)?> then\n    change y by ((0) - (valssnelheid))\n    repeat until <not <color (#00b70c) is touching (#3100ff)?>>\n        change y by (-1)\n    end\n    set [valssnelheid v] to [0]\nelse\n    change [valssnelheid v] by (zwaartekracht)\nend\n\ndefine jump\nif <<key (up arrow v) pressed?> or <<(mouse y) > [50]> and <mouse down?>>> then\n    change y by (2)\n    if <color (#00b70c) is touching (#3100ff)?> then\n        set [valssnelheid v] to [-12]\n    end\n    change y by (-2)\nend\n\ndefine move\nif <<key (right arrow v) pressed?> or <<(mouse x) > [50]> and <mouse down?>>> then\n    change x by (-6.5)\n    if <color (#00b70c) is touching (#3100ff)?> then\n        change x by (6.5)\n    end\nend\nif <<key (left arrow v) pressed?> or <<(mouse x) < [-50]> and <mouse down?>>> then\n    change x by (6.5)\n    if <color (#00b70c) is touching (#3100ff)?> then\n        change x by (-6.5)\n    end\nend\n\ndefine yellow\nif <color (#c6cd00) is touching (#3100ff)?> then\n    set [valssnelheid v] to [-25]\nend\nif <color (#d64f00) is touching (#3100ff)?> then\n    play sound [Teleport v] until done\n    set [valssnelheid v] to [0]\n    change x by (-270)\nend\n\ndefine death\nif <color (#ff0000) is touching (#3100ff)?> then\n    go to x: (1100) y: (1290)\n    set [valssnelheid v] to [0]\nend\nif <(y position) > [1500]> then\n    go to x: (1100) y: (1290)\n    set [valssnelheid v] to [0]\nend\nif <(lvl) = [4]> then\n    broadcast (end v) and wait\n    stop [all v]\nend\n\ndefine next lvl\nif <color (#b7009c) is touching (#3100ff)?> then\n    broadcast (next lvl v) and wait\n    change [level time v] by (timer)\nend\n\nwhen I receive [next lvl v]\nnext costume\ngo to x: (1100) y: (1290)\nchange [lvl v] by (1)\nwait (0.1) seconds\n\nwhen flag clicked\nhide\nswitch costume to (uiterlijk1 v)\nset [lvl v] to [1]\n\nwhen flag clicked\nset [level time v] to [0]\n\n@Sprite1\n\nwhen flag clicked\nshow\nset size to (100) %\nset [ghost v] effect to (0)\nstart sound [TheFatRat+-+Monody+\(feat.+Laura+Brehm\) v]\npoint in direction (90)\ngo to x: (0) y: (200)\nglide (0.2) secs to x: (0) y: (0)\nrepeat (8)\n    change size by (5)\nend\nrepeat (8)\n    change size by (-5)\nend\npoint in direction (90)\nhide\nshow\nset size to (100) %\nrepeat (3)\n    create clone of (_myself_ v)\n    glide (0.2) secs to x: (500) y: (0)\n    glide (0.2) secs to x: (0) y: (0)\n    repeat (10)\n        turn right (36) degrees\n    end\nend\nrepeat until <(size) > [300]>\n    change size by (20)\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (0)\nset size to (0) %\nrepeat (20)\n    change size by (5)\nend\nrepeat (10)\n    turn left (5) degrees\nend\nrepeat (10)\n    turn left (-10) degrees\nend\nglide (0.2) secs to x: (0) y: (500)\nhide\nbroadcast (start v)\n\nwhen I start as a clone\nglide (0.2) secs to x: (-500) y: (0)\nglide (0.2) secs to x: (0) y: (0)\ndelete this clone\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nshow\n\nshow\n\n
Fast computer requierd!!!\n11-3-2020: Nr 1 in trending!\n\n2020/3/23 liked bij @SaltyCreeper67!\n======================================\nINSTRUCTIONS:\n\n-move arrows\n-Don't tuch the spikes\n-super jump on the yellow block\n======================================\n\n\n(V)\n\n1.0= full game\n1.1= bit faster, no cheat ways\n1.2= LVL 3\n1.3= new effect\n1,4= even more faster\n1.5= lag deleted\n1.6= Mobile friendly