Rotate A Platformer #trending#all#games
@Stage\n\n@Circle\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [d vel v] to [0]\nset [y vel v] to [0]\nforever\n    change [y vel v] by (1)\n    if <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n        change [d vel v] by (-0.2)\n    end\n    if <<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> then\n        change [d vel v] by (0.2)\n    end\n    set [d vel v] to ((d vel) * (0.8))\n    turn right (d vel) degrees\n    if <touching (cube v)?> then\n        change y by (-1)\n        if <touching (cube v)?> then\n            change y by (-1)\n            if <touching (cube v)?> then\n                change y by (-1)\n                if <touching (cube v)?> then\n                    change y by (-1)\n                    if <touching (cube v)?> then\n                        change y by (4)\n                        turn right ((d vel) * (-1)) degrees\n                        set [d vel v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change y by (y vel)\n    if <touching (cube v)?> then\n        change y by ((y vel) * (-1))\n        set [y vel v] to [0]\n    end\n    change y by (1)\n    if <touching (cube v)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > [50]> and <mouse down?>>> then\n            start sound [Jump v]\n            set [y vel v] to [-12]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [restart v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [d vel v] to [0]\nset [y vel v] to [0]\n\nwhen I receive [next level v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [d vel v] to [0]\nset [y vel v] to [0]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nforever\n    play sound [Journey v] until done\nend\n\n@TN\n\nwhen flag clicked\nforever\n    show\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\n@Cube\n\nwhen flag clicked\nset size to (30) %\nswitch costume to (fantasia1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [respawn v]\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nswitch costume to (fantasia1 v)\nforever\n    change y by (-5)\n    if <<touching color (#ff8181)?> or <<touching color (#676767)?> or <touching color (#ff0000)?>>> then\n        broadcast (Restart v)\n    end\n    change y by (5)\nend\n\nwhen flag clicked\nif <touching color (#00ff9c)?> then\n    broadcast (you won v)\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    if <<touching color (#000000)?> or <touching color (#000000)?>> then\n        broadcast (Next Level v)\n    end\nend\n\nwhen I receive [:\( v]\nswitch costume to (fantasia4 v)\n\nwhen I receive [ninja v]\nswitch costume to (fantasia5 v)\n\nwhen I receive [sl v]\nswitch costume to (fantasia3 v)\n\nwhen I receive [reddy mc red head v]\nswitch costume to (fantasia2 v)\n\nwhen I receive [minion v]\nswitch costume to (fantasia6 v)\n\nwhen I receive [normal v]\nswitch costume to (fantasia1 v)\n\n
Arrow keys to move sorry i will work on wasd for next project :( \nEnglish is not my main langauge okay 