Starting Scratch I A Platformer v0.2

Instructions: ✿ Sᴛᴀʀᴛɪɴɢ Sᴄʀᴀᴛᴄʜ ✿\n\n✿ Gᴀᴍᴇ ✿\n- Usᴇ Lᴇғᴛ/Rɪɢʜᴛ, A/D Kᴇʏs ᴏʀ Sᴡɪᴘᴇ ᴛᴏ ᴍᴏᴠᴇ!\n- Usᴇ Uᴘ Kᴇʏ, W Kᴇʏ ᴏʀ Sᴡɪᴘᴇ ᴜᴘ ᴛᴏ ᴊᴜᴍᴘ!\n- Usᴇ ᴛʜᴇ S ᴋᴇʏ ᴛᴏ Sᴋɪᴘ!\n- Usᴇ ᴛʜᴇ R ᴋᴇʏ ᴛᴏ Rᴇꜱᴇᴛ!\n- Sᴘɪᴋᴇꜱ, Sᴀᴡꜱ, Eɴᴇᴍɪᴇꜱ ᴀɴᴅ Lᴀᴠᴀ ᴄᴀɴ ʜᴜʀᴛ ʏᴏᴜ!\n\n✿ Gᴀᴍᴇ Iɴꜰᴏ ✿\nMʏ ꜰɪʀꜱᴛ ɢᴀᴍᴇ\n687 Bʟᴏᴄᴋꜱ\n10 Sᴘʀɪᴛᴇꜱ\n42 Sᴄʀɪᴘᴛꜱ\n3 Mᴇꜱꜱᴀɢᴇꜱ\n7 Vᴀʀɪᴀʙʟᴇꜱ \n11 Cᴜꜱᴛᴏᴍ ʙʟᴏᴄᴋꜱ \n13 Lᴇᴠᴇʟꜱ\n100+ Lᴏᴠᴇꜱ\n90+ Fᴀᴠᴏᴜʀɪᴛᴇꜱ\n8 Rᴇᴍɪxᴇꜱ\n2.7k+ Vɪᴇᴡꜱ\n\n✿ Cʀᴇᴅɪᴛꜱ ✿\nGᴀᴍᴇ ʙʏ @-GalacticCoder-\nEɴɢɪɴᴇ ʙʏ  @--AwesomeCode-- (ᴍᴏᴅɪꜰɪᴇᴅ ʙʏ ᴍᴇ)\nIɴᴛʀᴏ ʙʏ @-PickleAnimator- (ᴍᴏᴅɪꜰɪᴇᴅ ʙʏ ᴍᴇ)\nPʟᴀʏᴇʀ, Eɴᴇᴍʏ, Gʀᴏᴜɴᴅ, Bʀɪᴅɢᴇ, Sᴀᴡꜱ, Sᴘɪᴋᴇꜱ ʙʏ @Invisity\nLᴀᴠᴀ ʙʏ @Deluxra\nMᴏʙɪʟᴇ ᴡᴀʟʟ ᴊᴜᴍᴘ ʙʏ @LakiTheKoopa\nEᴠᴇʀʏᴛʜɪɴɢ Eʟꜱᴇ ʙʏ Mᴇ

@Stage\n\nwhen flag clicked\nSet Game\n\ndefine Set Game\nset [level v] to [1]\nswitch backdrop to (bg neat v)\nshow\ngo to [front v] layer\nclear graphic effects\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\n    change [ghost v] effect by (100000000)\nend\n\n@Player\n\ndefine Reset Player\nhide variable [level v]\nhide variable [size v]\nhide variable [x v]\nhide variable [y v]\ngo to x: (-210) y: (25)\npoint in direction (90)\nshow\ngo to [front v] layer\nswitch costume to (normal v)\nclear graphic effects\n\nwhen flag clicked\nset [size v] to [80]\nset size to (size) %\nhide\n\nwhen I receive [intro done v]\nshow\nReset Player\nforever\n    Physics\nend\n\ndefine Physics\nforever\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        change [x v] by (1.5)\n    end\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        change [x v] by (-1.5)\n    end\n    set [x v] to ((x) * (0.85))\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 <<<mouse down?> and <(mouse x) > [0]>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n            set [y v] to [15]\n        else\n            set [x v] to [0]\n        end\n    end\n    change [y v] by (-1)\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 <<touching (ground v)?> and <<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [210]> then\n        broadcast (Next Level v) and wait\n    end\n    if <<touching (saws v)?> or <<touching (lava v)?> or <<touching (enemy v)?> or <touching (spikes v)?>>>> then\n        broadcast (Reset v)\n    end\n    if <key (r v) pressed?> then\n        broadcast (Reset v)\n    end\n    if <key (s v) pressed?> then\n        broadcast (Next Level v)\n        wait until <not <key (s v) pressed?>>\n    end\nend\n\nwhen I receive [reset v]\nReset Player\n\nwhen I receive [next level v]\nNext Level\nReset Player\n\ndefine Next Level\nchange [level v] by (1)\n\n@Ground\n\nwhen I receive [intro done v]\nshow\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\nhide\n\n@Art\n\nwhen I receive [intro done v]\nshow\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\nhide\n\n@Intro\n\nwhen I start as a clone\nif <(Clone) = [Particles]> then\n    switch costume to (pick random (29) to (31))\n    set size to (pick random (50) to (150)) %\n    set [ghost v] effect to (pick random (0.) to (5.))\n    set [brightness v] effect to (pick random (-25.) to (100.))\n    go to x: (0) y: (0)\n    point in direction (pick random (-180) to (180))\n    set [intro: x v] to (pick random (10.) to (12.))\n    set [i v] to (pick random (2.) to (9.))\n    go to [front v] layer\n    show\n    repeat until <touching (_edge_ v)?>\n        move (Intro: X) steps\n        change y by (I)\n        change [i v] by (-0.4)\n        set [intro: x v] to ((Intro: X) * (0.95))\n    end\n    delete this clone\nend\n\ndefine Particles\nset [clone v] to [Particles]\nrepeat (50)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Clone) = [Name]> then\n    switch costume to (name v)\n    set size to (50) %\n    clear graphic effects\n    go to [front v] layer\n    go to x: (0) y: (-100)\n    point in direction (0)\n    show\n    repeat (50)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        change y by (((0) - (y position)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (10)\n        go to [front v] layer\n        change size by (I)\n        change [i v] by (join [-] (([abs v] of (I) ) / (2)))\n        turn right (I) degrees\n    end\n    switch costume to (logo v)\n    repeat (40)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (20)\n        go to [front v] layer\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n    end\n    delete this clone\nend\n\nwhen flag clicked\nreset timer\nhide\nstart sound [Prismo - Stronger v]\nset volume to (100) %\nclear graphic effects\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [clone v] to [Square]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [clone v] to [Name]\ncreate clone of (_myself_ v)\nwait (0) seconds\nrepeat (2)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (4)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (2)\n    Spiral spline explosion\n    Rect\n    Spiral spline explosion\nend\nwait (3) seconds\nbroadcast (Intro Done v)\n\nwhen I start as a clone\nif <(Clone) = [Square]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to x: (0) y: (300)\n    point in direction (0)\n    switch costume to (square v)\n    repeat (20)\n        change size by (((100) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((0) - (y position)) / (5))\n    end\n    point in direction (90)\n    repeat (12)\n        next costume\n    end\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((2000) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    wait (3) seconds\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((100) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    repeat (12)\n        switch costume to ((costume [number v]) - (1))\n        change size by (-5)\n    end\n    set [i v] to [-1]\n    repeat (20)\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n        change y by ((I) / (3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone) = [Bursts]> then\n    switch costume to (lineexplosion1 v)\n    clear graphic effects\n    go to [front v] layer\n    go [backward v] (1) layers\n    set [i v] to (pick random (1) to (3))\n    if <(I) = [1]> then\n        set [brightness v] effect to (100)\n    else\n        if <(I) = [2]> then\n            set [brightness v] effect to (25)\n        else\n            set [brightness v] effect to (-25)\n        end\n    end\n    show\n    set [i v] to [20]\n    Animate   x: [0] y: [0] size: [0] rotate: (pick random (-180) to (180)) speed: [1]\n    repeat (2)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n    end\n    repeat (10)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n        change [ghost v] effect by (10)\n        next costume\n    end\n    delete this clone\nend\n\ndefine Animate   x: (x) y: (y) size: (s) rotate: (r) speed: (s)\nchange x by (((round (x)) - (round (x position))) / (s))\nchange y by (((round (y)) - (round (y position))) / (s))\nchange size by (((round (s)) - (round (size))) / (s))\nturn right (((round (r)) - (round (direction))) / (s)) degrees\n\ndefine Spiral spline explosion\nset [clone v] to [Bursts]\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\ndefine Size: (s) speed: (spd)\nchange size by (((round (s)) - (round (size))) / (spd))\n\ndefine Rect\nset [clone v] to [Rect]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone) = [Rect]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to (random position v)\n    point in direction (90)\n    switch costume to (background rect v)\n    repeat until <(round (size)) = [300]>\n        change size by (((300) - (size)) / (15))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone) = [Circle]> then\n    clear graphic effects\n    set [brightness v] effect to (100)\n    go to [front v] layer\n    go [backward v] (2) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\ndefine Circle\nset [clone v] to [Circle]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [clone v] to [Circle 2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone) = [Circle 2]> then\n    clear graphic effects\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\n@Saws\n\ndefine Saw Spawn\nforever\n    if <(LEVEL) = [1]> then\n        hide\n    end\n    if <(LEVEL) = [2]> then\n        set size to (85) %\n        show\n        go to x: (73) y: (-81)\n    end\n    if <(LEVEL) = [3]> then\n        hide\n    end\n    if <(LEVEL) = [4]> then\n        hide\n    end\n    if <(LEVEL) = [5]> then\n        hide\n    end\n    if <(LEVEL) = [6]> then\n        set size to (50) %\n        show\n        go to x: (-86) y: (-20)\n    end\n    if <(LEVEL) = [7]> then\n        hide\n    end\n    if <(LEVEL) = [8]> then\n        hide\n    end\n    if <(LEVEL) = [9]> then\n        hide\n    end\n    if <(LEVEL) = [10]> then\n        hide\n    end\n    if <(LEVEL) = [11]> then\n        hide\n    end\n    if <(LEVEL) = [12]> then\n        hide\n    end\nend\n\nwhen I receive [intro done v]\nforever\n    turn right (7) degrees\nend\n\nwhen I receive [intro done v]\nSaw Spawn\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\nhide\n\n@Spikes\n\nwhen I receive [intro done v]\nshow\nforever\n    go to [back v] layer\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\nhide\n\n@Lava\n\nwhen I receive [intro done v]\nshow\nforever\n    go to [back v] layer\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\nhide\n\n@Enemy\n\ndefine Enemy Spawn\nforever\n    if <(LEVEL) = [1]> then\n        hide\n    end\n    if <(LEVEL) = [2]> then\n        hide\n    end\n    if <(LEVEL) = [3]> then\n        hide\n    end\n    if <(LEVEL) = [4]> then\n        hide\n    end\n    if <(LEVEL) = [5]> then\n        hide\n    end\n    if <(LEVEL) = [6]> then\n        hide\n    end\n    if <(LEVEL) = [7]> then\n        hide\n    end\n    if <(LEVEL) = [8]> then\n        hide\n    end\n    if <(LEVEL) = [9]> then\n        hide\n    end\n    if <(LEVEL) = [11]> then\n        hide\n    end\n    if <(LEVEL) = [10]> then\n        set size to (80) %\n        show\n        go to x: (93) y: (-78)\n        glide (1) secs to x: (-49) y: (-78)\n        wait (0.01) seconds\n        glide (1) secs to x: (93) y: (-78)\n        wait (0.01) seconds\n    end\n    if <(LEVEL) = [11]> then\n        hide\n    end\n    if <(LEVEL) = [12]> then\n        hide\n    end\n    if <(LEVEL) = [13]> then\n        hide\n    end\nend\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [intro done v]\nEnemy Spawn\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nhide\n\n@Level Count\n\nwhen I receive [intro done v]\nshow\nforever\n    go to [front v] layer\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nhide\n\n