Woods - Platformer
@Stage\n\n@Player\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nshow\ngo to x: (-211) y: (-106)\nset rotation style [left-right v]\nset [y vel v] to [0]\nforever\n    change [y vel v] by (-2)\n    change y by (Y Vel)\n    change [in air? v] by (1)\n    handle ground <[0] < (Y Vel)>\nend\n\ndefine handle ground <moving up>\nrepeat until <not <touching color (#663b00)?>>\n    if <moving up> then\n        change y by (-5)\n    else\n        change y by (1)\n        set [in air? v] to [0]\n    end\n    set [y vel v] to [0]\nend\n\nwhen flag clicked\ngo to x: (-211) y: (-106)\nforever\n    if <key (left arrow v) pressed?> then\n        Walk [-5]\n    end\n    if <key (right arrow v) pressed?> then\n        Walk [5]\n    end\n    if <<key (up arrow v) pressed?> and <(In air?) < [8]>> then\n        set [y vel v] to [14]\n    end\n    if <touching (next v)?> then\n        go to x: (-211) y: (-106)\n        next backdrop\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-211) y: (-106)\n    end\n    if <touching (enemy v)?> then\n        go to x: (-211) y: (-106)\n    end\nend\n\ndefine Walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <not <<touching color (#663b00)?> or <(Ground Lift) = [8]>>>\n    change y by (1)\n    change [ground lift v] by (1)\nend\nif <(Ground Lift) = [8]> then\n    change x by ((-1) * (steps))\n    change y by (-8)\nend\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (-211) y: (-106)\n\n@Enemy\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [2]> or <(backdrop [number v]) = [6]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (239) y: (-78)\nforever\n    glide (3) secs to x: (-210) y: (-78)\n    glide (3) secs to x: (239) y: (-78)\nend\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (239) y: (-78)\nforever\n    glide (3) secs to x: (-210) y: (-78)\n    glide (3) secs to x: (239) y: (-78)\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (44) y: (-29)\nshow\nforever\n    glide (2) secs to x: (163) y: (-29)\n    glide (2) secs to x: (44) y: (-29)\nend\n\n@Woods - Platformer Thumbnail\n\nwhen flag clicked\nhide\n\n@Next\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [backdrop11 v]\nstop [all v]\n\n
Press the green flag to play the platformer. Use the arrow keys on your keyboard to move the player. There are 10 levels. Try to pass through all of them. Stay away from the spikes and the green enemy! I hope you enjoy! 