ARDUOUS: A Platformer! 

Instructions: ____________READ THIS!______________\nUse arrow keys or WASD to move.\nGet to the flag.                       #1 on trending games!!!!!!!\nAvoid spikes.                          Top loved!!!!!! 2020\nBounce on trampolines.\nTo skip a level press S key.\nIMPORTANT!!: If you want to play again DOUBLE click the green flag!!!\nPress Space bar to restart a level.\nPress left and right at the same time to moonwalk.  ;)\nTurn up the volume to hear the sound effects!\n\nThere is a secret in level one... See if you can find it.\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (title v)\n\nwhen flag clicked\nset [screen v] to [Title]\nset [level v] to [1]\nforever\n    if <(backdrop [name v]) = [Title]> then\n        switch backdrop to (title v)\n        if <key (space v) pressed?> then\n            wait until <not <key (space v) pressed?>>\n            set [level v] to [1]\n            set [screen v] to [Gameplay]\n            broadcast (message1 v)\n        end\n    else\n        switch backdrop to ((Level) + (1))\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (s v) pressed?> then\n        change [level v] by (1)\n        change [skiped levels v] by (1)\n        wait (1) seconds\n    end\nend\n\nwhen [space v] key pressed\nswitch backdrop to (backdrop2 v) and wait\n\nwhen flag clicked\nhide variable [skiped levels v]\nset [skiped levels v] to [0]\nforever\n    if <(backdrop [number v]) = [11]> then\n        show variable [skiped levels v]\n    end\nend\n\nwhen flag clicked\nshow variable [level v]\n\nwhen I receive [music v]\nswitch backdrop to (backdrop11 v)\n\n@player\n\nwhen I receive [start v]\ngo to x: (-217) y: (-48)\nshow\n\nwhen [space v] key pressed\nbroadcast (start v)\n\nwhen flag clicked\nwait (0.6) seconds\nforever\n    play sound [Imagine Dragons - 02. Whatever It Takes.mp3 v] until done\nend\n\nwhen flag clicked\nset [deaths v] to [0]\n\nwhen I receive [start v]\nforever\n    repeat until <(backdrop [name v]) = [backdrop7]>\n        wait (0.1) seconds\n        change [☁ time v] by (0.1)\n    end\nend\n\nwhen flag clicked\nset [☁ time v] to [0.0]\n\ndefine None\nswitch costume to (hipbox v)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    point in direction (90)\n    change [x-volocity v] by (running speed)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    point in direction (-90)\n    change [x-volocity v] by ((running speed) * (-1))\nend\nset [x-volocity v] to ((X-volocity) * (friction))\nchange x by (X-volocity)\nif <touching (level v)?> then\n    set [slope v] to [0]\n    repeat until <<(slope) = [8]> or <not <touching (level v)?>>>\n        change [slope v] by (1)\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by ((slope) * (-1))\n        repeat ([ceiling v] of ([abs v] of (X-volocity) ) )\n            if <touching (level v)?> then\n                change x by (([abs v] of ((X-volocity) / (X-volocity)) ) * (-1))\n            end\n        end\n        set [x-volocity v] to [0]\n    end\nend\nchange y by (y-volocity)\nif <touching (level v)?> then\n    repeat ([ceiling v] of ([abs v] of (y-volocity) ) )\n        if <touching (level v)?> then\n            change y by ((([abs v] of (y-volocity) ) / (y-volocity)) * (-1))\n        end\n    end\n    if <<(([abs v] of (y-volocity) ) / (y-volocity)) = [-1]> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y-volocity v] to (jump hight)\n        start sound [Cartoon Sound Effect - Bounce.mp3 v]\n    else\n        set [y-volocity v] to [0]\n    end\nelse\n    change [y-volocity v] by (-1)\nend\nswitch costume to (idol v)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    switch costume to (Walk)\nend\nif <(y-volocity) > [2]> then\n    switch costume to (jump v)\nend\nif <(y-volocity) < [-3]> then\n    switch costume to (fall v)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [y-volocity v] to [0]\nhide\nset [x-volocity v] to [0]\nforever\n    platform (11.5) (-1) (0.7) (3)\n    if <touching (green flag v)?> then\n        change [level v] by (1)\n        start sound [Ding \(CinemaSins\) - Sound Effect.mp3 v]\n        go to x: (-217) y: (-48)\n        set [y-volocity v] to [0]\n        set [x-volocity v] to [0]\n    end\n    if <key (s v) pressed?> then\n        wait (0.2) seconds\n        go to x: (-217) y: (-48)\n    end\nend\n\nwhen flag clicked\nset [walk v] to [5]\nforever\n    change [walk v] by (1)\n    if <(Walk) > [8]> then\n        set [walk v] to [5]\n    end\n    wait (0.05) seconds\nend\n\nwhen flag clicked\nforever\n    if <touching (trampoline v)?> then\n        set [y-volocity v] to [15]\n        play sound [boing v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        start sound [Bone Breaking Sound EffectNon Copyrighted Sound Effects.mp3 v]\n        change [deaths v] by (1)\n        go to x: (-217) y: (-48)\n        show\n    end\nend\n\n@level\n\nwhen flag clicked\nhide\nforever\n    go to x: (-6) y: (0)\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nshow\n\nhide\n\n@Sprite1\n\nwhen I receive [start v]\ngo to x: (182) y: (-70)\n\nwhen flag clicked\ngo to x: (-160) y: (107)\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        go to x: (154) y: (138)\n    end\n    if <(Level) = [3]> then\n        go to x: (-227) y: (126)\n    end\n    if <(Level) = [4]> then\n        go to x: (192) y: (-68)\n    end\n    if <(Level) = [5]> then\n        go to x: (-79) y: (69)\n    end\n    if <(Level) = [6]> then\n        go to x: (189) y: (6)\n    end\n    if <(Level) = [7]> then\n        go to x: (189) y: (6)\n    end\n    if <(Level) = [8]> then\n        go to x: (189) y: (172)\n    end\n    if <(Level) = [9]> then\n        go to x: (-8) y: (106)\n    end\nend\n\ngo to x: (154) y: (138)\n\nwhen flag clicked\nshow variable [level v]\nif <(backdrop [name v]) = [backdrop7]> then\n    hide variable [level v]\nend\n\n@Green Flag\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        change [level v] by (1)\n        broadcast (touching flag v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [1]> or <(Level) = [2]>> then\n        go to x: (186) y: (121)\n    end\n    if <(Level) = [3]> then\n        go to x: (-195) y: (110)\n    end\n    if <(Level) = [4]> then\n        go to x: (224) y: (-86)\n    end\n    if <(Level) = [5]> then\n        go to x: (-47) y: (54)\n    end\n    if <(Level) = [6]> then\n        go to x: (221) y: (-13)\n    end\n    if <(Level) = [7]> then\n        go to x: (221) y: (-13)\n    end\n    if <(Level) = [8]> then\n        go to x: (221) y: (156)\n    end\n    if <(Level) = [9]> then\n        go to x: (24) y: (88)\n    end\n    if <(Level) = [10]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nshow\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nshow\n\n@Secret\n\nwhen flag clicked\ngo to x: (69) y: (69)\nturn right (420) degrees\nturn left (-420) degrees\nforever\n    hide\nend\n\n@spikes\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@trampoline\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Hint\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        switch costume to (costume1 v)\n        show\n    else\n        hide\n    end\n    if <key (h v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to [front v] layer\nhide\nwait (10) seconds\nshow\nwait (1.5) seconds\nhide\n\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\nforever\n    if <(Level) = [9]> then\n        show\n        wait (4.5) seconds\n        change [ghost v] effect by (100)\n    end\nend\n\nhide\n\n@Sprite7\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [name v]) = [backdrop7]> then\n        show\n    end\n    if <<<(Skiped Levels) = [0]> or <(Skiped Levels) = [1]>> and <(☁ Time) < [100]>> then\n        switch costume to (costume1 v)\n    else\n        switch costume to (costume3 v)\n    end\n    if <<<(Skiped Levels) = [0]> or <(Skiped Levels) = [1]>> and <(Deaths) = [0]>> then\n        switch costume to (costume2 v)\n    end\nend\n\n@Sprite8\n\n@grunge-noise-texture-dirty_19-125438\n\nwhen flag clicked\nhide\nwait (1e-38) seconds\nshow\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (68)\nend\n\nwhen [timer v] > (0.2)\nhide\n\nwhen flag clicked\nshow list [top times v]\n\nadd [thing] to [top times v]\n\n@Red-Big-Heart-\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\nhide\n\n@9942926-brushed-gold-star-isolated-on-white-\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nshow\n\n@Sprite3\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.2)\nshow\nswitch costume to (costume2 v)\n\n@download\n\n@download2\n\nwhen flag clicked\nhide\n\n@download3\n\nwhen flag clicked\nhide\n\n@download4\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (Music v)\n\ngo to [front v] layer\nshow\n\n@note\n\n