mines - a platformer\\#games//#trending\\#all//
@Stage\n\n@player\n\nwhen flag clicked\nset [time v] to [0]\nset [gravity v] to [-1.5]\nset [jump force v] to [20]\nset [acceleration v] to [1.7]\nset [resistance v] to [0.8]\nset [speed y v] to [0]\ngo to x: (-150) y: (50)\nforever\n    broadcast (tick-player v)\nend\n\ndefine move- in steps (number or text)\nchange [falling v] by (1)\nrepeat (number or text)\n    set [last value v] to (x position)\n    change x by ((Speed x) / (number or text))\n    if <touching (ground v)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((Speed y) / (number or text))\n    check touching SOLID\n    if <touching (ground v)?> then\n        set y to (last value)\n        if <(Speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\ndefine check touching SOLID\nif <touching (ground v)?> then\n    set [touching v] to [1]\nelse\n    set [touching v] to [0]\nend\n\nwhen I receive [tick-player v]\nControls- Up and Down\nControl- Left and Right\n\ndefine Controls- Up and Down\nif <<<<key (w v) pressed?> or <key (space v) pressed?>> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(falling) < [3]> then\n        set [speed y v] to [18]\n    end\nend\n\ndefine Control- Left and Right\nif <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [speed x v] by ((0) - (Acceleration))\nend\nif <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [speed x v] by (Acceleration)\nend\nset [speed x v] to ((Speed x) * (0.8))\nchange [speed y v] by (Gravity)\nmove- in steps (([abs v] of (Speed x) ) + ([abs v] of (Speed y) ))\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    if <touching (border v)?> then\n        next backdrop\n        go to x: (-150) y: (-75)\n    end\nend\n\nwhen flag clicked\nforever\n    change [time v] by (.1)\n    wait (.0001) seconds\nend\n\nwhen flag clicked\nforever\n    wait (.5) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat (20)\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    wait (.25) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <touching color (#e8b200)?> then\n        go to x: (-150) y: (50)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (lava v)?> then\n        go to x: (-150) y: (50)\n    end\nend\n\nwhen flag clicked\nset size to (200) %\n\nwhen flag clicked\npoint in direction (90)\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop1 v]\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume4 v)\n\n@Random music\n\nwhen flag clicked\nforever\n    play note (60) for (0.25) beats\n    play note (55) for (0.25) beats\n    play note (48) for (0.25) beats\n    play note (60) for (0.25) beats\n    play note (59) for (0.25) beats\n    play note (48) for (0.25) beats\n    play note (60) for (0.25) beats\n    play note (59) for (0.25) beats\n    play note (48) for (0.25) beats\nend\n\nwhen flag clicked\nforever\n    play note (48) for (0.25) beats\n    rest for (0.25) beats\n    play note (72) for (0.25) beats\n    play note (71) for (0.25) beats\n    play note (76) for (0.25) beats\n    play note (71) for (0.25) beats\n    play note (72) for (0.25) beats\n    play note (60) for (0.25) beats\nend\n\n@Border\n\nwhen flag clicked\nshow\ngo to x: (290) y: (49)\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (242) y: (50)\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@cdawgscratch\n\nwhen flag clicked\nset [ghost v] effect to (70)\n\n@SPIKES\n\nwhen flag clicked\nforever\n    wait (.05) seconds\n    next costume\nend\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\npoint in direction (90)\nshow\n\nwhen backdrop switches to [backdrop5 v]\nturn left (15) degrees\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@LAVA\n\nwhen flag clicked\nforever\n    wait (.5) seconds\n    next costume\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\n
                  welcome to the mines rookie! \n        @ATOMICMAGICNUMBER COMMENTED LOVED AND FAVOURITED!!\nkind of laggy on the 6th lvl\nWASD - or mobile \nthanks so much for 75+ followers, it means a lot! :)\n\n                             2000+ views?! Let’s go!