Brawl Stars Platformer
@Stage\n\n@Player\n\ndefine Platformer Graviti: (gravity) Jump Height: (jump height) Side Movement Speed: (side movement speed) Friction (friction)\nchange [y velocity v] by (gravity)\nchange y by (Y Velocity)\nchange [moje proměnná v] by (1)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (Y Velocity) ) / (Y Velocity)) * (-1))\n    end\n    set [y velocity v] to (<<key (up arrow v) pressed?> and <(([abs v] of (Y Velocity) ) / (Y Velocity)) = [-1]>> * (jump height))\n    change [moje proměnná v] by (1)\nend\nset [x velocity v] to (((X Velocity) + ((<key (left arrow v) pressed?> * ((side movement speed) * (-1))) + (<key (right arrow v) pressed?> * (side movement speed)))) * (friction))\nchange x by (X Velocity)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (X Velocity) ) / (X Velocity)) * (-1))\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff9f00)?> then\n        wait (0.2) seconds\n        go to x: (-100) y: (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#3700ff)?> then\n        broadcast (Next Level v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#33ff00)?> then\n        broadcast (Level 2 v)\n        go to x: (321) y: (-68)\n        set size to (60) %\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00b8ff)?> then\n        glide (3) secs to x: (51) y: (-102)\n    end\n    if <touching (level v)?> then\n        go to x: (282) y: (-79)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffad00)?> then\n        go to x: (282) y: (-79)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-149) y: (-77)\n        broadcast (Level 3 v)\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nset size to (100) %\n\nwhen flag clicked\nforever\n    if <touching color (#ffe600)?> then\n        go to x: (-100) y: (-72)\n        broadcast (Level 4 v)\n    end\nend\n\nwhen flag clicked\ngo to x: (-100) y: (-20)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    Platformer Graviti: [-1] Jump Height: [13.6] Side Movement Speed: [3] Friction [.7]\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00ff0a)?> then\n        go to x: (-113) y: (200)\n        broadcast (Kill v)\n    end\nend\n\nwhen I receive [kill v]\nwait (3) seconds\ngo to x: (315) y: (-50)\n\nwhen I receive [start v]\nshow\nswitch backdrop to (pozadí1 v)\n\nwhen flag clicked\nforever\n    if <touching color (#00faff)?> then\n        broadcast (Level 5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (images2 v)?> then\n        go to x: (-84) y: (-58)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00ec77)?> then\n        go to x: (185) y: (122)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (postava4 v)?> then\n        go to x: (-84) y: (-58)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (postava5 v)?> then\n        go to x: (-84) y: (-58)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Video Game 2 v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching color (#b700ff)?> then\n        broadcast (Level 6 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff8f00)?> then\n        broadcast (Level 7 v)\n        set size to (10) %\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00b8)?> then\n        broadcast (end v)\n        broadcast (OOO v)\n        hide\n        switch backdrop to (logo_footer v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\n\nwhen I receive [start v]\nforever\n    wait (0.05) seconds\n    change [time v] by (0.1)\nend\n\nwhen I receive [ooo v]\nforever\n    wait (0.05) seconds\n    change [time v] by (-0.1)\nend\n\nwhen flag clicked\nforever\n    play sound [Brawl Stars Original Theme v] until done\nend\n\nwhen flag clicked\nforever\n    if <[300] < (Time)> then\n        switch backdrop to (game over v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (postava3 v)?> then\n        go to x: (98) y: (16)\n    end\nend\n\n@Level\n\nwhen I receive [next level v]\nswitch costume to (kostým2 v)\n\nwhen I receive [level 2 v]\nswitch costume to (kostým3 v)\n\nwhen I receive [level 3 v]\nswitch costume to (kostým4 v)\n\nwhen I receive [level 4 v]\nswitch costume to (kostým5 v)\n\nwhen I receive [start v]\nshow\n\nwhen I receive [level 5 v]\nswitch costume to (kostým6 v)\n\nwhen I receive [level 6 v]\nswitch costume to (kostým7 v)\n\nwhen I receive [level 7 v]\nswitch costume to (kostým8 v)\n\nwhen I receive [end v]\nhide\n\n@Cíl\n\nwhen I receive [next level v]\nbroadcast (NEXT LEVEL v)\ngo to x: (33) y: (67)\nswitch costume to (kostým2 v)\nstop [this script v]\n\nwhen I receive [level 2 v]\nbroadcast (LEVEL 2 v)\ngo to x: (-250) y: (-214)\nswitch costume to (kostým3 v)\nstop [this script v]\n\nwhen I receive [level 3 v]\nbroadcast (LEVEL 3 v)\ngo to x: (32) y: (-209)\nswitch costume to (kostým4 v)\nstop [this script v]\n\nwhen flag clicked\ngo to x: (36) y: (-209)\nhide\n\nwhen I receive [level 4 v]\nbroadcast (LEVEL 4 v)\ngo to x: (34) y: (68)\nswitch costume to (kostým5 v)\nstop [this script v]\n\nwhen I receive [start v]\nshow\n\nwhen I receive [level 5 v]\nbroadcast (LEVEL 5 v)\nbroadcast (Level 5/2 v)\ngo to x: (20) y: (-206)\nswitch costume to (kostým6 v)\nstop [this script v]\n\nwhen I receive [level 6 v]\nbroadcast (LEVEL 6 v)\nswitch costume to (kostým7 v)\ngo to x: (-394) y: (67)\nstop [this script v]\n\nwhen I receive [level 7 v]\nswitch costume to (kostým9 v)\ngo to x: (28) y: (-240)\nbroadcast (LEVEL 7 v)\nstop [this script v]\n\nwhen I receive [end v]\nbroadcast (END v)\nhide\nstop [this script v]\n\nwhen I receive [next level v]\nswitch backdrop to (spike v)\n\nwhen I receive [level 2 v]\nswitch backdrop to (penny v)\n\nwhen I receive [level 3 v]\nswitch backdrop to (diamond v)\n\nwhen I receive [level 4 v]\nswitch backdrop to (mortis v)\n\nwhen I receive [level 5 v]\nswitch backdrop to (bibi_skin-default v)\n\nwhen I receive [level 6 v]\nswitch backdrop to (rico v)\n\nwhen I receive [level 7 v]\nswitch backdrop to (rosa-nerfeo v)\n\nwhen I receive [end v]\nswitch backdrop to (logo_footer v)\n\n@Arrow1\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [start v]\nshow\n\n@Arrow2\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [start v]\nshow\n\n@Arrow3\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [start v]\nshow\n\n@Lava\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nshow\n\nwhen I receive [level 2 v]\nhide\n\n@Lava 2\n\nwhen I receive [next level v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [level 2 v]\nhide\n\n@Voda\n\nwhen flag clicked\nhide\n\nwhen I receive [level 2 v]\nshow\n\nwhen I receive [level 3 v]\nhide\n\n@Postava1\n\nwhen flag clicked\nhide\n\nwhen I receive [level 2 v]\nshow\n\nwhen I receive [level 3 v]\nhide\n\n@Fake Zeď\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 v]\nshow\n\nwhen I receive [level 4 v]\nhide\n\n@images\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 v]\nshow\n\nwhen I receive [level 4 v]\nhide\n\n@Postava2\n\nwhen flag clicked\nhide\n\nwhen I receive [level 4 v]\nshow\n\nwhen I receive [level 5 v]\nhide\n\n@button-300x176\n\nwhen this sprite clicked\nbroadcast (Start v)\nhide\n\nwhen I receive [start v]\nswitch backdrop to (crow v)\n\n@Turret\n\nwhen I receive [level 5 v]\nshow\n\nwhen I receive [level 6 v]\nhide\n\n@Postava3\n\nwhen I receive [level 6 v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    go to (turret v)\n    point in direction (90)\n    repeat until <touching (_edge_ v)?>\n        move (10) steps\n    end\nend\n\nwhen I receive [level 5/2 v]\nshow\n\n
Only for PC.\nArrows to move. Write your time into the comments.\nClick on the green flag at the beginning and than never in the game.  If you want to play again, reset the page.\nIf you're really angry it's not my problem.\n\nWorld Record is 80.3 seconds. if you beat it send screen shot to vitek.sobisek@seznam.cz\n\n