Summer Hike (Platformer)
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [one player v]\nnext backdrop\n\nwhen I receive [two player v]\nnext backdrop\n\nwhen I receive [forest music v]\nforever\n    play sound [Tropical Birds v] until done\nend\n\nwhen I receive [forest music v]\nforever\n    play sound [Jungle Frogs v] until done\nend\n\nwhen I receive [stay free v]\nforever\n    play sound [Music - Stay Free v] until done\nend\n\n@Less lag\n\n@Sprite1\n\nwhen flag clicked\nset size to (80) %\npoint in direction (90)\nforever\n    repeat (15)\n        turn right (1) degrees\n        wait (.) seconds\n    end\n    forever\n        repeat (30)\n            turn left (1) degrees\n            wait (.) seconds\n        end\n        repeat (30)\n            turn right (1) degrees\n            wait (.) seconds\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (one player v)\n\nwhen I receive [one player v]\nhide\n\nwhen I receive [two player v]\nhide\n\nwhen I receive [intro over v]\nshow\n\n@Sprite2\n\nwhen flag clicked\nset size to (80) %\npoint in direction (90)\nforever\n    repeat (15)\n        turn right (1) degrees\n        wait (.) seconds\n    end\n    forever\n        repeat (30)\n            turn left (1) degrees\n            wait (.) seconds\n        end\n        repeat (30)\n            turn right (1) degrees\n            wait (.) seconds\n        end\n    end\nend\n\nwhen I receive [one player v]\nhide\n\nwhen I receive [two player v]\nhide\n\nwhen this sprite clicked\nbroadcast (two player v)\n\nwhen flag clicked\nshow\n\n@traps\n\nwhen flag clicked\nswitch costume to (level 1 v)\nhide\n\nwhen I receive [one player v]\nshow\nforever\n    play sound [capitol v] until done\nend\n\nwhen I receive [next level v]\nif <(costume [number v]) < [11]> then\n    next costume\n    stop [this script v]\nend\n\nwhen I receive [two player v]\nshow\nforever\n    play sound [capitol v] until done\nend\n\nwhen I receive [next level v]\nif <(costume [number v]) = [11]> then\n    broadcast (confetti v)\nend\n\n@platformer \n\nwhen flag clicked\nswitch costume to (level 1 v)\nhide\n\nwhen I receive [next level v]\nif <(costume [number v]) < [11]> then\n    next costume\n    stop [this script v]\nend\n\nwhen I receive [one player v]\nshow\n\nwhen I receive [two player v]\nshow\n\nwhen I receive [next level v]\nif <(costume [number v]) = [11]> then\n    broadcast (confetti v)\nend\n\n@player2\n\nwhen flag clicked\nhide\n\nwhen I receive [two player v]\nforever\n    if <<(x position) = [235]> or <(x position) > [235]>> then\n        go to x: (-225) y: (-40)\n        broadcast (next level v)\n        set [x2 v] to [0]\n        set [y2 v] to [0]\n    end\nend\n\nwhen I receive [two player v]\nforever\n    set [x2 v] to ((x2) * (0.85))\n    change x by (x2)\n    if <touching (platformer  v)?> then\n        change y by (-2)\n        if <touching (platformer  v)?> then\n            change y by (1)\n            if <touching (platformer  v)?> then\n                change y by (1)\n                if <touching (platformer  v)?> then\n                    change y by (1)\n                    if <touching (platformer  v)?> then\n                        change y by (1)\n                        if <touching (platformer  v)?> then\n                            change y by (1)\n                            if <touching (platformer  v)?> then\n                                change y by (-5)\n                                change x by ((-1) * (x2))\n                                if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <(mouse x) > (x position)>> or <<mouse down?> and <(mouse x) < (x position)>>>> and <not <(x move) = [0]>>> then\n                                    set [y2 v] to [8]\n                                    set [x2 v] to (((x2) / ([abs v] of (x2) )) * (-10))\n                                else\n                                    set [x2 v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\n    end\nend\n\nwhen I receive [two player v]\nforever\n    clear graphic effects\n    change y by (-3)\n    if <touching (platformer  v)?> then\n        if <key (w v) pressed?> then\n            set [y2 v] to [9]\n        end\n    end\n    change y by (3)\n    if <(y2) > [-15]> then\n        change [y2 v] by (-0.5)\n    end\n    change y by (-2)\n    if <not <touching (platformer  v)?>> then\n        change y by (-1)\n        if <not <touching (platformer  v)?>> then\n            change y by (-1)\n            if <not <touching (platformer  v)?>> then\n                change y by (-1)\n                if <not <touching (platformer  v)?>> then\n                    change y by (-1)\n                    if <not <touching (<<mouse down?> and <(mouse x) < (x position)>> v)?>> then\n                        change y by (-1)\n                        if <not <touching (platformer  v)?>> then\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    change y by (y2)\n    if <touching (platformer  v)?> then\n        change y by (-2)\n        if <touching (platformer  v)?> then\n            change y by ((-1) * (y2))\n            set [y2 v] to [-3]\n        end\n        change y by (2)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nset size to (100) %\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\ndelete this clone\n\nwhen I receive [two player v]\nforever\n    create clone of (_myself_ v)\n    wait (.025) seconds\nend\n\nwhen I receive [two player v]\nset size to (150) %\nswitch costume to (normal v)\nshow\ngo to x: (-225) y: (-40)\nset [x2 v] to [0]\nset [y2 v] to [0]\nforever\n    go to [front v] layer\n    if <<(y position) < [-175]> or <<touching color (#ff2323)?> or <<touching color (#d10000)?> or <touching color (#ff0000)?>>>> then\n        go to x: (-225) y: (-40)\n        start sound (pick random (1) to (3))\n        set [x2 v] to [0]\n        set [x2 v] to [0]\n    end\n    if <key (a v) pressed?> then\n        change [x2 v] by (-1)\n        point in direction (-90)\n    end\n    if <key (d v) pressed?> then\n        change [x2 v] by (1)\n        point in direction (90)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-225) y: (-40)\nset [x2 v] to [0]\nset [y2 v] to [0]\n\n@player\n\nwhen flag clicked\nhide\n\nwhen I receive [one player v]\nforever\n    if <<(x position) = [235]> or <(x position) > [235]>> then\n        go to x: (-225) y: (-40)\n        broadcast (next level v)\n        set [x2 v] to [0]\n        set [y2 v] to [0]\n    end\nend\n\nwhen I receive [one player v]\nforever\n    set [x move v] to ((x move) * (0.85))\n    change x by (x move)\n    if <touching (platformer  v)?> then\n        change y by (-2)\n        if <touching (platformer  v)?> then\n            change y by (1)\n            if <touching (platformer  v)?> then\n                change y by (1)\n                if <touching (platformer  v)?> then\n                    change y by (1)\n                    if <touching (platformer  v)?> then\n                        change y by (1)\n                        if <touching (platformer  v)?> then\n                            change y by (1)\n                            if <touching (platformer  v)?> then\n                                change y by (-5)\n                                change x by ((-1) * (x move))\n                                if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <(mouse x) > (x position)>> or <<mouse down?> and <(mouse x) < (x position)>>>> and <not <(x move) = [0]>>> then\n                                    set [y move v] to [8]\n                                    set [x move v] to (((x move) / ([abs v] of (x move) )) * (-10))\n                                else\n                                    set [x move v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\n    end\nend\n\nwhen I receive [one player v]\nforever\n    clear graphic effects\n    change y by (-3)\n    if <touching (platformer  v)?> then\n        if <key (up arrow v) pressed?> then\n            set [y move v] to [9]\n        end\n    end\n    change y by (3)\n    if <(y move) > [-15]> then\n        change [y move v] by (-0.5)\n    end\n    change y by (-2)\n    if <not <touching (platformer  v)?>> then\n        change y by (-1)\n        if <not <touching (platformer  v)?>> then\n            change y by (-1)\n            if <not <touching (platformer  v)?>> then\n                change y by (-1)\n                if <not <touching (platformer  v)?>> then\n                    change y by (-1)\n                    if <not <touching (platformer  v)?>> then\n                        change y by (-1)\n                        if <not <touching (platformer  v)?>> then\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    change y by (y move)\n    if <touching (platformer  v)?> then\n        change y by (-2)\n        if <touching (platformer  v)?> then\n            change y by ((-1) * (y move))\n            set [y move v] to [-3]\n        end\n        change y by (2)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nset size to (100) %\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\ndelete this clone\n\nwhen I receive [one player v]\nforever\n    create clone of (_myself_ v)\n    wait (.025) seconds\nend\n\nwhen I receive [one player v]\nset size to (150) %\nswitch costume to (normal v)\nshow\ngo to x: (-225) y: (-40)\nset [x move v] to [0]\nset [y move v] to [0]\nforever\n    go to [front v] layer\n    if <<(y position) < [-175]> or <<touching color (#ff2323)?> or <<touching color (#d10000)?> or <touching color (#ff0000)?>>>> then\n        go to x: (-225) y: (-40)\n        start sound (pick random (1) to (3))\n        set [x move v] to [0]\n        set [y move v] to [0]\n    end\n    if <key (left arrow v) pressed?> then\n        change [x move v] by (-1)\n        point in direction (-90)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x move v] by (1)\n        point in direction (90)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-225) y: (-40)\nset [x move v] to [0]\nset [y move v] to [0]\n\n@player3\n\nwhen flag clicked\nhide\n\nwhen I receive [two player v]\nforever\n    if <<(x position) = [235]> or <(x position) > [235]>> then\n        go to x: (-225) y: (-40)\n        broadcast (next level v)\n        set [x2 v] to [0]\n        set [y2 v] to [0]\n    end\nend\n\nwhen I receive [two player v]\nforever\n    set [x move v] to ((x move) * (0.85))\n    change x by (x move)\n    if <touching (platformer  v)?> then\n        change y by (-2)\n        if <touching (platformer  v)?> then\n            change y by (1)\n            if <touching (platformer  v)?> then\n                change y by (1)\n                if <touching (platformer  v)?> then\n                    change y by (1)\n                    if <touching (platformer  v)?> then\n                        change y by (1)\n                        if <touching (platformer  v)?> then\n                            change y by (1)\n                            if <touching (platformer  v)?> then\n                                change y by (-5)\n                                change x by ((-1) * (x move))\n                                if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <(mouse x) > (x position)>> or <<mouse down?> and <(mouse x) < (x position)>>>> and <not <(x move) = [0]>>> then\n                                    set [y move v] to [8]\n                                    set [x move v] to (((x move) / ([abs v] of (x move) )) * (-10))\n                                else\n                                    set [x move v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\n    end\nend\n\nwhen I receive [two player v]\nforever\n    clear graphic effects\n    change y by (-3)\n    if <touching (platformer  v)?> then\n        if <key (up arrow v) pressed?> then\n            set [y move v] to [9]\n        end\n    end\n    change y by (3)\n    if <(y move) > [-15]> then\n        change [y move v] by (-0.5)\n    end\n    change y by (-2)\n    if <not <touching (platformer  v)?>> then\n        change y by (-1)\n        if <not <touching (platformer  v)?>> then\n            change y by (-1)\n            if <not <touching (platformer  v)?>> then\n                change y by (-1)\n                if <not <touching (platformer  v)?>> then\n                    change y by (-1)\n                    if <not <touching (platformer  v)?>> then\n                        change y by (-1)\n                        if <not <touching (platformer  v)?>> then\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    change y by (y move)\n    if <touching (platformer  v)?> then\n        change y by (-2)\n        if <touching (platformer  v)?> then\n            change y by ((-1) * (y move))\n            set [y move v] to [-3]\n        end\n        change y by (2)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nset size to (100) %\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\ndelete this clone\n\nwhen I receive [two player v]\nforever\n    create clone of (_myself_ v)\n    wait (.025) seconds\nend\n\nwhen I receive [two player v]\nset size to (150) %\nswitch costume to (normal v)\nshow\ngo to x: (-225) y: (-40)\nset [x move v] to [0]\nset [y move v] to [0]\nforever\n    go to [front v] layer\n    if <<(y position) < [-175]> or <<touching color (#ff2323)?> or <<touching color (#d10000)?> or <touching color (#ff0000)?>>>> then\n        go to x: (-225) y: (-40)\n        start sound (pick random (1) to (3))\n        set [x move v] to [0]\n        set [y move v] to [0]\n    end\n    if <key (left arrow v) pressed?> then\n        change [x move v] by (-1)\n        point in direction (-90)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x move v] by (1)\n        point in direction (90)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-225) y: (-40)\nset [x move v] to [0]\nset [y move v] to [0]\n\n@background\n\nwhen I receive [one player v]\nshow\ngo to [back v] layer\n\nwhen I receive [two player v]\nshow\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\n@bushes\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [one player v]\nshow\n\nwhen I receive [two player v]\nshow\n\n@background2\n\nwhen I receive [one player v]\nshow\ngo to [back v] layer\n\nwhen I receive [two player v]\nshow\ngo to [back v] layer\n\nwhen flag clicked\nset [ghost v] effect to (75)\nhide\n\n@Particles\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to [front v] layer\nclear graphic effects\nset [color v] effect to (pick random (0) to (100))\nset [y velocity v] to [0]\nset size to (pick random (200) to (300)) %\nset y to (-176)\nset x to (item (pick random (1) to (2)) of [x v])\nshow\nif <(x position) = [-232]> then\n    point in direction (pick random (0) to (90))\nelse\n    point in direction (pick random (-90) to (0))\nend\nset [speed v] to [1]\nrepeat (10)\n    change [speed v] by (2)\n    move (speed) steps\nend\nrepeat (10)\n    change [speed v] by (-1.5)\n    move (speed) steps\nend\nrepeat until <touching (_edge_ v)?>\n    move (0.5) steps\n    change [brightness v] effect by (0.5)\n    change [color v] effect by (0.5)\n    change [ghost v] effect by (2.5)\n    if <(x position) > [0]> then\n        turn right (pick random (0) to (1.0)) degrees\n    else\n        turn left (pick random (0) to (1.0)) degrees\n    end\n    change y by (y velocity)\n    change [y velocity v] by (-0.5)\nend\ndelete this clone\n\nwhen I receive [confetti v]\nforever\n    create clone of (_myself_ v)\nend\n\n@Sprite4\n\nwhen flag clicked\nshow\n\nwhen I receive [stay free v]\nhide\n\nwhen this sprite clicked\nbroadcast (Forest music v)\nhide\n\nwhen I receive [one player v]\nhide\n\nwhen I receive [two player v]\nhide\n\n@Sprite5\n\nwhen this sprite clicked\nbroadcast (Stay free v)\nhide\n\nwhen I receive [forest music v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [one player v]\nhide\n\nwhen I receive [two player v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\nset x to (0)\nset y to (0)\nshow\n\n
PLAYER 1 Use arrow keys\nPLAYER 2 Use wasd\n\nMobile project here below\n\nhttps://scratch.mit.edu/projects/880673318\n\n\n\n\n\n\n\n\n\n#2player #all #games #art #summer #platform #most #popular #platformer #fun #games #most #Famous #scratcher #the #scratchers \n\nThe most famous scratcher   (—— Never\nThe most popular scratcher   (—— Never\nTop 10 best games                 (——Never\nTop ten best games                (——Never\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWhy haven’t you hit the flag yet now hit the heart and star buttons the go to my profile and hit the follow button because I caught you