Acid Rain Platformer! || Rage Game
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nset [pitch v] effect to (0)\nwait (3) seconds\nset [pitch v] effect to (100)\nforever\n    play sound [  v] until done\nend\n\n@lag free\n\nwhen flag clicked\n\n@player\n\ndefine Set Costume\n\nwhen flag clicked\nset [y-velocity v] to [0]\nset [x-velocity v] to [0]\nforever\n    Platform [11.5] [-2] [0.7] [3]\nend\n\ndefine Platform (jump height) (gravity) (friction) (running speed)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    point in direction (90)\n    change [x-velocity v] by (running speed)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    point in direction (90)\n    change [x-velocity v] by ((running speed) * (-1))\nend\nset [x-velocity v] to ((X-velocity) * (friction))\nchange x by (X-velocity)\nif <touching (ground v)?> then\n    set [sprite2: slope v] to [0]\n    repeat until <<(Sprite2: Slope) = [8]> or <not <touching (lag free v)?>>>\n        change [sprite2: slope v] by (1)\n        change y by (1)\n    end\nend\nif <touching (ground v)?> then\n    change y by ((Sprite2: Slope) * (-1))\n    repeat ([ceiling v] of ([abs v] of (X-velocity) ) )\n        if <touching (ground v)?> then\n            change x by ((([abs v] of (X-velocity) ) / (X-velocity)) * (-1))\n        end\n    end\n    set [x-velocity v] to [0]\nend\nchange y by (Y-velocity)\nif <touching (ground v)?> then\n    repeat ([ceiling v] of ([abs v] of (Y-velocity) ) )\n        if <touching (ground v)?> then\n            change y by ((([abs v] of (Y-velocity) ) / (Y-velocity)) * (-1))\n        end\n    end\n    if <<(([abs v] of (Y-velocity) ) / (Y-velocity)) = [-1]> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [y-velocity v] to (jump height)\n    else\n        set [y-velocity v] to [0]\n    end\nelse\n    if <touching (trampoline v)?> then\n        set [y-velocity v] to [20]\n    end\n    change [y-velocity v] by (-1)\nend\n\nwhen I start as a clone\nrepeat (15)\n    change size by (-1)\n    change [ghost v] effect by (8)\nend\ndelete this clone\n\nwhen flag clicked\ngo to x: (-200) y: (-125)\nshow\n\nwhen flag clicked\nforever\n    if <touching (snow v)?> then\n        go to x: (-200) y: (-125)\n        broadcast (d v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (goal v)?> then\n        go to x: (-200) y: (-125)\n        broadcast (Fineshed v)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-200) y: (-125)\n\nwhen I receive [fineshed v]\nset [x-velocity v] to [0]\nset [y-velocity v] to [0]\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > [20]>>>> then\n        switch costume to (2a v)\n        if <<<mouse down?> and <(mouse y) > ((y position) + (20))>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            switch costume to (4a v)\n        end\n    else\n        if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [-20]>>>> then\n            switch costume to (1a v)\n            if <<<(mouse y) > ((y position) + (20))> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                switch costume to (5a v)\n            end\n        else\n            switch costume to (3a v)\n            if <<<(mouse y) > ((y position) + (20))> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                switch costume to (6a v)\n            end\n        end\n    end\n    if <<<(YV) < [-1.5]> and <<(PARACHUTE) = [1]> and <(water) < [3]>>> and <<key (space v) pressed?> or <mouse down?>>> then\n        switch costume to (join (letter (1) of (costume [name v])) [b])\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (warning! v)?> then\n        go to x: (-200) y: (-125)\n        broadcast (d v)\n    end\nend\n\n@Ground\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [fineshed v]\nnext costume\n\nwhen flag clicked\nshow\ngo to x: (2) y: (-31)\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (0)\nrepeat (100)\n    change [ghost v] effect by (1)\nend\n\n@Trampoline\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [fineshed v]\nnext costume\n\nwhen flag clicked\nshow\n\n@warning!\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [fineshed v]\nnext costume\n\nwhen flag clicked\nshow\n\n@goal\n\nwhen flag clicked\nforever\n    go to x: (55) y: (15)\n    if <touching (player v)?> then\n        broadcast (Fineshed v)\n        wait (0.5) seconds\n    end\nend\n\nwhen flag clicked\nshow\n\n@skip\n\nwhen this sprite clicked\nbroadcast (Fineshed v)\n\nwhen flag clicked\nset size to (100) %\ngo to x: (36) y: (28)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n    else\n    end\nend\n\n@snow\n\nwhen flag clicked\nwait (3) seconds\nset [tick v] to [0]\nset [fade v] to [0.7]\nforever\n    create clone of (_myself_ v)\n    wait (fade) seconds\n    change [tick v] by (4)\n    if <[0] < (fade)> then\n        change [fade v] by (-.1)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (big v)\nset size to (pick random (30) to (200)) %\nswitch costume to (snow v)\nset [me v] to (pick random (30) to (-30))\nset [ghost v] effect to (pick random (0) to (70))\ngo to x: (pick random (-240) to (240)) y: (240)\npoint in direction (pick random (170) to (150))\nrepeat until <<[140] < (x position)> or <(y position) < [-100]>>\n    move ((0.5) + ((size) * (0.01))) steps\n    turn right ((1) * ([sin v] of ((2) * ((tick) + (me))) )) degrees\nend\ndelete this clone\n\nwhen I receive [d v]\ndelete this clone\n\nwhen I receive [fineshed v]\ndelete this clone\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (-58) y: (-12)\n\n
Acid Rain Platformer! || Rage Game\n┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ ┿ \nTHE LEVELS ARE DIFFICULT SO ITS OK TO SKIP!\n1. Avoid the acid!\n\n2. WASD to move\n\n3. Use trampoline to hop\n\n4.Heart and Star for more