Adventure - Part 1 (Now Mobile!) #Games #All #Trending #Music #Platformer #Tutorials

Instructions: READ THIS (sry for yelling)\n\n-Play this too: https://scratch.mit.edu/projects/664195252/\n\n-Play this after you beat the game: https://scratch.mit.edu/projects/654472013/ (go ahead and follow this guy)\n\n-CONTEST: https://scratch.mit.edu/projects/664704029/\n\n-After this hits 1000 loves, I will be hosting a game contest! If you want to enter, tell me on my profile.\n-Thank you so much for 250 loves!!\n-I'm working on the next part!!\nYou are a normal cube and you decide to go on a quest! Your adventure will be one of the most exciting things you  have ever done! \n\n- This is part one, so there are only ten levels. If you look inside, you will see that there is a bunch of extra stuff. If you want to use assets, feel free! But please make sure to give credit.\n\n-Check this out too: https://scratch.mit.edu/projects/665526540/

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next scene v]\nnext backdrop\nchange [scene v] by (1)\n\nwhen I receive [intro v]\nswitch backdrop to (backdrop1 v)\n\n@Player!\n\nwhen flag clicked\ngo to x: (-209) y: (-85)\nforever\n    if <touching (spikes v)?> then\n        die\n    end\nend\n\nwhen flag clicked\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>>> then\n        change [x v] by (-1)\n    end\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    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n            set [y v] to [17]\n            if <(x) = [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) - ((y) * (2)))\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 y) > (y position)> and <mouse down?>>>> and <touching (ground v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<(x position) = [241]> or <(x position) = [246]>> then\n        go to x: (-209) y: (-81)\n        broadcast (NEXT LVL v)\n    end\nend\n\nwhen flag clicked\nset [level v] to [0]\n\nwhen I receive [next lvl v]\nset size to (75) %\nset [death count v] to [0]\nchange [level v] by (1)\n\nwhen flag clicked\nset [death count v] to [0]\nforever\n    if <(y) = [-182]> then\n        go to x: (-209) y: (-81)\n        change [deaths: v] by (1)\n    end\nend\n\nwhen flag clicked\nshow\nswitch costume to (front v)\nset [deaths: v] to [0]\n\nwhen flag clicked\nforever\n    if <touching (trampoline v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen I receive [red v]\nswitch costume to (front v)\n\nwhen I receive [orange v]\nswitch costume to (costume2 v)\n\nwhen I receive [yellow v]\nswitch costume to (costume3 v)\n\nwhen I receive [green v]\nswitch costume to (costume4 v)\n\nwhen I receive [blue v]\nswitch costume to (costume5 v)\n\nwhen I receive [purple v]\nswitch costume to (costume6 v)\n\nwhen flag clicked\nforever\n    if <touching (side trampoline v)?> then\n        set [x v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        go to x: (-209) y: (-85)\n        broadcast (NEXT SCENE v)\n        broadcast (NEXT LVL v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (supertramp v)?> then\n        set [y v] to [25]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (tiny tim v)?> then\n        set size to (40) %\n    end\nend\n\nwhen flag clicked\nset [scene v] to [1]\n\nwhen flag clicked\nbroadcast (The Beginning v)\nwait (9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) seconds\n\nwhen flag clicked\nforever\n    if <(Deaths:) = [50]> then\n        broadcast (Game Over? v)\n        wait (9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Deaths:) = [100]> then\n        broadcast (Told You So! v)\n        wait (9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) seconds\n    end\nend\n\ndefine die\nchange [death count v] by (1)\nchange [y v] by (15)\nrepeat (20)\n    turn right (5) degrees\n    change [ghost v] effect by (5)\nend\ngo to x: (-209) y: (-85)\nset size to (75) %\nset [ghost v] effect to (0)\npoint in direction (90)\nchange [deaths: v] by (1)\n\nwhen flag clicked\nforever\n    if <touching (sword v)?> then\n        broadcast (sword v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (fireball v)?> then\n        die\n    end\nend\n\nwhen flag clicked\nset [clone v] to []\nforever\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[] > (clone)> then\n    broadcast (trail v)\n    set size to (35) %\n    repeat (10)\n        change y by (5)\n        turn right (5) degrees\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    broadcast (trail v)\n    set size to (75) %\n    repeat (10)\n        change size by (-5)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I receive [start v]\nforever\n    set volume to (100) %\n    play sound [chill-abstract-2 v] until done\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite3 v)?> then\n        broadcast (NEXT LVL v)\n    end\nend\n\nwhen I receive [secret v]\n\n@Ground\n\nwhen flag clicked\ngo to x: (35) y: (26)\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next lvl v]\nnext costume\n\n@Spikes\n\nwhen flag clicked\ngo to x: (35) y: (26)\npoint in direction (90)\n\nwhen flag clicked\nforever\n    \nend\n\nwhen I receive [next lvl v]\nchange [level v] by (-10)\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to [front v] layer\n\n@Cloud\n\nwhen I start as a clone\nshow\ngo to x: (249) y: (pick random (-42) to (168))\nrepeat until <(x position) = [-234]>\n    change x by (-3)\nend\ndelete this clone\n\nwhen I receive [next scene v]\nnext costume\nset size to (150) %\n\nwhen I receive [next scene v]\nhide\ngo to x: (249) y: (60)\nset [ghost v] effect to (20)\ngo to [back v] layer\nforever\n    create clone of (_myself_ v)\n    wait (2.5) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (249) y: (60)\nset [ghost v] effect to (20)\ngo to [back v] layer\nforever\n    create clone of (_myself_ v)\n    wait (5) seconds\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    if <(scene) = [6]> then\n        forever\n            repeat (1)\n                change x by (pick random (10) to (15))\n                change y by (pick random (10) to (15))\n            end\n            wait (pick random (0..00000001) to (2)) seconds\n            change [color v] effect by (pick random (1) to (500))\n        end\n    end\nend\n\nwhen I receive [intro v]\nhide\n\n@Trampoline\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to x: (35) y: (25)\n\n@Achivements!\n\nwhen I receive [roy g. biv v]\nswitch costume to (roy g. biv v)\ngo to [front v] layer\nshow\nanimation\n\nwhen flag clicked\nswitch costume to (roy g. biv v)\ngo to [front v] layer\nhide\ngo to x: (11) y: (186)\n\ndefine animation\nrepeat (20)\n    change y by (-3)\nend\nrepeat (5)\n    change y by (-0.5)\nend\nrepeat (3)\n    change y by (-0.25)\nend\nwait (2) seconds\nrepeat (20)\n    change y by (3)\nend\nrepeat (5)\n    change y by (0.5)\nend\nrepeat (3)\n    change y by (0.25)\nend\nhide\n\nwhen I receive [grass green v]\nswitch costume to (grass green v)\nshow\ngo to [front v] layer\nanimation\n\nwhen I receive [winter blue v]\nswitch costume to (winter blue v)\nshow\ngo to [front v] layer\nanimation\n\nwhen I receive [desert yellow v]\nswitch costume to (desert yellow v)\ngo to [front v] layer\nshow\nanimation\n\nwhen I receive [blood orange v]\ngo to [front v] layer\nswitch costume to (blood orange v)\nshow\nanimation\n\nwhen I receive [gl!#ch v]\ngo to [front v] layer\nswitch costume to (gl!#ch v)\nshow\nanimation\n\nwhen I receive [the beginning v]\nwait (5) seconds\ngo to [front v] layer\nswitch costume to (the beginning v)\nshow\nbroadcast (intro v)\nanimation\n\nwhen I receive [game over? v]\ngo to [front v] layer\nswitch costume to (game over? v)\nshow\nanimation\n\nwhen I receive [told you so! v]\ngo to [front v] layer\nswitch costume to (told you so! v)\nshow\nanimation\n\nwhen I receive [god moments v]\ngo to [front v] layer\nswitch costume to (god moments v)\nshow\nanimation\n\nwhen I receive [intro v]\nhide\n\n@Skip Button\n\nwhen flag clicked\ngo to x: (204) y: (-77)\nhide\nwait (5) seconds\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (NEXT LVL v)\n\nwhen flag clicked\nforever\n    if <(death count) = [25]> then\n        broadcast (skip lvl v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(death count) = [25]> then\n        broadcast (skip lvl v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(death count) = [25]> or <(death count) > [25]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [39]> then\n        forever\n            hide\n        end\n    end\nend\n\nwhen I receive [intro v]\nhide\n\n@Effects\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to [back v] layer\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(introOn?) = [y]> then\n    hide\nelse\n    go to [back v] layer\n    set [ghost v] effect to (pick random (20) to (50))\n    show\n    set y to (-10000)\n    set [myx v] to (pick random ((Scroll X) - (400)) to ((Scroll X) + (400)))\n    set [speedeffect v] to (pick random (5) to (12))\n    set size to (pick random (50) to (100)) %\n    repeat (30)\n        switch costume to (costume2 v)\n        change y by (SpeedEffect)\n        set x to ((MyX) - (Scroll X))\n        switch costume to (costume1 v)\n        change size by (-1)\n        change [ghost v] effect by (1)\n    end\n    delete this clone\nend\n\nwhen I receive [show v]\nshow\n\nwhen I receive [hide v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (-146) y: (139)\nswitch costume to (costume1 v)\nforever\n    if <(costume [number v]) = [1]> then\n        broadcast (show v)\n    end\n    if <(costume [number v]) = [2]> then\n        broadcast (hide v)\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen I receive [start v]\nshow\n\nwhen I receive [intro v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\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)\n    broadcast (Thanks v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\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\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [intro v]\nhide\n\n@intro\n\nwhen flag clicked\nbroadcast (intro v)\nbroadcast (Start v)\n\n