Shadows - Platformer #all #Games

Instructions: --------{UPDATED}Shadows - Platformer----------\n READ INSTRUCTIONS\nINCLUDES ENEMY\nThanks for 2000 views\nmy best score is 7.6\n@avicodicat loved!\nPls tell me if this gets on trending\n\n\n~INSTRUCTIONS\n1.Arrows/WAD to move.\n2.Have you recognized ALL CODE IS ORIGINAL.\n3.Do not touch the spikes or enemy ( I hope that's clear) because you will loose all coins.\n4.More coming soon.\n5#Good_Luck!\n6.there is no 6.\n7.Best played in full screen and play it on turbowarp https://turbowarp.org/452559009\n8. It is not scrolling.\n9.Awesome in turbo mode.\n10.Everything is possible.\n\n\n\n~BACKSTORY\nSo you are a young shadow roaming around and then suddenly you find out that you are lost and you must get home as soon as possible(ASAP), so while doing that you come across various stuff, dodge them and get out, also you would feel happy after you collect a coin right? so why not?\n\n\n~WRITING\n96 hours of code and numerous blocks of code, so please like and favourite/favorite if you think I did a good job on this project,also drop a follow if you want more cool games like this.\n\n\n~CREDITS\n@Rohan_Programing - for the engine.\n@Rohan_Programing - for the art.\n@TimMcCool - for the detector.\n@griffpatch_tutor - for little help.\n@Rohan_Programing - for the intro.\n\n\n~TAGS\n#all #all #all #all #all #animations #animations #animations #animations #animations #art #art #art #art #art #Games #Games #Games #Games #Games #music #music #music #music #music #Stories #Stories #Stories #Stories #Stories #Tutorials #Tutorials #Tutorials #Tutorials #Tutorials #2020 #platformers  #Engines  #follow_me #cool_Stuff #Best_on_scratch #Rohan_Prgraming #has_to_be_on_trending

@Stage\n\n@Sprite1\n\n@Sprite2\n\n@Sprite3\n\n@Sprite4\n\n@Sprite5\n\n@Sprite6\n\n@Sprite7\n\n@Sprite8\n\n@Sprite9\n\n@player\n\nwhen flag clicked\nhide variable [timer 4 player v]\ngo to x: (-201) y: (-71)\nhide\n\nwhen I receive [start v]\nset [level v] to [1]\nshow\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>>> then\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\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 (-4)\n                        change x by ((x) * (-1))\n                        if <key (up arrow v) pressed?> then\n                            if <(x) > [0]> then\n                                set [x v] to [-10]\n                            else\n                                set [x v] to [10]\n                            end\n                            set [y v] to [13]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>>> and <touching (level v)?>> then\n        set [y v] to [13]\n    end\n    change y by (1)\n    if <touching (coins v)?> then\n        broadcast (bb v)\n        start sound [Coin v]\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [20]\n        start sound [Big Boing v]\n    end\n    if <<touching (enemy v)?> or <touching (spikes! v)?>> then\n        go to x: (-201) y: (-71)\n        start sound [roblox-death-sound v]\n        broadcast (gg v)\n    end\n    if <<(x position) = [220]> or <(x position) > [220]>> then\n        go to x: (-201) y: (-71)\n        change [level v] by (1)\n        broadcast (gg v)\n    end\nend\n\nwhen I receive [start v]\nset [timer 4 player v] to [0]\nforever\n    wait (.1) seconds\n    change [timer 4 player v] by (.1)\n    if <(LEVEL) = [9]> then\n        show variable [timer 4 player v]\n        stop [this script v]\n    end\nend\n\n@thumb\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@Level\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to [back v] layer\nshow\nforever\n    switch costume to (LEVEL)\nend\n\n@Spikes!\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    switch costume to (LEVEL)\nend\n\n@messages\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [back v] layer\nshow\nforever\n    switch costume to (LEVEL)\nend\n\n@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@enemy\n\nwhen flag clicked\nset [level v] to [1]\nset [enemy jump v] to [false]\nset [enemy y v] to [0]\nhide\nswitch costume to (costume3 v)\nset size to (65) %\ngo to x: (174) y: (-62)\nforever\n    hide\n    wait until <(LEVEL) = [3]>\n    show\n    point towards (player v)\n    create clone of (_myself_ v)\n    change [enemy y v] by (-1)\n    create clone of (_myself_ v)\n    Gravity\n    move (6) steps\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(enemy jump) = [false]> then\n            set [enemy y v] to [6.75]\n            set [enemy jump v] to [true]\n        end\n    end\n    create clone of (_myself_ v)\n    if <<(LEVEL) = [4]> or <(LEVEL) > [4]>> then\n        hide\n        stop [this script v]\n    end\nend\n\ndefine Gravity\nchange y by (enemy y)\nif <touching color (#8a8a8a)?> then\n    if <(enemy y) > [0]> then\n        repeat until <not <touching color (#8a8a8a)?>>\n            change y by (-1)\n        end\n    else\n        repeat until <not <touching color (#8a8a8a)?>>\n            change y by (1)\n        end\n        set [enemy jump v] to [false]\n    end\n    set [enemy y v] to [0]\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (-10)\nend\ndelete this clone\n\nwhen I receive [gg v]\ngo to x: (174) y: (-62)\n\n@trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\nforever\n    switch costume to (LEVEL)\nend\n\n@coins\n\nwhen flag clicked\nhide\n\nwhen I receive [bb v]\nhide\n\nwhen I receive [gg v]\nshow\n\nwhen I receive [start v]\nshow\ngo to x: (-5) y: (-90)\ngo to [back v] layer\nforever\n    switch costume to (LEVEL)\nend\n\n@MY intro\n\nwhen flag clicked\nset [maitiryte v] to [0]\nset [bleh v] to [0]\nset [q v] to [0]\nset [cloneid v] to [0]\nstart sound [meh v]\nswitch costume to (1 v)\ngo to x: (-10000) y: (0)\nrepeat until <(round (x position)) = [0]>\n    change x by (((0) - (x position)) / (5))\nend\ngo to [back v] layer\nchange [cloneid v] by (1)\ncreate clone of (_myself_ v)\nwait until <(Q) = [1]>\nset [brightness v] effect to (10)\nwait (0.0000000000000) seconds\nrepeat (2)\n    change [brightness v] effect by (-5)\nend\nwait until <(maitiryte) = [1]>\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait (1) seconds\nstop all sounds\nbroadcast (start v)\n\nwhen I start as a clone\nif <(cloneID) = [1]> then\n    switch costume to (2 v)\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\nset size to (150) %\nchange [q v] by (1)\nwait (0.0000000000000000000000) seconds\nrepeat (10)\n    change size by (-5)\nend\nchange [bleh v] by (1)\nforever\n    point in direction ((([tan v] of ((spin) * (100)) ) * (5)) + (90))\n    set y to ((([cos v] of ((spin) * (300)) ) * (5)) + (10))\n    change [spin v] by (0.04)\nend\n\nwhen I start as a clone\nwait until <(bleh) = [1]>\nwait (6) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nswitch costume to (3 v)\nset [ghost v] effect to (0)\nwait (3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nchange [maitiryte v] by (1)\n\n@volume button\n\nwhen flag clicked\nhide\nswitch costume to (on v)\ngo to x: (210) y: (155)\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (100) %\n    else\n        if <(costume [number v]) = [2]> then\n            set volume to (0) %\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (125) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    point in direction ((([sin v] of ((timer) * (1000)) ) * (4)) + (90))\nend\n\nwhen I receive [start v]\nshow\nforever\n    play sound [Ahrix - Nova.mp3 v] until done\nend\n\nhide\n\n