✨Dad and milk platformer 2! ✨
@Stage\n\ndefine handle ground <moving up>\n\n@dad\n\ndefine handle ground <moving up>\nrepeat until <not <touching color (#0fff00)?>>\n    if <moving up> then\n        change y by (-5)\n    else\n        change y by (1)\n        set [in air? v] to [0]\n    end\n    set [y vel v] to [0]\nend\n\ndefine walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <<not <touching color (#0fff00)?>> or <(Ground Lift) = [8]>>\n    change y by (1)\n    change [ground lift v] by (1)\nend\nif <(Ground Lift) = [8]> then\n    change x by ((-1) * (steps))\n    change y by (-8)\nend\n\nwhen flag clicked\nshow\ngo to x: (-128) y: (-103)\nset rotation style [left-right v]\nset [y vel v] to [0]\nforever\n    change [y vel v] by (-2)\n    change y by (Y vel)\n    change [in air? v] by (1)\n    handle ground <[0] < (Y vel)>\nend\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <key (a v) pressed?> then\n        walk [-7]\n    end\n    if <key (d v) pressed?> then\n        walk [7]\n    end\n    if <<key (w v) pressed?> and <(in air?) < [8]>> then\n        set [y vel v] to [14]\n    end\n    if <key (left arrow v) pressed?> then\n        walk [-7]\n    end\n    if <key (right arrow v) pressed?> then\n        walk [7]\n    end\n    if <<key (up arrow v) pressed?> and <(in air?) < [8]>> then\n        set [y vel v] to [14]\n    end\n    if <<(x position) = [235]> or <[235] < (x position)>> then\n        go to x: (-128) y: (-103)\n        next backdrop\n    end\n    if <<<touching (danger v)?> or <touching (enemy v)?>> or <<touching (effect v)?> or <touching (remove lag v)?>>> then\n        start sound [roblox-death-sound_1 \(1\) v]\n        go to x: (-128) y: (-103)\n    end\n    if <touching (teleporter v)?> then\n        go to x: (231) y: (-102)\n    end\n    if <touching (teleporter2 v)?> then\n        go to x: (-83) y: (29)\n    end\n    if <touching (potion v)?> then\n        play sound [minecraft-drinking-sound-effect \(2\) v] until done\n        change size by (-10)\n    end\n    if <touching (house v)?> then\n        set [house v] to [1]\n        broadcast (final v)\n    end\nend\n\nwhen flag clicked\nset [house v] to [0]\nswitch backdrop to (1 v)\nrepeat until <(house) = [1]>\n    play sound [marshmello_marshmello-alone v] until done\nend\n\nnext backdrop\n\ngo to x: (-128) y: <touching color (#c81bff)?>\n\nrepeat (10)\n    wait (0.1) seconds\n    change y by (-1)\nend\nrepeat (10)\n    wait (0.1) seconds\n    change y by (1)\nend\n\nwhen flag clicked\n\nwait (1) seconds\n\nwhen backdrop switches to [13 v]\nset size to (100) %\n\nplay sound [minecraft-drinking-sound-effect \(2\) v] until done\n\nchange size by (-10)\n\nwhen I receive [hide v]\nhide\n\nwhen I receive [final v]\nstop all sounds\n\nwhen flag clicked\nset [☁ time v] to [0]\nrepeat until <(house) = [1]>\n    wait (1) seconds\n    change [☁ time v] by (1)\nend\n\n@thumbnail\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@danger\n\nwhen backdrop switches to [11 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [2 v]\nshow\nswitch costume to (1 v)\nset [brightness v] effect to (50)\n\nwhen backdrop switches to [3 v]\nswitch costume to (2 v)\nset [brightness v] effect to (50)\n\nwhen backdrop switches to [4 v]\nswitch costume to (3 v)\nset [brightness v] effect to (50)\n\nwhen backdrop switches to [5 v]\nswitch costume to (4 v)\nset [brightness v] effect to (0)\n\nwhen backdrop switches to [5 v]\nswitch costume to (4 v)\n\nwhen backdrop switches to [6 v]\nswitch costume to (5 v)\n\nwhen backdrop switches to [7 v]\nhide\n\nwhen backdrop switches to [10 v]\nshow\nswitch costume to (6 v)\nset [brightness v] effect to (50)\n\nwhen backdrop switches to [13 v]\nshow\nswitch costume to (costume1 v)\nset [brightness v] effect to (50)\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\n@effect\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [3 v]\nset [brightness v] effect to (65)\nshow\n\nwhen backdrop switches to [4 v]\nhide\n\nchange [brightness v] effect by (-25)\n\n@remove lag\n\nwhen flag clicked\nshow\n\nwhen I receive [hide v]\nhide\n\n@skip\n\nwhen this sprite clicked\nnext backdrop\nchange [☁ time v] by (15)\n\nwhen I receive [hide v]\nhide\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\n@enemy\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [9 v]\nshow\ngo to x: (150) y: (35)\nforever\n    switch costume to (costume1 v)\n    glide (3) secs to x: (-101) y: (35)\n    switch costume to (costume2 v)\n    glide (3) secs to x: (150) y: (35)\nend\n\nwhen backdrop switches to [11 v]\nhide\n\n@teleporter\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [11 v]\nshow\n\nwhen backdrop switches to [12 v]\nhide\n\n@teleporter2\n\nwhen backdrop switches to [11 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [12 v]\nhide\n\n@potion\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [12 v]\nshow\n\nwhen backdrop switches to [13 v]\nhide\n\n@house\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen I receive [hide v]\nhide\n\n@scene change\n\nwhen I receive [final v]\nbroadcast (hide v)\nshow\nset [ghost v] effect to (100)\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nswitch backdrop to (backdrop12 v)\nwait (1) seconds\nchange [ghost v] effect by (25)\nwait (0.1) seconds\nchange [ghost v] effect by (25)\nwait (0.1) seconds\nchange [ghost v] effect by (25)\nwait (0.1) seconds\nchange [ghost v] effect by (25)\nset voice to (tenor v)::tts\nspeak [Hey kids, im home]::tts\nwait (1) seconds\nspeak [Kids...you look so...different ]::tts\nwait (1) seconds\nspeak [You've grown up]::tts\nwait (1) seconds\nswitch backdrop to (backdrop3 v)\nspeak [Dad, it's been years since you left...]::tts\nwait (1) seconds\nspeak [how come you took so long ]::tts\nwait (1) seconds\nspeak [We've been missing you]::tts\nwait (1) seconds\nset voice to (alto v)::tts\nswitch backdrop to (backdrop7 v)\nspeak [We thought you were dead]::tts\nswitch backdrop to (backdrop7 v)\nwait (1) seconds\nspeak [Did you want to abandon us?]::tts\nwait (1) seconds\nset voice to (tenor v)::tts\nwait (1) seconds\nswitch backdrop to (backdrop4 v)\nspeak [No, why would i ever do that? ]::tts\nwait (1) seconds\nswitch backdrop to (backdrop4 v)\nspeak [I just went to get the milk]::tts\nspeak [But it was harder than i thought it would be ]::tts\nwait (1) seconds\nspeak [I've got it now though, so now that i'm back, what do you two wanna do?]::tts\nswitch backdrop to (backdrop6 v)\nwait (1) seconds\nswitch backdrop to (backdrop11 v)\nset voice to (alto v)::tts\nspeak [hmmm....let's have a party!]::tts\nwait (0.5) seconds\nspeak [But let's make it milk themed!]::tts\nwait (1) seconds\nswitch backdrop to (backdrop13 v)\nset voice to (tenor v)::tts\nspeak [That's a great idea!]::tts\nwait (2) seconds\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nbroadcast (end v)\n\nwhen flag clicked\nhide\n\nchange [ghost v] effect by (25)\nchange [ghost v] effect by (25)\nchange [ghost v] effect by (25)\n\nchange [color v] effect by (25)\n\nchange [ghost v] effect by (-25)\nchange [ghost v] effect by (-25)\n\nchange [ghost v] effect by (25)\nchange [ghost v] effect by (25)\n\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nwait (0.1) seconds\nchange [ghost v] effect by (-25)\nbroadcast (end v)\n\n@Sprite1\n\nwhen flag clicked\nforever\n    show\n    go to (dad v)\nend\n\nwhen I receive [hide v]\nhide\n\n
Heyy everyone! Soo a lot of u were asking for a part 2 bc part 1 blew up (33k views, trending, top loved, top remixed) So here's part 2!!!! :D - sry its been a long time but i sorta lost the motivation to make platformers for a while but im back :D\n\nPart 1: https://scratch.mit.edu/projects/848028575/\n\n❤⭐Remember to love and fave and comment any suggestions!\n\n===⭐CREDITS⭐===\n@SammyCheez for the youtube tutorial\nMe @Da_coding_noob for art, code and animation\nSome of my followers for telling me to make part 2 \n@MasteGamez and @I_like_code12 for the idea of making the milk follow the player\n\nBefore ppl start telling me this is the same as my other platformers, its NOT. This time i tried making enemies, potions and teleporters and a timer\n\nNOTE: if u skip a level, it adds +15 seconds to your time\n\n#all #all #all #all #all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all#all #all #all #all\n#games #games #games #games #games #games #games#games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games \n#platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #trending #recent #popular #trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular#trending #recent #popular #trending #recent #popular #trending #recent #popular #trending #recent #popular #trending #recent #popular #trending #recent #popular #music #music #music #music #music #music #music #music #music #music #music #music #music #music #music #music #music #music \n#stories #stories #stories #stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories#stories #stories #stories\n\n\n