colours -- a platformer #games #all
@Stage\n\nwhen flag clicked\nforever\n    play sound [Alan Walker, AuRa, Tomine Harket - Darkside v] until done\nend\n\n@guy\n\ndefine move in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last val v] to (x position)\n    change x by ((spd x) / (steps))\n    if <touching (lvl v)?> then\n        set x to (last val)\n        set [spd x v] to [0]\n    end\n    set [last val v] to (y position)\n    change y by ((spd y) / (steps))\n    if <touching (lvl v)?> then\n        set y to (last val)\n        if <(spd y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [spd y v] to [0]\n    end\nend\n\nwhen flag clicked\nbroadcast (lets go bros v)\n\nwhen I receive [lets go bros v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume5 v)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (danger v)?> then\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        go to x: (-204) y: (-118)\n        wait (0.3) seconds\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) = [-184]> then\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        go to x: (-204) y: (-118)\n        wait (0.3) seconds\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [244]> then\n        broadcast (change scene v)\n    end\nend\n\nwhen I receive [go to v]\ngo to x: (-204) y: (-52)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow\nset [scene# v] to [1]\nset [acceleration v] to [8]\nset [gravity v] to [-1.15]\nset [jump force v] to [12]\nset [spd y v] to [0]\nswitch costume to (costume1 v)\nset [ghost v] effect to (0)\ngo to x: (-204) y: (-52)\nforever\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        if <(falling) < [3]> then\n            set [spd y v] to (jump force)\n        end\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        set [spd x v] to [-8]\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        set [spd x v] to [8]\n    end\n    set [spd x v] to ((spd x) * (0.8))\n    change [spd y v] by (gravity)\n    move in steps (([abs v] of (spd x) ) + ([abs v] of (spd y) ))\nend\n\n@lvl\n\nwhen flag clicked\nswitch costume to (scene1 v)\n\nwhen I receive [change scene v]\nnext costume\nbroadcast (go to v)\n\n@tb\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@danger\n\nwhen flag clicked\nshow\npoint in direction (90)\nswitch costume to (costume1 v)\ngo to [front v] layer\n\nwhen I receive [change scene v]\nnext costume\n\n@text\n\nwhen flag clicked\nhide\n\nwhen I receive [change scene v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\n
wasd or arrow keys to move \none of my better ones so pls try it :D\nHELP ME GET THIS ON TRENDING\nput this in all ur studios