Toxic Cave - A Platformer v.1.2
@Stage\n\nwhen flag clicked\nset volume to (40) %\nforever\n    play sound [TheFatRat - TimeLapse \(Mp3Goo v] until done\n    wait (2) seconds\nend\n\nwhen [m v] key pressed\nif <(volume) = [40]> then\n    set volume to (0) %\nelse\n    if <(volume) = [0]> then\n        set volume to (40) %\n    end\nend\n\n@Level\n\nwhen flag clicked\nset [lvl v] to [1]\nforever\n    go to x: (0) y: (0)\n    switch costume to (Lvl)\nend\n\ngo to (random position v)\n\n@Spikes/Dangers\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    switch costume to (Lvl)\nend\n\n@LvlEnd\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    if <(Lvl) = [15]> then\n        hide\n    else\n        show\n    end\nend\n\n@Light\n\nwhen flag clicked\nforever\n    go to (player v)\nend\n\n@Player\n\ndefine RunScript\nchange y by (y vel)\nif <touching (level v)?> then\n    repeat ([abs v] of (y vel) )\n        if <touching (level v)?> then\n            change y by ((-1) * (([abs v] of (y vel) ) / (y vel)))\n        end\n    end\n    set [y vel v] to [0]\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [y vel v] to [12]\n    end\nelse\n    change [y vel v] by (-1)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x vel v] by (1)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x vel v] by (-1)\nend\nchange x by (x vel)\nif <touching (level v)?> then\n    set [old y v] to (y position)\n    repeat (([abs v] of (x vel) ) + (1))\n        if <touching (level v)?> then\n            change y by (1)\n        end\n    end\n    if <touching (level v)?> then\n        set y to (old y)\n        repeat ([ceiling v] of ([abs v] of (x vel) ) )\n            if <touching (level v)?> then\n                change x by ((-1) * (([abs v] of (x vel) ) / (x vel)))\n            end\n        end\n        set [x vel v] to [0]\n    end\nend\nif <touching (spikes/dangers v)?> then\n    set [x vel v] to [0]\n    set [y vel v] to [0]\n    if <not <<(Lvl) = [8]> or <(Lvl) = [12]>>> then\n        go to x: (-180) y: (0)\n    else\n        go to x: (-180) y: (-80)\n    end\nend\nif <touching (lvlend v)?> then\n    change [lvl v] by (1)\n    set [x vel v] to [0]\n    set [y vel v] to [0]\n    if <not <<(Lvl) = [8]> or <(Lvl) = [12]>>> then\n        go to x: (-180) y: (0)\n    else\n        go to x: (-180) y: (-80)\n    end\nend\nset [x vel v] to ((x vel) * (0.9))\n\nwhen flag clicked\nswitch costume to (2 v)\ngo to x: (-180) y: (0)\nforever\n    RunScript\nend\n\nwhen flag clicked\nset [x vel v] to [0]\nset [y vel v] to [0]\nforever\n    if <key (r v) pressed?> then\n        if <not <<(Lvl) = [8]> or <(Lvl) = [12]>>> then\n            go to x: (-180) y: (0)\n        else\n            if <<(Lvl) = [8]> or <(Lvl) = [12]>> then\n                go to x: (-180) y: (-80)\n            end\n        end\n    end\nend\n\nwhen [space v] key pressed\nnext costume\n\nwhen flag clicked\nforever\n    if <(y position) > [180]> then\n        set [y vel v] to [-1]\n    end\n    if <(x position) > [240]> then\n        set [x vel v] to [-1]\n    end\nend\n\n@Art\n\nwhen flag clicked\nshow\nforever\n    switch costume to (Lvl)\n    set [ghost v] effect to (50)\nend\n\n@Th\n\nwhen flag clicked\nhide\n\n
Toxic Cave - A Platformer\n-Sitck liquid is not my \n-Part 2 30 likes\n-İt takes 3 hours\n-%89 my