FREE PART 3  #games #platformer

Instructions: Double click flag to avoid bugs\nPART 3 IS OUT!!!\nLEVELS\n///Avoid Spikes and Water and other obstacles///\n-Use Arrow keys or WASD to move-\n\nOTHER GAMES:\nhttps://scratch.mit.edu/projects/617347054/\nhttps://scratch.mit.edu/projects/633971267/\nPART 1: https://scratch.mit.edu/projects/627220342/\nPART 2: https://scratch.mit.edu/projects/630342912/\nPART 4: https://scratch.mit.edu/projects/643650993/\nArt: \n-Ground (Attempted for Super Mario ground and edited a bit) sand version\nI will make a Part 4 if I get 300+ Loves and 300+ Favourites\n\n❤️ & ⭐ if you enjoyed playing this game

@Stage\n\nwhen flag clicked\nset [level v] to [1]\nswitch backdrop to (backdrop1 v)\nforever\n    if <(LEVEL) = [23]> then\n        switch backdrop to (backdrop2 v)\n    end\nend\n\n@Platform\n\nwhen I receive [start game v]\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\ngo [backward v] (1) layers\n\n@Danger\n\nwhen I receive [start game v]\nforever\n    switch costume to (LEVEL)\nend\n\n@Danger2\n\nwhen I receive [start game v]\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\ngo [backward v] (1) layers\ngo to x: (0) y: (-5)\nforever\n    repeat (50)\n        change y by (0.35)\n    end\n    repeat (50)\n        change y by (-0.35)\n    end\nend\n\n@Danger3\n\nwhen I receive [start game v]\ngo to x: (0) y: (-100)\ngo [backward v] (5) layers\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\nforever\n    turn right (3) degrees\nend\n\n@Sand background\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [start game v]\nforever\n    switch costume to (LEVEL)\nend\n\n@Intro\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nset size to (100) %\nshow\nset size to (100) %\nswitch costume to (profile v)\nset [y slow down v] to [8]\npoint in direction (90)\nshow\nwait (5) seconds\nrepeat (10)\n    change size by (1)\n    change y by (y slow down)\n    change [y slow down v] by (-1)\nend\nset [y slow down v] to [-8]\nrepeat (15)\n    change y by (y slow down)\n    change [y slow down v] by (-2)\nend\nbroadcast (Intro start part 2 v)\nrepeat (4)\n    next costume\nend\n\nwhen I receive [start game v]\nhide\n\nwhen flag clicked\nwait (1) seconds\nrepeat (25)\n    turn left (2) degrees\nend\nrepeat (22)\n    turn right (31) degrees\nend\nrepeat (3)\n    turn right (30) degrees\nend\nrepeat (10)\n    turn right (5) degrees\nend\nrepeat (10)\n    turn right (2) degrees\nend\nrepeat (10)\n    turn right (1) degrees\nend\nrepeat (10)\n    turn left (7) degrees\nend\nrepeat (10)\n    turn left (1) degrees\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\n\nwhen I receive [home v]\nshow\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [start game v]\nhide\n\n@Effects\n\nwhen flag clicked\nset [ghost v] effect to (90)\nhide\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\ngo to x: (250) y: (pick random (-180) to (180))\nset size to (pick random (50) to (80)) %\nshow\nrepeat until <<touching (_edge_ v)?> and <(x position) < [-180]>>\n    change x by (-5)\nend\nrepeat (5)\n    change x by (-5)\nend\ndelete this clone\n\n@Intro2\n\nwhen I start as a clone\nshow\ngo [forward v] (1) layers\ngo to [front v] layer\nrepeat (12)\n    turn left (5) degrees\n    wait (0.03) seconds\nend\n\nwhen I receive [intro start part 2 v]\ngo to x: (-200) y: (145)\npoint in direction (150)\nhide\nrepeat (8)\n    create clone of (_myself_ v)\n    change x by (50)\n    wait (0.01) seconds\nend\nrepeat (6)\n    create clone of (_myself_ v)\n    change y by (-50)\n    wait (0.01) seconds\nend\nrepeat (8)\n    create clone of (_myself_ v)\n    change x by (-50)\n    wait (0.01) seconds\nend\nrepeat (5)\n    create clone of (_myself_ v)\n    change y by (50)\n    wait (0.01) seconds\nend\ncreate clone of (_myself_ v)\nchange y by (10)\nwait (0.01) seconds\nrepeat (7)\n    create clone of (_myself_ v)\n    change x by (50)\n    wait (0.01) seconds\nend\nrepeat (4)\n    create clone of (_myself_ v)\n    change y by (-50)\n    wait (0.01) seconds\nend\ncreate clone of (_myself_ v)\nchange y by (-20)\nwait (0.01) seconds\nrepeat (5)\n    create clone of (_myself_ v)\n    change x by (-50)\n    wait (0.01) seconds\nend\ncreate clone of (_myself_ v)\nchange x by (-25)\nwait (0.01) seconds\nrepeat (3)\n    create clone of (_myself_ v)\n    change y by (50)\n    wait (0.01) seconds\nend\ncreate clone of (_myself_ v)\nchange y by (20)\nwait (0.01) seconds\nrepeat (4)\n    create clone of (_myself_ v)\n    change x by (50)\n    wait (0.01) seconds\nend\ncreate clone of (_myself_ v)\nchange x by (25)\nwait (0.01) seconds\nrepeat (3)\n    create clone of (_myself_ v)\n    change y by (-50)\n    wait (0.01) seconds\nend\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (-50)\n    wait (0.01) seconds\nend\nrepeat (2)\n    create clone of (_myself_ v)\n    change y by (50)\n    wait (0.01) seconds\nend\nchange y by (20)\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nrepeat (1)\n    create clone of (_myself_ v)\n    change x by (50)\n    wait (0.01) seconds\nend\nchange x by (20)\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nrepeat (2)\n    create clone of (_myself_ v)\n    change y by (-50)\n    wait (0.01) seconds\nend\nwait (2) seconds\nbroadcast (Home v)\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [home v]\nshow\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo [forward v] (1) layers\nshow\n\nwhen I receive [start game v]\nhide\n\n@Play\n\nwhen flag clicked\ngo to x: (-110) y: (100)\nset size to (100) %\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start game v)\nhide\n\nwhen I receive [home v]\nshow\n\nwhen flag clicked\nforever\n    go [forward v] (1) layers\nend\n\nwhen flag clicked\nforever\n    repeat until <(size) = [120]>\n        change size by (2)\n    end\n    repeat until <(size) = [100]>\n        change size by (-2)\n    end\nend\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\nset [y movement v] to [0]\nset [x movement v] to [0]\ngo to x: (-180) y: (50)\nforever\n    switch costume to (costume1 v)\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x movement v] by (1)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x movement v] by (-1)\n    end\n    set [x movement v] to ((X movement) * (0.9))\n    change x by (X movement)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((X movement) * (-1))\n                            change y by (-5)\n                            if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n                                if <(X movement) > [0]> then\n                                    set [x movement v] to [-10]\n                                else\n                                    set [x movement v] to [10]\n                                end\n                                set [y movement v] to [13]\n                            else\n                                set [x movement v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y movement v] by (-1)\n    change y by (Y movement)\n    if <touching (platform v)?> then\n        change y by ((Y movement) * (-1))\n        set [y movement v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n            set [y movement v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [start game v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (70) %\nswitch costume to (costume2 v)\nrepeat (8)\n    change size by (-3)\nend\ndelete this clone\n\nwhen I receive [start game v]\nset [level v] to [1]\nforever\n    if <<touching (_edge_ v)?> and <(x position) > [180]>> then\n        change [level v] by (1)\n        go to x: (-180) y: (50)\n    end\nend\n\nwhen I receive [start game v]\nforever\n    if <<touching (danger v)?> or <<touching (danger3 v)?> or <touching (danger2 v)?>>> then\n        go to x: (-180) y: (50)\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    start sound [Soundtrack v]\n    play sound [Soundtrack v] until done\nend\n\nwhen I receive [position v]\ngo to x: (-180) y: (50)\n\n@SKIP\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\nforever\n    if <(LEVEL) < [23]> then\n        if <touching (mouse-pointer v)?> then\n            set size to (110) %\n        else\n            set size to (100) %\n        end\n    else\n        hide\n    end\nend\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (position v)\n\n@spider\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo to [front v] layer\n\nwhen I receive [start game v]\nshow\nforever\n    go [forward v] (1) layers\n    switch costume to (LEVEL)\nend\n\n