Santa II A platformer
@Stage\n\nwhen flag clicked\nforever\n    start sound [Frosty the Snowman v]\nend\n\nset volume to (100) %\n\n@player\n\nwhen flag clicked\nbroadcast (Connecting v)\nshow\nswitch costume to (front v)\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\nset [max players v] to [8]\nset [#my player v] to [0]\ndelete all of [buffer v]\nbroadcast (setup - opponents v) and wait\nbroadcast (join game v) and wait\nif <(#my Player) > [0]> then\n    broadcast (Connected v)\n    broadcast (Joined v)\n    wait (3) seconds\nelse\n    broadcast (Full v)\nend\nbroadcast (Begin v)\n\ndefine write (val) to encoded\nset [letter # v] to [1]\nrepeat (length of (val))\n    set [encoded v] to (join (encoded) (item # of (letter (letter #) of (val)) in [code v]))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (encoded) [00])\n\nwhen I receive [begin v]\nforever\n    player tick\n    send cloud data\nend\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ player1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ player2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ player3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ player4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ player5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ player6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ player7 v] to (value)\n                        else\n                            set [☁ player8 v] to (value)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine send cloud data\nif <(#my Player) < [1]> then\n    stop [this script v]\nend\nadd (x position) to [buffer v]\nadd (y position) to [buffer v]\nchange [cloud timer v] by (1)\nif <(Cloud timer) < [3]> then\n    stop [this script v]\nend\nset [cloud timer v] to [0]\nset [encoded v] to []\nwrite (username) to encoded\nwrite (round ((timer) * (10))) to encoded\nrepeat (length of [buffer v])\n    write (item (1) of [buffer v]) to encoded\n    delete (1) of [buffer v]\nend\nset cloud # (#my Player) to (encoded)\nset cloud # (#my Player) to (encoded)\n\ndefine player tick\ncreate clone of (_myself_ v)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [x v] by (.9)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [x v] by (-.9)\nend\nset [x v] to ((x) * (.9))\nchange x by (x)\nif <<touching (level v)?> or <touching (block v)?>> then\n    change y by (1)\n    if <<touching (level v)?> or <touching (block v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (block v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (block v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (block v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (block v)?>> then\n                        change y by (-5)\n                        change x by ((x) * (-1))\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>> then\n                            if <(x) > [0]> then\n                                set [x v] to [-5]\n                            else\n                                set [x v] to [5]\n                            end\n                            set [y v] to [12]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <<touching (level v)?> or <touching (block v)?>> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<touching (level v)?> or <touching (block v)?>> then\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>> then\n        change [y v] by (12)\n    end\nend\nchange y by (1)\nif <<touching (spikes v)?> or <touching (saws v)?>> then\n    broadcast (respawn v)\nend\nif <touching (trampoline v)?> then\n    change [y v] by (15)\nend\nif  then\n    set [y v] to [-2]\nend\n\nwhen flag clicked\nforever\n    if <not <<<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>>> or <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>>> then\n        switch costume to (front v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (right v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (left v)\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>> then\n        switch costume to (up v)\n    end\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>> then\n        switch costume to (up right v)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>> then\n        switch costume to (up left v)\n    end\nend\n\nwhen I receive [next level v]\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\nif <(_ LEVEL) = [6]> then\n    go to x: (-200) y: (-34)\nend\nif <(_ LEVEL) = [7]> then\n    go to x: (-200) y: (-34)\nend\nif <(_ LEVEL) = [1]> then\n    go to x: (-200) y: (0)\nend\nif <(_ LEVEL) = [11]> then\n    go to x: (-250) y: (-34)\nend\nif <(_ LEVEL) = [3]> then\n    go to x: (-250) y: (0)\nend\nif <(_ LEVEL) = [15]> then\n    go to x: (-250) y: (0)\nend\nwait (1) seconds\n\nwhen I receive [respawn v]\npoint in direction (90)\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\nif <(_ LEVEL) = [6]> then\n    go to x: (-200) y: (-34)\nend\nif <(_ LEVEL) = [7]> then\n    go to x: (-200) y: (-34)\nend\nif <(_ LEVEL) = [3]> then\n    go to x: (-250) y: (0)\nend\nwait (1) seconds\n\nwhen I start as a clone\nswitch costume to (1 v)\nrepeat (10)\n    change [color v] effect by (25)\n    change size by (-2)\nend\ndelete this clone\n\nwhen I receive [connected v]\nforever\n    if <[237] < (x position)> then\n        broadcast (NEXT LEVEL v)\n    end\n    if <(x position) < [-245]> then\n        go to x: (-244) y: (y position)\n    end\n    if <(y position) < [-160]> then\n        broadcast (respawn v)\n    end\nend\n\nwhen I receive [connected v]\nforever\n    if <(#my Player) = [1]> then\n        set [☁ @ count? v] to [1]\n    else\n        if <(#my Player) = [2]> then\n            set [☁ @ count? v] to [2]\n        else\n            if <(#my Player) = [3]> then\n                set [☁ @ count? v] to [3]\n            else\n                if <(#my Player) = [4]> then\n                    set [☁ @ count? v] to [4]\n                else\n                    if <(#my Player) = [5]> then\n                        set [☁ @ count? v] to [5]\n                    else\n                        if <(#my Player) = [6]> then\n                            set [☁ @ count? v] to [6]\n                        else\n                            if <(#my Player) = [7]> then\n                                set [☁ @ count? v] to [7]\n                            else\n                                if <(#my Player) = [8]> then\n                                    set [☁ @ count? v] to [8]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwait (1) seconds\n\nwhen I receive [begin v]\n\n    delete all of [@level v]\n    add (_ LEVEL) to [@level v]\nend\n\nwhen flag clicked\nforever\n    if <key (any v) pressed?> then\n        stop [all v]\n    end\nend\n\n@other players\n\ndefine begin decode of (encoded)\nset [encoded v] to (encoded)\nset [letter # v] to [1]\n\ndefine value =read from encoded\nset [value v] to []\nforever\n    set [idx v] to (join (letter (letter #) of (encoded)) (letter ((letter #) + (1)) of (encoded)))\n    change [letter # v] by (2)\n    if <(idx) < [1]> then\n        stop [this script v]\n    end\n    set [value v] to (join (value) (item (idx) of [code v]))\nend\n\ndefine setup players\ndelete all of [buffer v]\nhide\nset [offline v] to [100]\nset [player # v] to [1]\nrepeat ((MAX PLAYERS) - (1))\n    create clone of (_myself_ v)\n    change [player # v] by (1)\nend\n\nwhen I receive [begin v]\nforever\n    if <(#my Player) = (player #)> then\n        set [offline v] to [100]\n    else\n        show\n        tick\n    end\nend\n\ndefine value =cloud # (player)\nif <(player) = [1]> then\n    set [value v] to (☁ player1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ player2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ player3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ player4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ player5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ player6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ player7)\n                        else\n                            set [☁ player5 v] to (☁ player5)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [setup - opponents v]\nsetup players\n\ndefine tick\nvalue =cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    change [offline v] by (1)\n    if <(offline) = [100]> then\n        hide\n    end\nelse\n    set [last value v] to (join [A] (value))\n    if <(offline) > [99]> then\n        show\n    end\n    set [offline v] to [0]\n    begin decode of (value)\n    value =read from encoded\n    say (join (player #) (join [:] (value)))\n    value =read from encoded\n    value =read from encoded\n    repeat until <(value) = []>\n        add (value) to [buffer v]\n        value =read from encoded\n    end\nend\nif <(length of [buffer v]) > [0]> then\n    set x to (item (1) of [buffer v])\n    delete (1) of [buffer v]\n    set y to (item (1) of [buffer v])\n    delete (1) of [buffer v]\nend\n\nwhen I receive [join game v]\nvalue =cloud # (player #)\nset [last value v] to (join [A] (value))\nwait (3) seconds\nvalue =cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    set [#my player v] to (player #)\nend\n\nwhen I receive [begin v]\nforever\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (2) layers\nswitch costume to (level10 v)\nforever\n    go to x: (0) y: (0)\n    set [_ level v] to (costume [number v])\nend\n\nwhen I receive [next level v]\nnext costume\n\nswitch costume to ((costume [number v]) - (1))\n\n@Spikes\n\nwhen flag clicked\ngo to x: (38) y: (69)\nhide\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    show\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\n    switch costume to (_ LEVEL)\nend\n\nwhen I receive [next level v]\n\nwhen flag clicked\ngo to x: (86) y: (43)\nhide\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    switch costume to (_ LEVEL)\nend\n\nshow\nrepeat (10)\n    change y by (1)\nend\nrepeat (10)\n    change y by (-1)\nend\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(Love) = [1]> and <(Favorite) = [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 [all v]\n    end\nend\n\nwhen flag clicked\nstop [all v]\n\n@Saws\n\nwhen flag clicked\ngo to x: (38) y: (93)\nhide\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    show\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\n    switch costume to (_ LEVEL)\nend\n\nwhen I receive [next level v]\n\nwhen flag clicked\ngo to x: (35) y: (54)\nhide\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    switch costume to (_ LEVEL)\nend\n\nshow\nrepeat (10)\n    change y by (1)\nend\nrepeat (10)\n    change y by (-1)\nend\n\n@cloud\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nswitch costume to (connecting v)\ngo to [front v] layer\n\nwhen I receive [joined v]\nshow\nswitch costume to (connected v)\ngo to [front v] layer\n\nwhen I receive [full v]\nshow\nswitch costume to (server full v)\ngo to [front v] layer\n\nwhen I receive [begin v]\nhide\nif <(username) = []> then\n    show\n    switch costume to (no ac v)\nend\n\n
Yo! Wassup! This is an entry to a tournament I hope I win!!\n???? Santa II A platformer ????\nHo ho ho\n\nLeave a ❤️+⭐️ and follow\n\n\n⏩ Inspiration @sassyseal1000 xD\n\n\n⏩ Instructions ⏪\n» Move with arrow keys\n» U can wall jump\n» Avoid isicles and lava\n» Have fun\n\n✅ Credits ✅\nPlayer art by @-Intensify-... Santa hat is mine\nCode by @JTHEJET and @-Intensify-\nArt 95% Me\nMusic... Idk? Suggest in comments\n\nTags❗️\n#sassyseal1000 #games #online #games #games #online #games #games\n\n\n\n\n\n\n\n\n\nWhy were u reading tags?\n\n\n\n\n\n\n\n\n\nDang it!\n\n\n\n\n\n\n\n\n\nbruh?\n\n\n\n\n\n\n\n\n\nFollow me\n\n\n\n\n\n\n\n\n\nSince ur here I dAre yoU to love fave and follow <:) jk but still appreciated!!