Tornado ll A Platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [idk song v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (volume) %\nend\n\n@blank\n\n@Player\n\nwhen [space v] key pressed\nnext costume\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <<(y position) = [-184]> or <touching (danger v)?>> then\n        go to x: (-180) y: (-50)\n        broadcast (dead v)\n    end\n    if <(x position) > [244]> then\n        go to x: (-180) y: (-50)\n        broadcast (levelup v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-180) y: (-50)\nset [level v] to [1]\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-0.8)\n        switch costume to (costume1 v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume2 v)\n        change [x v] by (0.8)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-5]\n            else\n                set [x v] to [5]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((0) - (y))\n        set [y v] to [1]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (ground v)?>> then\n        set [y v] to [12]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y v] to [0]\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [17]\n    end\nend\n\n@Ground\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide variable [your time was : v]\nforever\n    if <(costume [number v]) = [11]> then\n        show variable [your time was : v]\n    end\nend\n\nwhen flag clicked\nset [your time was : v] to [0]\nrepeat until <(costume [number v]) = [11]>\n    wait (1) seconds\n    change [your time was : v] by (1)\nend\n\n@danger\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\n@music icon\n\nwhen flag clicked\nswitch costume to (volume icon full v)\nset [volume v] to [100]\ngo to x: (-208) y: (157)\nforever\n    if <(costume [number v]) = [1]> then\n        set [volume v] to [100]\n    end\n    if <(costume [number v]) = [2]> then\n        set [volume v] to [60]\n    end\n    if <(costume [number v]) = [3]> then\n        set [volume v] to [27]\n    end\n    if <(costume [number v]) = [4]> then\n        set [volume v] to [0]\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nchange [ghost v] effect by (100)\n\n
=========================================\nArrow keys - WASD - Tap/drag\n=========================================\nBackstory -\nYou were on a trip, when a tornado hit your hometown, and you're scared about your family. Make your way through the obsticle that the tornado left behind, and find your family