-Sᴜɴsᴇᴛ- ᴀ Pʟᴀᴛғᴏʀᴍᴇʀ #all #games #platformer

Instructions:        -Sᴜɴsᴇᴛ- ᴀ ᴘʟᴀᴛғᴏʀᴍᴇʀ\n\na game by: @-Takip-\n\nTurboWarp: https://turbowarp.org/715253970/\n\n-ᴜꜱᴇ ᴛʜᴇ ᴀʀʀᴏᴡꜱ ᴛᴏ ᴍᴏᴠᴇ\n-ᴅᴏ ɴᴏᴛ ᴛᴏᴜᴄʜ ᴛʜᴇ ꜱᴘɪᴋᴇꜱ\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\nplay sound [Intro.mp3 v] until done\nforever\n    play sound [Loop.mp3 v] until done\nend\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)>>>> then\n        set [y velocity v] to [15]\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\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        change [color v] effect by (1)\n    end\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\nswitch costume to (red v)\nforever\n    if <(costume [number v]) = [2]> then\n        change [color v] effect by (1)\n    end\nend\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]) = [8]> then\n        broadcast (eliminate skip v)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Scene)\nend\n\n@Restart\n\nwhen flag clicked\nhide\ngo to [front v] layer\nshow\nforever\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@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@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@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@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    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@Sun\n\nwhen I receive [play! v]\n\ngo [backward v] (1) layers\n\nwhen flag clicked\nSetup\nforever\n    switch costume to (costume1 v)\n    show\n    go to x: (0) y: (-100)\n    set size to (100) %\n    change [effects v] by (5)\n    set size to ((9000) / ((50) + (([cos v] of (Effects) ) * (1.5)))) %\n    point in direction ((100) + (([cos v] of (Effects) ) * (10)))\nend\n\ndefine Setup\ngo to [back v] layer\nshow\ngo [backward v] (4) layers\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    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@descarga (11)\n\nwhen flag clicked\nhide\n\n