Obstacle Course #3 - a platformer [v2.0]
@Stage\n\n@Sprite1\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    change [yv v] by (-1)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (2)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-2)\n    end\n    set [xv v] to ((Xv) * (0.7))\n    change x by (Xv)\n    if <touching color (#000008)?> then\n        set y to ((y position) + (1))\n        if <touching color (#000008)?> then\n            set y to ((y position) + (1))\n            if <touching color (#000008)?> then\n                set y to ((y position) + (1))\n                if <touching color (#000008)?> then\n                    set y to ((y position) + (1))\n                    if <touching color (#000008)?> then\n                        set y to ((y position) + (1))\n                        if <touching color (#000008)?> then\n                            set x to ((x position) + ((Xv) * (-1)))\n                            set x to ((x position) - (1))\n                            set y to ((y position) - (5))\n                            set x to ((x position) + (1))\n                        end\n                    end\n                end\n            end\n        end\n    end\n    set y to ((y position) + (Yv))\n    if <touching color (#000008)?> then\n        set y to ((y position) + ((Yv) * (-1)))\n        set [yv v] to [0]\n    end\n    set y to ((y position) - (1))\n    if <touching color (#000008)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [10]\n        end\n    end\n    set y to ((y position) + (1))\nend\n\nwhen flag clicked\nhide\nwait (5) seconds\ngo to x: (-225) y: (-119)\nshow\nforever\n    if <touching color (#ce0000)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-225) y: (-119)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <touching color (#9bff00)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#bdcc00)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (message1 v)\n        go to x: (-225) y: (-119)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\nwhen I receive [message1 v]\nforever\n    if <touching color (#66ffd3)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-225) y: (150)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffca00)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (Delete you life v)\n        go to x: (-225) y: (-119)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\nwhen I receive [go frony v]\ngo to [front v] layer\n\n@Sprite2\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (costume4 v)\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to x: (4) y: (-8)\nswitch costume to (costume1 v)\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\nwhen I receive [message1 v]\nswitch costume to (costume2 v)\n\nwhen I receive [delete you life v]\nstop [other scripts in sprite v]\nswitch costume to (costume3 v)\nbroadcast (go frony v)\n\n@Sprite3\n\nwhen I receive [message1 v]\nshow\ngo to x: (69) y: (-168)\nstop [other scripts in sprite v]\nforever\n    glide (0.5) secs to x: (69) y: (-120)\n    glide (0.5) secs to x: (69) y: (-168)\nend\n\nwhen I receive [delete you life v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nshow\ngo to x: (43) y: (-168)\nforever\n    glide (0.5) secs to x: (45) y: (-120)\n    glide (0.5) secs to x: (45) y: (-168)\nend\n\n@Sprite4\n\nwhen I receive [message1 v]\nshow\ngo to x: (134) y: (-168)\nstop [other scripts in sprite v]\nforever\n    glide (0.7) secs to x: (134) y: (-120)\n    glide (0.7) secs to x: (134) y: (-168)\nend\n\nwhen I receive [delete you life v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\nwait (2) seconds\nset [ghost v] effect to (100)\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nshow\ngo to x: (100) y: (-168)\nforever\n    glide (0.7) secs to x: (100) y: (-120)\n    glide (0.7) secs to x: (100) y: (-168)\nend\n\n@Sprite5\n\nwhen I receive [message1 v]\nshow\nswitch costume to (costume2 v)\ngo to x: (8) y: (-174)\n\nwhen flag clicked\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nswitch costume to (costume1 v)\ngo to x: (-10) y: (-98)\nshow\nwait (1) seconds\nforever\n    hide\n    wait (1) seconds\n    show\n    wait (1) seconds\nend\n\nwhen I receive [delete you life v]\nstop [other scripts in sprite v]\nhide\n\n@Sprite6\n\nwhen I receive [message1 v]\nforever\n    hide\nend\n\nwhen I receive [delete you life v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\ngo to x: (-137) y: (-98)\nshow\nwait (1) seconds\nforever\n    hide\n    wait (0.9) seconds\n    show\n    wait (0.9) seconds\nend\n\n@Sprite7\n\nwhen flag clicked\ngo to x: (221) y: (-137)\nhide\n\nwhen I receive [message1 v]\nshow\n\nwhen I receive [delete you life v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\ngo to x: (221) y: (-137)\nhide\n\n@Sprite8\n\nwhen I receive [message1 v]\nforever\n    show\n    go to x: (-188) y: (-98)\n    switch costume to (costume2 v)\nend\n\nwhen I receive [delete you life v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\n\n
Obstacle Course #2: \nhttps://scratch.mit.edu/projects/238273319/\n(Press the flag to start) Welcome to Obstacle Course #3, a platformer! You have come to the right place if you want to bash your head to the computer(don't do this). BEWARE OF NEXT LEVEL RAGE. Also check out #1 and #2!\n___________________________________________\nInstructions:\n> Arrow Keys to move and jump.\n> Avoid Red\n> Green makes you jump high.\n> Get to the portals\n> Please do not rage quit (It is 100% possible!)\n___________________________________________\nLove and Fave for more awesome games. And also Follow!