☁Autumn l A Platformer☁ Ft.@GreenTacos112-Alt #Trending #Games #All #Platformer

Instructions: Go check out @GreenTacos112-Alt version of the collab:\nhttps://scratch.mit.edu/projects/873788365\n---------------------Autumn A Platformer--------------------\n==========================================\nCollab: @GreenTacos112-Alt and @THDINESPAR000\nLove + Fave + Follow + Comment "Done" = Shoutout\nAdd this project to 20+ studios and comment "Follow" for a FREE FOLLOW\n14 Levels\n----------------------INSTRUCTIONS------------------------\nR to reset\nHow to play use wasd or arrow keys to move \nMobile just tap or hold the screen\nAvoid Spikes and holes!\nNOTE: TO ADVERTISE FIRST FOLLOW ME! OTHERWISE I'LL REPORT.\nTags:\n#Games #All #Art #Music #Stories #Trending #Popular  #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular #Games #All #Art #Music #Stories #Trending #Popular

@Stage\n\nwhen flag clicked\nforever\n    play sound [TheFatRat_-_Xenogenesis_ v] until done\n    play sound [TheFatRat_-_Xenogenesis_3 v] until done\nend\n\n@Ground\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    switch costume to (LEVEL)\nend\n\n@Cloud player\n\ndefine Write Number (val) to encoded string\nset [val v] to (round (val))\nif <(val) < [0]> then\n    set [val v] to (join [0] ([abs v] of (val) ))\nend\nset [encoded string v] to (join (encoded string) (join (length of (val)) (val)))\n\ndefine val = READ NUMBER from "encoded string"\nset [val v] to []\nrepeat (letter (encoded idx) of (encoded string))\n    change [encoded idx v] by (1)\n    set [val v] to (join (val) (letter (encoded idx) of (encoded string)))\nend\nchange [encoded idx v] by (1)\nif <(letter (1) of (val)) = [0]> then\n    set [val v] to ((0) - (val))\nend\n\nwhen I receive [cloud - setup v]\nhide\nset [cloud tick v] to [0]\ndelete all of [my values to send v]\ndelete all of [cloud values v]\ndelete all of [player uids v]\ndelete all of [player data v]\nadd (join [c] (☁ CLOUD 1)) to [cloud values v]\nadd (join [c] (☁ CLOUD 2)) to [cloud values v]\nadd (join [c] (☁ CLOUD 3)) to [cloud values v]\nadd (join [c] (☁ CLOUD 4)) to [cloud values v]\nadd (join [c] (☁ CLOUD 5)) to [cloud values v]\nadd (join [c] (☁ CLOUD 6)) to [cloud values v]\nadd (join [c] (☁ CLOUD 7)) to [cloud values v]\nadd (join [c] (☁ CLOUD 8)) to [cloud values v]\nset [my player uid v] to (pick random (1) to (9999999))\nset [player # v] to []\n\nwhen I receive [cloud - tick v]\nif <(player #) > []> then\n    Player Clone Tick\n    stop [this script v]\nend\nchange [cloud tick v] by (1)\nProcess Cloud Item [1] value (join [c] (☁ CLOUD 1))\nProcess Cloud Item [2] value (join [c] (☁ CLOUD 2))\nProcess Cloud Item [3] value (join [c] (☁ CLOUD 3))\nProcess Cloud Item [4] value (join [c] (☁ CLOUD 4))\nProcess Cloud Item [5] value (join [c] (☁ CLOUD 5))\nProcess Cloud Item [6] value (join [c] (☁ CLOUD 6))\nProcess Cloud Item [7] value (join [c] (☁ CLOUD 7))\nProcess Cloud Item [8] value (join [c] (☁ CLOUD 8))\nSend my  Cloud Data after [4] ticks\n\ndefine Send my  Cloud Data after (count) ticks\nif <((CLOUD TICK) mod (count)) > [0]> then\n    stop [this script v]\nend\nset [encoded string v] to []\nWrite Number (MY PLAYER UID) to encoded string\nrepeat (length of [my values to send v])\n    Write Number (item (1) of [my values to send v]) to encoded string\n    delete (1) of [my values to send v]\nend\nset [my channel v] to (pick random (1) to (length of [cloud values v]))\nif <(MY CHANNEL) < [5]> then\n    if <(MY CHANNEL) < [3]> then\n        if <(MY CHANNEL) < [2]> then\n            set [☁ cloud 1 v] to (encoded string)\n        else\n            set [☁ cloud 2 v] to (encoded string)\n        end\n    else\n        if <(MY CHANNEL) < [4]> then\n            set [☁ cloud 3 v] to (encoded string)\n        else\n            set [☁ cloud 4 v] to (encoded string)\n        end\n    end\nelse\n    if <(MY CHANNEL) < [7]> then\n        if <(MY CHANNEL) < [6]> then\n            set [☁ cloud 5 v] to (encoded string)\n        else\n            set [☁ cloud 6 v] to (encoded string)\n        end\n    else\n        if <(MY CHANNEL) < [8]> then\n            set [☁ cloud 7 v] to (encoded string)\n        else\n            set [☁ cloud 8 v] to (encoded string)\n        end\n    end\nend\n\ndefine Process Cloud Item (which?) value (new value)\nif <(new value) = (item (which?) of [cloud values v])> then\n    stop [this script v]\nend\nreplace item (which?) of [cloud values v] with (new value)\nset [encoded string v] to (new value)\nset [encoded idx v] to [2]\nval = READ NUMBER from "encoded string"\nif <<(val) < [1]> or <(val) = (MY PLAYER UID)>> then\n    stop [this script v]\nend\nset [player # v] to (item # of (val) in [player uids v])\nif <(player #) = [0]> then\n    set [player # v] to (item # of [] in [player uids v])\n    if <(player #) = [0]> then\n        add (val) to [player uids v]\n        add [] to [player data v]\n        set [player # v] to (length of [player data v])\n        create clone of (_myself_ v)\n    else\n        replace item (player #) of [player uids v] with (val)\n    end\nend\nreplace item (player #) of [player data v] with (new value)\nset [player # v] to []\n\ndefine Player Clone Tick\nif <(encoded idx) > (length of (encoded string))> then\n    Get Next Data Packet\n    if <(encoded string) = []> then\n        change [inactive v] by (1)\n        if <(inactive) > [150]> then\n            replace item (player #) of [player uids v] with []\n            hide\n        end\n        stop [this script v]\n    end\n    show\nend\nset [inactive v] to [0]\nval = READ NUMBER from "encoded string"\nset x to (val)\nval = READ NUMBER from "encoded string"\nset y to (val)\nval = READ NUMBER from "encoded string"\nif <(val) = (LEVEL)> then\n    show\nelse\n    hide\nend\n\ndefine Get Next Data Packet\nset [encoded string v] to (item (player #) of [player data v])\nreplace item (player #) of [player data v] with []\nset [encoded idx v] to [2]\nval = READ NUMBER from "encoded string"\n\nbroadcast (Cloud - Setup v) and wait\nforever\n    add (x position) to [my values to send v]\n    add (y position) to [my values to send v]\n    broadcast (Cloud - Tick v)\nend\n\nwhen flag clicked\nthink (username)\n\n@Player\n\ndefine X velocity\nset rotation style [left-right v]\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [x velocity v] by (1)\n    point in direction (90)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [x velocity v] by (-1)\n    point in direction (-90)\nend\nset [x velocity v] to ((X velocity) * (.9))\nchange x by (X velocity)\n\ndefine Collision and Wall Jump\nif <touching (ground v)?> then\n    change y by (1)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change x by ((X velocity) * (-1))\n                        change y by (-5)\n                        Wall jump\n                    end\n                    change [x velocity v] by (1)\n                end\n            end\n        end\n    end\nend\nchange [y velocity v] by (-0.75)\nchange y by (Y velocity)\nif <touching (ground v)?> then\n    change y by ((Y velocity) * (-1))\n    set [y velocity v] to [0]\nend\nchange y by (-1)\n\ndefine Y velocity\nif <touching (ground v)?> then\n    if <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        start sound [Low Whoosh v]\n        change [y velocity v] by (14)\n    end\nend\nchange y by (1)\n\ndefine Wall jump\nif <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(X velocity) > [0]> then\n        set [x velocity v] to [-10]\n    else\n        set [x velocity v] to [7]\n    end\n    set [y velocity v] to [10]\nelse\n    set [x velocity v] to [0]\nend\n\ndefine Death\nif <<touching (spikes v)?> or <<touching (lava v)?> or <<touching (enemies2 v)?> or <touching (enemies3 v)?>>>> then\n    start sound [Crunch v]\n    broadcast (dead v)\n    go to x: (-190) y: (55)\nend\n\ndefine Trampoline Jump\nif <touching (trampoline v)?> then\n    if <(Y velocity) < [0]> then\n        set [y velocity v] to [18]\n    end\nend\n\ndefine Level Change\nif <(x position) > [235]> then\n    if <(LEVEL) < [15]> then\n        go to x: (-190) y: (55)\n        switch backdrop to (yor mum v)\n        start sound [Connect v]\n        broadcast (message1 v)\n        change [level v] by (1)\n    end\nend\n\nset [flag v] to [0]\n\nwhen flag clicked\nswitch costume to (green v)\n\nwhen I receive [end intro v]\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nbroadcast (Cloud - Setup v) and wait\nshow\ngo to x: (-190) y: (135)\nset [level v] to [1]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    X velocity\n    Y velocity\n    add (x position) to [my values to send v]\n    add (y position) to [my values to send v]\n    add (LEVEL) to [my values to send v]\n    broadcast (Cloud - Tick v)\n    Collision and Wall Jump\n    Death\n    Trampoline Jump\n    Level Change\nend\n\nwhen [r v] key pressed\ngo to x: (-190) y: (135)\n\nwhen flag clicked\nthink (username)\n\nwhen flag clicked\nif <<<(username) = [ GreenTacos112-Alt]> or <(username) = [THDINESPAR000]>> or <(username) = [DragonMasterD71]>> then\n    forever\n        change [color v] effect by (1)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (LEVEL)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (65) y: (75)\n    glide (1) secs to x: (65) y: (53)\nend\n\n@Pen text & number engine\n\nwhen flag clicked\nhide\nforever\n    spell: (join [Level:] (LEVEL)) at x [-245] y [165] Delete other texts: [y] with a size of: [50] Space between text: [15]\nend\n\ndefine spell: (text) at x (x) y (y) Delete other texts: (y/n) with a size of: (size) Space between text: (sbt)\nset size to (size) %\ndelete all of [letters v]\nset [letter v] to [1]\nrepeat (length of (text))\n    add (letter (letter) of (text)) to [letters v]\n    change [letter v] by (1)\nend\nshow\nif <(y/n) = [y]> then\n    erase all\nend\ngo to x: ((x) - (30)) y: (y)\nset [letter v] to [1]\nrepeat (length of [letters v])\n    change x by (sbt)\n    switch costume to (item (letter) of [letters v])\n    stamp\n    change [letter v] by (1)\nend\nhide\n\n@Skip level (testing)\n\nwhen this sprite clicked\nif <not <(LEVEL) = [15]>> then\n    change [level v] by (1)\n    broadcast (dead v)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Text\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\n    go to [front v] layer\nend\n\n@Clouds\n\nwhen flag clicked\nhide\ngo to [back v] layer\nwait (0) seconds\nforever\n    create clone of (_myself_ v)\n    wait (pick random (45) to (60)) seconds\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (4))\ngo to x: (350) y: (pick random (100) to (130))\nshow\nrepeat until <(x position) < [-270]>\n    change x by (-0.25)\n    go to [back v] layer\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Trampoline\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\n    go to [back v] layer\nend\n\n@Thumbnail\n\ndefine glide to (x) (y) (smooth)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change x by (((x) - (x position)) / (smooth))\n    change y by (((y) - (y position)) / (smooth))\nend\ngo to x: (x) y: (y)\n\nwhen [timer v] > (timer)\nset [color v] effect to (0)\n\nwhen [timer v] > (timer)\ngo to [front v] layer\nclear graphic effects\nshow\ngo to x: (0) y: (-150)\nset size to (100) %\nglide to [0] [0] [10]\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    set [timer v] to (timer)\nend\n\n