«Uɴᴅᴇʀɢʀᴏᴜɴᴅ» ᴀ Pʟᴀᴛғᴏʀᴍᴇʀ #all #games #platformer

Instructions: «Uɴᴅᴇʀɢʀᴏᴜɴᴅ» ᴘʟᴀᴛғᴏʀᴍᴇʀ\n\na game by: @-Takip-\n\nTurboWarp: https://turbowarp.org/718620444/\n\n-ᴜꜱᴇ ᴛʜᴇ ᴀʀʀᴏᴡꜱ ᴛᴏ ᴍᴏᴠᴇ\n-ᴅᴏ ɴᴏᴛ ᴛᴏᴜᴄʜ ᴛʜᴇ ꜱᴘɪᴋᴇꜱ\nɪ ʜᴏᴘᴇ ʏᴏᴜ ʟɪᴋᴇ ɪᴛ!\n\nTAGS (ignore)\n#games #art #music #all #platformer #games #art #music #all #platformer #games #art #music #all #platformer #games #art #music #all #platformer #games #art #music #all #platformer #games #art #music #all #platformer #games #art #music #all #platformer #games #art #music #all #platformer

@Stage\n\nwhen flag clicked\nset volume to (20) %\nplay sound [Intro.mp3 v] until done\nforever\n    play sound [Loop.mp3 v] until done\nend\n\n@Objeto1\n\n@Player\n\nwhen I receive [next level v]\nReset Scene\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset size to (100) %\nset rotation style [left-right v]\nset [scene v] to [1]\nbroadcast (Next Level v)\n\nforever\n    broadcast (Run v)\nend\n\nwhen I receive [run v]\n\nwhen flag clicked\nforever\n    controls x\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    walljumping\n    controls y\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity 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) > (y position)>>>> and <(costume [number v]) = [1]>> then\n        set [y velocity v] to [15]\n    end\n    if <<<touching (ground v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> and <(costume [number v]) = [2]>> then\n        set [y velocity v] to [18]\n    end\n    change y by (1)\n    next scene\n    if <touching (spikes v)?> then\n        Reset Scene\n        broadcast (You died XD v)\n    else\n        if <touching (lava v)?> then\n            Reset Scene\n            broadcast (You died XD v)\n        end\n        if <touching (spikes v)?> then\n            Reset Scene\n            broadcast (You died XD v)\n        end\n    end\nend\n\ndefine Reset Scene\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nbroadcast (Reset v)\n\nbroadcast (Reset v)\n\nbroadcast (Reset v)\n\nbroadcast (Reset v)\n\ndefine controls x\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [x velocity v] by (-1.5)\n    point in direction (-90)\nend\nif <<<mouse down?> and <(mouse x) > (x position)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    change [x velocity v] by (1.5)\n    point in direction (90)\nend\n\ndefine walljumping\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\n\ndefine controls y\nif <touching (ground v)?> then\n    change y by (-4)\n    change x by ((X Velocity) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(X Velocity) > [0]> then\n            set [x velocity v] to [-10]\n        else\n            set [x velocity v] to [10]\n        end\n        set [y velocity v] to [15]\n    else\n        set [x velocity v] to [0]\n    end\nend\n\ndefine next scene\nif <(x position) > [239]> then\n    broadcast (Bruh cool v)\n    broadcast (Next Level v) and wait\n    change [scene v] by (1)\nend\n\nwhen I receive [reset v]\ngo to x: (-216) y: (39)\n\nwhen flag clicked\nforever\n    switch costume to ([costume name v] of [thanks v])\nend\n\nif  then\nend\n\n@Player Trail\n\nwhen flag clicked\nbroadcast (Green Flag v)\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (21)\nend\ndelete this clone\n\nwhen I receive [scroll v]\nhide\ndelete this clone\n\nwhen flag clicked\nforever\n    switch costume to ([costume name v] of [thanks v])\nend\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (Scene)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (eliminate skip v)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Scene)\n    if <(costume [name v]) = [a7]> then\n        change y by (0.5)\n        wait (0.1) seconds\n        change y by (1)\n        wait (0.1) seconds\n        change y by (2)\n        wait (0.1) seconds\n        change y by (3)\n        wait (0.1) seconds\n        change y by (-0.5)\n        wait (0.1) seconds\n        change y by (-1)\n        wait (0.1) seconds\n        change y by (-2)\n        wait (0.1) seconds\n        change y by (-3)\n    else\n        go to x: (69) y: (-30)\n    end\nend\n\n\n\n@Restart\n\nwhen flag clicked\nhide\nshow\nforever\n    go to [front v] layer\n    point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\nend\n\nwhen I receive [green flag clicked v]\nwait (0.01) seconds\n\nwhen this sprite clicked\nbroadcast (Reset v)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        set size to (120) %\n    else\n        set [brightness v] effect to (0)\n        set size to (100) %\n    end\nend\n\n@Skip\n\nwhen flag clicked\nhide\nwait (0.01) seconds\ngo to [front v] layer\nshow\nforever\n    point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\nend\n\nwhen this sprite clicked\nchange [scene v] by (1)\nbroadcast (Next Level v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        set size to (120) %\n    else\n        set [brightness v] effect to (0)\n        set size to (100) %\n    end\nend\n\nwhen I receive [eliminate skip v]\nhide\n\n@detector\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nset [actions \(love/fave\) v] to [0]\nforever\n    set [touching v] to [none]\n    Detect [love] at [-201] [-220]\n    Detect [fave] at [-201] [-220]\nend\n\ndefine Detect (thing) at (x) (y)\nswitch costume to (empty v)\nset size to (27000) %\ngo to x: (x) y: (y)\nset size to (100) %\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [touching v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [love]>\n    wait (0.2) seconds\n    if <(touching) = [love]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [fave]>\n    wait (0.2) seconds\n    if <(touching) = [fave]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\n@Thanks\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(Actions \(love/fave\)) = [2]>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\ngo to [front v] layer\nswitch costume to (red v)\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\nswitch costume to (blue v)\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nswitch costume to (red v)\n\n@Sprite3\n\nwhen flag clicked\nhide\ngo [forward v] (10) layers\n\n    wait (pick random (0) to (0.02)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\nclear graphic effects\nset [ghost v] effect to (pick random (70) to (90))\nset size to (pick random (25) to (45)) %\ngo to x: (pick random (240) to (-240)) y: (170)\npoint in direction (90)\nshow\nglide (pick random (2) to (8)) secs to x: (pick random (240) to (-240)) y: (-180)\nhide\ndelete this clone\n\n@Love and fave reminder\n\nwhen flag clicked\nwait (2.5) seconds\ngo to [front v] layer\n\nwhen flag clicked\nhide\nwait (1) seconds\nforever\n    set volume to (20) %\n    if <(Actions \(love/fave\)) < [2]> then\n        switch costume to (costume1 v)\n        go to x: (0) y: (150)\n        show\n        go to [front v] layer\n        start sound [High Whoosh v]\n        repeat (11)\n            change y by (-6)\n        end\n        repeat (7)\n            change y by (3)\n        end\n        repeat (6)\n            change y by (-2)\n        end\n        wait (5) seconds\n        start sound [High Whoosh v]\n        repeat (17)\n            change y by (7)\n        end\n        hide\n        wait (pick random (10) to (20)) seconds\n    else\n        stop [this script v]\n    end\nend\n\n@descarga (5)\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@Objeto3\n\nwhen flag clicked\nset size to (500) %\ngo to [front v] layer\nforever\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        wait () seconds\n        change size by (0.5)\n    end\n    repeat (10)\n        wait () seconds\n        change size by (-0.5)\n    end\nend\n\nwhen flag clicked\nswitch costume to (red v)\nforever\n    switch costume to ([costume name v] of [thanks v])\nend\n\n@Objeto2\n\nwhen flag clicked\nwait () seconds\ngo to [front v] layer\nforever\n    go to (objeto3 v)\nend\n\nwhen flag clicked\nswitch costume to (red v)\nforever\n    switch costume to ([costume name v] of [thanks v])\nend\n\n