FOREST ll A Platformer
@Stage\n\n@Levels\n\nwhen flag clicked\ngo to [front v] layer\nset size to (100) %\ngo to x: (0) y: (0)\nshow\nforever\n    play sound [Lil Tecca - Ransom \(Clean -\) v] until done\nend\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Player\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\nset [level v] to [1]\nset [yv v] to [0]\ngo to x: (-198) y: (-45)\nforever\n    if <key (right arrow v) pressed?> then\n        change [xmovement v] by (1.1)\n    else\n        if <key (left arrow v) pressed?> then\n            change [xmovement v] by (-1.1)\n        end\n    end\n    set [xmovement v] to ((Xmovement) * ((0.88) - (Friction)))\n    change x by (Xmovement)\n    change [yv v] by (-1.2)\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change x by ((Xmovement) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n            if <(Xmovement) > [0]> then\n                set [xmovement v] to [-7]\n            else\n                set [xmovement v] to [7]\n            end\n        else\n            set [xmovement v] to [0]\n        end\n    end\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) - ((Yv) * (2)))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching color (#000000)?>> then\n        set [yv v] to [17]\n    end\n    if <(x position) > [200]> then\n        broadcast (Transition v)\n        wait (1) seconds\n        change [level v] by (1)\n        go to x: (-198) y: (-98)\n    end\n    if <<touching color (#ffffff)?> or <touching color (#ffffff)?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-198) y: (-45)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\n@Player2\n\nwhen flag clicked\nshow\nforever\n    go to (player v)\nend\n\n@Transition\n\nwhen flag clicked\ngo to x: (-900) y: (0)\nhide\n\nwhen I receive [transition v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\nset size to (0) %\nrepeat until <(round (size)) = [100]>\n    change size by (((100) - (size)) / (3))\nend\nwait (0.5) seconds\nrepeat until <(round (x position)) = [-900]>\n    change x by (((-900) - (x position)) / (3))\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nhide\n\n@Sun\n\nwhen flag clicked\ngo to x: (221) y: (159)\nforever\n    turn right (1) degrees\n    go to [back v] layer\nend\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (60)\nshow\nforever\n    go to [back v] layer\n    set [ghost v] effect to (3)\n    change x by (round (((([x position v] of [player v]) / (-5)) - (x position)) / (5)))\n    change y by (round (((([y position v] of [player v]) / (-5)) - (y position)) / (5)))\nend\n\n@Sprite4\n\nwhen flag clicked\nset [ghost v] effect to (60)\nshow\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    set [ghost v] effect to (60)\n    change x by (-0.5)\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [-250]> then\n        stop [other scripts in sprite v]\n        create clone of (_myself_ v)\n        repeat until <(x position) = [-436]>\n            go to [back v] layer\n            set [ghost v] effect to (60)\n            change x by (-0.5)\n        end\n        hide\n    end\nend\n\nwhen I start as a clone\ngo to x: (428) y: (0)\nrepeat until <(x position) = [-250]>\n    go to [back v] layer\n    set [ghost v] effect to (60)\n    change x by (-0.5)\nend\ncreate clone of (_myself_ v)\nrepeat until <(x position) = [-436]>\n    go to [back v] layer\n    set [ghost v] effect to (60)\n    change x by (-0.5)\nend\ndelete this clone\n\n
                                     FOREST\n=============================================\nGAME BY : @-DERPY_BURGER-\nARROW KEYS TO MOVE\n\nTHANKS TO @--Sidewinder-- FOR SOME OF THE SCRIPT AND @C9M09B FOR THE INSPIRATION FOR THE ART\n\n\nThanks to @eunice0913 , @-Imagineer- for the heart\n\n