ADVENTURER | A Platformer                             #Games #Art
@Stage\n\nwhen flag clicked\nclear graphic effects\nforever\n    play sound [Syn Cole - Feel Good \[NCS Release\] v] until done\nend\n\n@Less lag\n\n@Sprite1\n\nwhen I start as a clone\nset [ghost v] effect to (65)\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\n    wait (.05) seconds\nend\ndelete this clone\n\nwhen flag clicked\nset [y velocity v] to [0]\nforever\n    change [y velocity v] by (-2)\n    change y by (Y velocity)\n    change [in air v] by (1)\n    Handle Ground <(Y velocity) > [0]>\n    if <key (right arrow v) pressed?> then\n        Walk [6]\n    end\n    if <key (left arrow v) pressed?> then\n        Walk [-6]\n    end\n    if <touching (sprite3 v)?> then\n        go to x: (-201) y: (100)\n    end\n    if <<key (up arrow v) pressed?> and <(In air) < [8]>> then\n        set [y velocity v] to [14]\n    end\n    if <[230] < (x position)> then\n        broadcast (Next Stage v)\n    end\n    if <(y position) < [-170]> then\n        set [y velocity v] to [0]\n        go to x: (-201) y: (116)\n    end\nend\n\ndefine Walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <<not <touching (ground v)?>> or <(Ground Lift) = [8]>>\n    change y by (1)\n    change [ground lift v] by (1)\n    if <(Ground Lift) = [8]> then\n        change x by ((0) - (steps))\n        change y by ((0) - (Ground Lift))\n    end\nend\n\ndefine Handle Ground <moving up>\nrepeat until <not <touching (ground v)?>>\n    if <moving up> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [in air v] to [0]\n    end\n    set [y velocity v] to [0]\nend\n\nwhen I receive [next stage v]\ngo to x: (-230) y: (0)\n\nwhen flag clicked\ngo to x: (-231) y: (138)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nset size to (800) %\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next stage v]\nnext costume\nchange [my variable v] by (1)\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n@Sprite3\n\nwhen flag clicked\nforever\n    set [costume v] to (costume [number v])\n    switch backdrop to (hay field v)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide variable [costume v]\n\nwhen I receive [next stage v]\nif <[39] > (costume)> then\n    next costume\nelse\n    stop [this script v]\nend\n\nwhen flag clicked\ngo to [back v] layer\n\n
——————————Headlines——————————-IF YOU SEE ANY ADVERTISING OR HATE, REPORT IT\nSorry for the Re-Share. There was a game breaking glitch that most of you probably didn’t find. And also, thank you sooooo much for all of the support!\n——————————-Directions——————————\nArrow Keys to move\nGet to the right side of the level to get to the next level.\nAnd, if you are feeling cool, press the grey heart and make it red, and then do the same with the star, which will turn yellow, and then, go click on my profile picture, wait for my profile to load, and then click the follow button.\n——————————-Credits———————————\nPlatformer Script by Scratch Programming Playground\n                    Music: Syn Cole-Feel Good\nLink to music: https://www.youtube.com/watch?v=q1ULJ92aldE\n@deb-bestcoder for the lag reducer\n—————————Other Notes———————————\n I will make a sequel to this game when it gets over 100 loves and faves, gets on front page of trending or featured, or I get 200 followers. This game took me over 100 hours of coding, and I think it paid off.\nThank you to all of my supporters, as I feel like I have made lots of progress in the last few months.\n———————————Tags————————————\n#Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Art #Games #Games #Games #Games #Art\n#Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art #Art