CURSED-a platformer #games#all

Instructions: Arrow keys to move.\nLove fave and follow or you will get the curse.\n(joking, but plz Love fave and follow I am scratching for 7 months and have only 60 followers.)\nlet's go for trending and 1000 views!\npart-2 https://scratch.mit.edu/projects/634732427/\n100 + views! wow :)\n200 + views! WOW :D\n300 + views! Thanks! XD\n400 + views! WOW XD\n500 + views! WOOW XD\n600 + views! WOOOW XD!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Adventure v] until done\nend\n\n@Player\n\nwhen flag clicked\nset [level v] to [1]\nswitch costume to (non v)\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (non v)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (➡ v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (⬅ v)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        switch costume to (⬆ v)\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (⬇ v)\n    end\n    if <<<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> or <<key (w v) pressed?> and <key (d v) pressed?>>> then\n        switch costume to (↗ v)\n    end\n    if <<<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> or <<key (w v) pressed?> and <key (a v) pressed?>>> then\n        switch costume to (↖ v)\n    end\n    if <<<key (down arrow v) pressed?> and <key (right arrow v) pressed?>> or <<key (s v) pressed?> and <key (d v) pressed?>>> then\n        switch costume to (↘ v)\n    end\n    if <<<key (down arrow v) pressed?> and <key (left arrow v) pressed?>> or <<key (s v) pressed?> and <key (a v) pressed?>>> then\n        switch costume to (↙ v)\n    end\nend\n\ndefine Run Game\nchange [speed y v] by (-1)\nif <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [speed x v] by (-3)\nend\nif <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [speed x v] by (3)\nend\nset [speed x v] to ((Speed X) * (0.7))\nchange x by (Speed X)\nif <touching (level v)?> then\n    change y by (1)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (1)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (level v)?> then\n    change y by (-8)\n    repeat until <not <touching (level v)?>>\n        change x by ((Speed X) * (-1))\n    end\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [speed y v] to [10]\n        if <(Speed X) < [0]> then\n            set [speed x v] to [16]\n        else\n            set [speed x v] to [-16]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\nchange y by (Speed Y)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((Speed Y) * (-1))\n    end\n    set [speed y v] to [0]\nend\nchange y by (-1)\nif <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (level v)?>> then\n    set [speed y v] to [14]\nend\nchange y by (1)\nif <<touching (danger v)?> or <(y position) < [-179]>> then\n    Reset\n    play sound [Crunch v] until done\nend\nif <(x position) > [239]> then\n    Reset\n    change [level v] by (1)\nend\n\ndefine Reset\nset [speed y v] to [0]\nset [speed x v] to [0]\ngo to x: (-200) y: (100)\nset rotation style [left-right v]\n\nwhen I start as a clone\nset size to (70) %\nswitch costume to (↙2 v)\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (5)\n    change [color v] effect by (0)\n    turn right (0) degrees\nend\ndelete this clone\n\nwhen flag clicked\npoint in direction (90)\nReset\nforever\n    create clone of (_myself_ v)\n    wait (0.004) seconds\n    change [color v] effect by (0)\nend\n\nwhen flag clicked\nforever\n    Run Game\nend\n\nwhen flag clicked\nset [color v] effect to (pick random (-200) to (200))\nforever\n    set [brightness v] effect to (-10)\nend\n\n@level\n\nwhen flag clicked\nset [pixelate v] effect to (40)\nforever\n    switch costume to (Level)\nend\n\n@Danger\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nset [pixelate v] effect to (40)\n\n@extras\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@sun\n\nwhen flag clicked\nhide\ngo to [back v] layer\nshow\ngo to x: (217) y: (160)\nset size to (100) %\nreset timer\nforever\n    repeat (50)\n        change size by (((140) - (size)) / (18))\n    end\n    repeat (50)\n        change size by (((size) - (100)) / (18))\n    end\nend\n\nwhen flag clicked\nset [pixelate v] effect to (40)\n\n@Thunbnail\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Love fave detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n