Starry Night Hike a Platformer #Games #Platformer #Art #Fun #Trending
@Stage\n\nwhen flag clicked\nforever\n    if <<(The Level) = [9]> or <<(The Level) = [10]> or <(The Level) = [11]>>> then\n        switch backdrop to (backdrop2 v)\n    end\n    wait until <not <<(The Level) = [9]> or <<(The Level) = [10]> or <(The Level) = [11]>>>>\n    switch backdrop to (backdrop3 v)\nend\n\n@player\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen flag clicked\nset [the level v] to [1]\nbroadcast (first level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (player2 v)\n        change [x velocity v] by (-1.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (player v)\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\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 Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            switch costume to (player3 v)\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (c v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (1 v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        switch costume to (1 v)\n        set [y velocity v] to [14]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes and lava v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (spikes v)?> then\n            broadcast (Reset v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-132) y: (-96)\n\nwhen I receive [first level v]\nbroadcast (Reset v)\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Clouds\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\n    set [side v] to (pick random (1) to (2))\n    create clone of (_myself_ v)\n    wait (pick random (1) to (2)) seconds\nend\n\nwhen I start as a clone\nset size to (pick random (60) to (100)) %\nshow\ngo to [back v] layer\ngo to [back v] layer\nset [ghost v] effect to (20)\nswitch costume to (pick random (1) to (2))\nif <(side) = [1]> then\n    go to x: (300) y: (pick random (150) to (100))\n    repeat until <(x position) < [-250]>\n        change x by (-1)\n    end\n    delete this clone\nend\nif <(side) = [2]> then\n    go to x: (-400) y: (pick random (180) to (150))\n    repeat until <(x position) > [250]>\n        change x by (1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    go [backward v] (1) layers\n    go to [back v] layer\nend\n\n@Player Trail\n\nwhen flag clicked\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\nwhen I receive [scroll v]\n\nwhen flag clicked\nhide\ndelete this clone\n\n@Spikes and Lava\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        glide (1) secs to x: (-6) y: (-85)\n        glide (1) secs to x: (-5) y: (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        glide (1) secs to x: (-6) y: (-85)\n        glide (1) secs to x: (-5) y: (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        glide (1) secs to x: (-6) y: (-85)\n        glide (1) secs to x: (-5) y: (-90)\n    end\nend\n\n@Intructions\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Next\n\nwhen I receive [next level v]\nswitch costume to (costume2 v)\ngo to [front v] layer\nset x to (500)\nshow\nrepeat (6)\n    change x by (-80)\nend\nchange x by (-16)\nwait (1) seconds\nrepeat (5)\n    change x by (-80)\nend\nhide\n\nwhen I receive [first level v]\nswitch costume to (costume1 v)\ngo to [front v] layer\nset x to (500)\nshow\nrepeat (6)\n    change x by (-80)\nend\nchange x by (-16)\nwait (1) seconds\nrepeat (5)\n    change x by (-80)\nend\nhide\n\n@backround art\n\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@glow\n\nwhen flag clicked\nhide\nforever\n    if <(The Level) = [9]> then\n        show\n        forever\n            go to (player v)\n        end\n    end\nend\n\nwait until <not <(The Level) = [9]>>\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [12]> then\n        hide\n    end\nend\n\n@heart and star\n\nwhen flag clicked\nforever\n    hide\n    wait (20) seconds\n    show\n    wait (5) seconds\nend\n\n@sound\n\nwhen flag clicked\nswitch costume to (button1 v)\nforever\n    if <(costume [number v]) = [1]> then\n        play sound [midnight-123895 v] until done\n    end\nend\n\nshow\n\nwhen this sprite clicked\nswitch costume to (button2 v)\nstop all sounds\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        switch costume to (button1 v)\n    end\nend\n\nrepeat until <<touching (mouse-pointer v)?> and <mouse down?>>\nend\n\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\n\n@thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n
⫷Instructions⫸----------------------------------------------------\nArrow keys to move or WASD to move, C or down arrow key to crouch\n-------------------------------------------------------------------------\nThank you for 1008 views, 116 hearts, and 85 stars! THIS IS CRAZY THANK YOU SO MUCH!!!