Let's Make Bubble Tea // The Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (hi there v)\nset [tea choice v] to [0]\nhide variable [tea choice v]\n\nwhen flag clicked\nforever\n    play sound [Dating Start! - Undertale v] until done\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [game end v]\nshow\ngo to [front v] layer\n\nset [level v] to [10]\n\n@Player\n\nwhen flag clicked\nshow\nset size to (30) %\nset [ghost v] effect to (0)\nswitch costume to (pick random (1) to (6))\ngo to x: (-235) y: (0)\nset [level v] to [1]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [0]>>> then\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [0]>>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (ground v)?> then\n        change y by (2)\n        if <touching (ground v)?> then\n            change y by (2)\n            if <touching (ground v)?> then\n                change y by (2)\n                if <touching (ground v)?> then\n                    change y by (2)\n                    if <touching (ground v)?> then\n                        change y by (2)\n                        if <touching (ground v)?> then\n                            change y by (-5)\n                            change x by ((Xv) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (ground v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>>> then\n        set [yv v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        if <(level) = [7]> then\n            go to x: (-224) y: (-100)\n        else\n            go to x: (-235) y: (0)\n        end\n        change [level v] by (1)\n        broadcast (next level v)\n    end\n    if <(y position) = [-190]> then\n        broadcast (ded v)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-235) y: (0)\n        set [ghost v] effect to (0)\n    end\n    if <touching (dangers v)?> then\n        broadcast (ded v)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        if <(level) = [10]> then\n            go to x: (-224) y: (-133)\n        else\n            go to x: (-235) y: (0)\n        end\n        set [ghost v] effect to (0)\n    end\nend\n\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\npoint in direction (-90)\n\npoint in direction (90)\n\nshow variable [level v]\n\nwhen flag clicked\n\nhide variable [level v]\n\nwhen I receive [game end v]\nhide\n\nwhen I receive [mango slush v]\nswitch costume to (mango slush v)\n\nwhen I receive [matcha milk v]\nswitch costume to (matcha milk tea v)\n\nwhen I receive [taro milk v]\nswitch costume to (taro milk tea v)\n\nwhen I receive [winter melon v]\nswitch costume to (winter melon milk tea v)\n\nwhen I receive [honey lemonade v]\nswitch costume to (honey lemonade v)\n\nwhen I receive [red bean v]\nswitch costume to (red bean milk tea v)\n\nwhen I receive [ded v]\n\ngo to x: (-235) y: (0)\n\n@Ground\n\nwhen flag clicked\nshow\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        broadcast (Game End v)\n    end\nend\n\nwhen I receive [game end v]\nhide\n\ngo to [back v] layer\n\n@Dangers\n\nwhen flag clicked\nshow\nforever\n    switch costume to (level)\nend\n\nwhen I receive [game end v]\nhide\n\n@Text\n\nwhen flag clicked\nshow\ngo to [back v] layer\nforever\n    switch costume to (level)\nend\n\nwhen I receive [game end v]\nhide\n\n@Bubbles\n\nwhen flag clicked\ngo to x: (0) y: (-200)\ngo to [back v] layer\nshow\nforever\n    create clone of (_myself_ v)\nend\n\ngo to [back v] layer\n\nwhen I start as a clone\nset [ghost v] effect to (50)\ngo to x: (pick random (200) to (-200)) y: (-200)\nglide (1) secs to (random position v)\ndelete this clone\n\npoint in direction (0)\nmove (10000) steps\n\n@Menu\n\nwhen flag clicked\nset [menu? v] to [Hide]\nshow\n\nwhen this sprite clicked\nbroadcast (Switch v)\n\nwhen I receive [switch v]\nif <(Menu?) = [Hide]> then\n    set [menu? v] to [Show]\nelse\n    set [menu? v] to [Hide]\nend\n\n@Mango Slush\n\nwhen flag clicked\nforever\n    if <(Menu?) = [Hide]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Mango Slush v)\n\n@Matcha Milk\n\nwhen flag clicked\nforever\n    if <(Menu?) = [Hide]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Matcha Milk v)\n\n@Taro Milk\n\nwhen flag clicked\nforever\n    if <(Menu?) = [Hide]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Taro Milk v)\n\n@Winter Melon\n\nwhen flag clicked\nforever\n    if <(Menu?) = [Hide]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Winter Melon v)\n\n@Honey Lemonade\n\nwhen flag clicked\nforever\n    if <(Menu?) = [Hide]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Honey Lemonade v)\n\n@Red Bean\n\nwhen flag clicked\nforever\n    if <(Menu?) = [Hide]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Red Bean v)\n\n
I'm planning to remix projects and make them as platformers! This is my first one! Let's Make Bubble Tea- but remixed as a platformer.\n\n800 VIEWS?!?! WOW!!!!\n\nWASD, arrow keys or mobile to move.\nPress the menu button to change skin.\nDifficulty: Medium