Casual-a Platformer #Games #All #Art #Music #Platformer.
@Stage\n\n@Untitled (18)\n\ndefine respawn\nif <(?level) = [1]> then\n    go to x: (-153) y: (-20)\nend\nif <(?level) = [2]> then\n    go to x: (-209) y: (-40)\nend\nif <(?level) = [3]> then\n    go to x: (170) y: (-20)\nend\nif <(?level) = [4]> then\n    go to x: (-195) y: (96)\n    set size to (100) %\nend\nif <(?level) = [5]> then\n    go to x: (-203) y: (19)\n    set size to (150) %\nend\nif <(?level) = [6]> then\n    go to x: (-203) y: (19)\nend\nif <(?level) = [7]> then\n    go to x: (-204) y: (85)\nend\nif <(?level) = [8]> then\n    go to x: (-153) y: (-20)\n    create clone of (_myself_ v)\n    hide\nend\nif <(?level) = [9]> then\n    go to x: (-153) y: (-20)\nend\nif <(?level) = [10]> then\n    set size to (100) %\n    go to x: (-178) y: (144)\n    show\nend\nif <(?level) = [11]> then\n    set size to (150) %\n    go to x: (-153) y: (-20)\nend\nif <(?level) = [12]> then\n    go to x: (-170) y: (6)\nend\nif <(?level) = [13]> then\n    go to x: (-200) y: (-70)\nend\nif <(?level) = [14]> then\n    go to x: (-153) y: (-20)\nend\nif <(?level) = [15]> then\n    hide\nend\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        broadcast (new level v)\n        change [?level v] by (1)\n    end\nend\n\ndefine Ground Check <velocity>\nrepeat until <not <touching (ground v)?>>\n    if <velocity> then\n        change y by (-1)\n    else\n        set [on ground v] to [true]\n        change y by (1)\n    end\n    set [force v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <<<not <key (a v) pressed?>> and <not <key (d v) pressed?>>> and <<not <key (left arrow v) pressed?>> and <not <key (right arrow v) pressed?>>>> then\n        if <(x speed) > [0]> then\n            change [x speed v] by (-1)\n        else\n            if <(x speed) < [0]> then\n                change [x speed v] by (1)\n            end\n        end\n    end\n    if <(x speed) > [8]> then\n        set [x speed v] to [8]\n    end\n    if <[-8] > (x speed)> then\n        set [x speed v] to [-8]\n    end\nend\n\nwhen flag clicked\nshow\nset [?level v] to [1]\nset [x speed v] to [0]\nswitch costume to (untitled \(19\) v)\nset [on ground v] to [false]\ngo to x: (-153) y: (-20)\nset [force v] to [0]\nforever\n    change y by (force)\n    change [force v] by (-1)\n    Ground Check <(force) > [0]>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n        change [x speed v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n        change [x speed v] by (-1)\n    end\n    change x by (x speed)\n    if <<touching (ground v)?> or <touching (_edge_ v)?>> then\n        change x by ((x speed) * (-1))\n        set [x speed v] to [0]\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(on ground) = [true]>> then\n        switch costume to (untitled \(19\) v)\n        set [force v] to [10]\n        set [on ground v] to [false]\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n    end\n    if <not <key (any v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n    end\nend\n\nwhen flag clicked\ngo to x: (-153) y: (-20)\nset size to (150) %\n\nwhen I receive [new level v]\nrespawn\n\nwhen flag clicked\nforever\n    if <touching (lava v)?> then\n        respawn\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <<touching (spikes3 v)?> or <touching (spikes2 v)?>>> then\n        respawn\n    end\nend\n\nwhen I start as a clone\nset [x speed v] to [0]\nswitch costume to (untitled \(19\) v)\nset [on ground v] to [false]\ngo to x: (-153) y: (-20)\nset [force v] to [0]\nforever\n    change y by (force)\n    change [force v] by (-1)\n    Ground Check <(force) > [0]>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n        change [x speed v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n        change [x speed v] by (-1)\n    end\n    change x by (x speed)\n    if <<touching (ground v)?> or <touching (_edge_ v)?>> then\n        change x by ((x speed) * (-1))\n        set [x speed v] to [0]\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(on ground) = [true]>> then\n        switch costume to (untitled \(19\) v)\n        set [force v] to [4]\n        set [on ground v] to [false]\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n    end\n    if <not <key (any v) pressed?>> then\n        switch costume to (untitled \(19\) v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<<not <key (left arrow v) pressed?>> and <not <key (right arrow v) pressed?>>> and <<not <key (a v) pressed?>> and <not <key (d v) pressed?>>>> then\n        if <(x speed) > [0]> then\n            change [x speed v] by (-1)\n        else\n            if <(x speed) < [0]> then\n                change [x speed v] by (1)\n            end\n        end\n    end\n    if <(x speed) > [8]> then\n        set [x speed v] to [8]\n    end\n    if <[-8] > (x speed)> then\n        set [x speed v] to [-8]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (lava v)?> or <<touching (spikes v)?> or <<touching (spikes3 v)?> or <touching (spikes2 v)?>>>> then\n        respawn\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (portal v)?> then\n        broadcast (new level v)\n        change [?level v] by (1)\n    end\nend\n\nwhen I receive [new level v]\nif <(?level) = [10]> then\n    delete this clone\nend\n\nwhen I receive [new level v]\nif <(?level) = [10]> then\n    show\nend\n\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(on ground) = [true]>> then\n    switch costume to (untitled \(19\) v)\n    set [force v] to [10]\n    set [on ground v] to [false]\nend\n\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    switch costume to (untitled \(19\) v)\n    change [x speed v] by (1)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    switch costume to (untitled \(19\) v)\n    change [x speed v] by (-1)\nend\nchange x by (x speed)\nif <<touching (ground v)?> or <touching (_edge_ v)?>> then\n    change x by ((x speed) * (-1))\n    set [x speed v] to [0]\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(on ground) = [true]>> then\n    switch costume to (untitled \(19\) v)\n    set [force v] to [10]\n    set [on ground v] to [false]\nend\nif <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n    switch costume to (untitled \(19\) v)\nend\nif <not <key (any v) pressed?>> then\n    switch costume to (untitled \(19\) v)\nend\n\n@Ground\n\nwhen I receive [new level v]\nif <(?level) = [1]> then\n    switch costume to (untitled \(20\) v)\nend\nif <(?level) = [2]> then\n    switch costume to (untitled \(22\) v)\nend\nif <(?level) = [3]> then\n    switch costume to (untitled \(23\) v)\nend\nif <(?level) = [4]> then\n    switch costume to (untitled \(26\) v)\nend\nif <(?level) = [5]> then\n    switch costume to (untitled \(27\) v)\nend\nif <(?level) = [6]> then\n    switch costume to (untitled \(28\) v)\nend\nif <(?level) = [7]> then\n    switch costume to (untitled \(33\) v)\nend\nif <(?level) = [8]> then\n    switch costume to (untitled \(35\) v)\nend\nif <(?level) = [9]> then\n    switch costume to (untitled \(36\) v)\nend\nif <(?level) = [10]> then\n    switch costume to (untitled \(39\) v)\nend\nif <(?level) = [11]> then\n    switch costume to (untitled v)\nend\nif <(?level) = [12]> then\n    create clone of (_myself_ v)\n    switch costume to (untitled \(2\) v)\nend\nif <(?level) = [13]> then\n    switch costume to (untitled \(54\) v)\nend\nif <(?level) = [14]> then\n    switch costume to (untitled \(44\) v)\nend\n\nwhen flag clicked\ngo to x: (0) y: (-50)\nswitch costume to (untitled \(20\) v)\n\nwhen I start as a clone\nswitch costume to (untitled \(3\) v)\ngo to x: (0) y: (150)\nforever\n    glide (1) secs to x: (0) y: (-160)\n    hide\n    wait (0.1) seconds\n    show\n    go to x: (0) y: (150)\n    if <(?level) = [13]> then\n        delete this clone\n    end\nend\n\n@Portal\n\nwhen flag clicked\nswitch costume to (untitled \(21\) v)\ngo to x: (188) y: (-51)\nset size to (25) %\nforever\n    turn right (2) degrees\nend\n\ndefine portal position\nif <(?level) = [1]> then\n    go to x: (188) y: (-51)\nend\nif <(?level) = [2]> then\n    go to x: (200) y: (21)\nend\nif <(?level) = [3]> then\n    go to x: (-166) y: (-31)\nend\nif <(?level) = [4]> then\n    set size to (10) %\n    go to x: (175) y: (-128)\nend\nif <(?level) = [5]> then\n    set size to (15) %\n    go to x: (212) y: (-105)\nend\nif <(?level) = [6]> then\n    set size to (25) %\n    go to x: (212) y: (-80)\nend\nif <(?level) = [7]> then\n    set size to (25) %\n    go to x: (212) y: (80)\nend\nif <(?level) = [8]> then\n    go to x: (188) y: (-51)\nend\nif <(?level) = [9]> then\n    go to x: (188) y: (-51)\nend\nif <(?level) = [10]> then\n    go to x: (200) y: (-25)\nend\nif <(?level) = [11]> then\n    go to x: (193) y: (-79)\nend\nif <(?level) = [12]> then\n    go to x: (215) y: (-7)\nend\nif <(?level) = [13]> then\n    go to x: (140) y: (100)\nend\nif <(?level) = [14]> then\n    switch costume to (costume1 v)\n    set size to (100) %\n    go to x: (215) y: (-75)\nend\n\nwhen I receive [new level v]\nportal position\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(?level) = [1]> then\n        switch costume to (costume1 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [2]> then\n        switch costume to (costume2 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [3]> then\n        switch costume to (costume3 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [4]> then\n        switch costume to (costume4 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [5]> then\n        switch costume to (costume5 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [6]> then\n        switch costume to (costume6 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [6]> then\n        switch costume to (costume6 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [7]> then\n        switch costume to (costume7 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [8]> then\n        switch costume to (costume8 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [9]> then\n        switch costume to (costume9 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [10]> then\n        switch costume to (costume10 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [11]> then\n        switch costume to (costume11 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [12]> then\n        switch costume to (costume12 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [13]> then\n        switch costume to (costume13 v)\n        go to x: (0) y: (130)\n    end\n    if <(?level) = [14]> then\n        switch costume to (costume14 v)\n        go to x: (0) y: (130)\n    end\nend\n\n@Lava\n\nwhen flag clicked\nhide\nforever\n    hide\n    if <(?level) = [3]> then\n        go to [back v] layer\n        show\n        go to x: (0) y: (-80)\n    end\n    if <(?level) = [5]> then\n        go to [back v] layer\n        show\n        go to x: (0) y: (-80)\n    end\n    if <(?level) = [6]> then\n        go to [front v] layer\n        show\n        go to x: (0) y: (-50)\n    end\n    if <(?level) = [7]> then\n        go to [back v] layer\n        show\n        go to x: (0) y: (-50)\n    end\n    if <(?level) = [10]> then\n        go to [back v] layer\n        show\n        go to x: (0) y: (-100)\n    end\n    if <(?level) = [12]> then\n        go to [front v] layer\n        show\n        go to x: (0) y: (-100)\n    end\n    if <(?level) = [13]> then\n        go to [front v] layer\n        show\n        go to x: (0) y: (-100)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    hide\n    if <(?level) = [2]> then\n        switch costume to (costume2 v)\n        go to [back v] layer\n        show\n        go to x: (-48) y: (-84)\n    end\n    if <(?level) = [5]> then\n        go to [back v] layer\n        show\n        go to x: (13) y: (-57)\n    end\n    if <(?level) = [11]> then\n        switch costume to (untitled \(1\) v)\n        go to [front v] layer\n        show\n        go to x: (-66) y: (-151)\n    end\nend\n\n@Spikes2\n\nwhen flag clicked\nforever\n    hide\n    if <(?level) = [2]> then\n        switch costume to (costume2 v)\n        go to [back v] layer\n        show\n        go to x: (73) y: (-73)\n    end\n    if <(?level) = [3]> then\n        go to [back v] layer\n        show\n        go to x: (-40) y: (-76)\n    end\n    if <(?level) = [6]> then\n        go to [front v] layer\n        show\n        go to x: (146) y: (-99)\n    end\n    if <(?level) = [11]> then\n        switch costume to (untitled \(1\) v)\n        go to [front v] layer\n        show\n        go to x: (194) y: (-147)\n    end\nend\n\n@Spikes3\n\nwhen flag clicked\nforever\n    hide\n    if <(?level) = [2]> then\n        switch costume to (costume2 v)\n        go to [back v] layer\n        show\n        go to x: (198) y: (-53)\n    end\n    if <(?level) = [3]> then\n        go to [back v] layer\n        show\n        go to x: (49) y: (-94)\n    end\n    if <(?level) = [11]> then\n        switch costume to (untitled \(1\) v)\n        go to [back v] layer\n        show\n        go to x: (80) y: (-148)\n    end\nend\n\nif <(?level) = [14]> then\n    switch costume to (untitled \(44\) v)\nend\n\n@Thumbnail\n\nwhen flag clicked\nswitch costume to (untitled \(12\)2 v)\ngo to [front v] layer\ngo to x: (0) y: (0)\nset size to (115) %\n\nwhen this sprite clicked\nrepeat until <(?level) = [2]>\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nforever\n    if <(?level) = [15]> then\n        switch costume to (untitled \(13\) v)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nset [?level v] to [0]\n\n@Sprite2\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    set volume to (0) %\n    switch costume to (costume2 v)\nelse\n    set volume to (100) %\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nplay sound [Tevo v] until done\ngo to x: (-199) y: (138)\nswitch costume to (costume1 v)\nforever\n    play sound [Tevo v] until done\nend\n\n
#23 on platformer trending \n#53 on games\n\nCLICK THE THUMBNAIL TO GET TO THE GAME!\n\nScroll down for how to play help with the hard level 13 (one with eyes) and more\n\nall levels are possible\n\nWELCOME TO CASUAL THE BEST PLATFORMER ON SCRATCH!\n\nNormal controls WASD or arrow keys.\nTo air jump fall off a platform and in mid air jump.\n\nthe eye level u have to get to the 2nd eye and then air jump to the bottom 3rd one. then you can jump on the top 3rd one and hit the star.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#Games \n\n