Heat - A platformer | #Games #Platformer

Instructions: Welcome to Heat! \nThis is really just a remix of @bold-remix 's game but with a different theme. This game is collab with @Meisnotcool and @double_sided :D\n\nRemix this project and put what you want to see in this game on that project and let me know, then i'll take a look when I have time :D\n\nnot really anything else to say~\n\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [frizk - all my fellas v] until done\nend\n\n@.\n\n@Player\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [skin v]\nswitch costume to (special v)\n\nwhen I receive [start game v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\nset rotation style [left-right v]\ngo to x: (-185) y: (-34)\nset [level v] to [1]\nset [x v] to [0]\nset [y v] to [15]\npoint in direction (90)\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        point in direction (-90)\n        change [x v] by (-0.8)\n        create clone of (_myself_ v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [x v] by (0.8)\n        create clone of (_myself_ v)\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 (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-5]\n            else\n                set [x v] to [5]\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 ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (ground v)?>> then\n        set [y v] to [15]\n        create clone of (_myself_ v)\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y v] to [0]\n    end\n    if <(x position) > [205]> then\n        change [level v] by (1)\n        broadcast (next level v)\n        go to x: (-180) y: (-50)\n        set [y v] to [15]\n    end\n    if <touching (flames/magma/spikes v)?> then\n        go to x: (-180) y: (-50)\n        set [y v] to [15]\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [17]\n    end\nend\n\nwhen I receive [start game v]\nforever\n    if <touching color (#ff8c4f)?> then\n        change y by (20)\n    end\nend\n\nwhen flag clicked\nhide\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start game v]\ngo to x: (0) y: (0)\nshow\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\n@Text\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start game v]\ngo to x: (0) y: (119)\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\n@Flames/Magma/Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start game v]\ngo to x: (36) y: (38)\nswitch costume to (costume1 v)\nshow\ngo to [back v] layer\nforever\n    repeat (5)\n        change y by (2)\n        wait (0.05) seconds\n    end\n    repeat (5)\n        change y by (-2)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\n@Trampoline\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start game v]\nswitch costume to (costume1 v)\nshow\ngo to x: (-123) y: (-68)\n\nwhen flag clicked\nhide\n\n@Thumb\n\nwhen [timer v] > (timer)\ngo to [front v] layer\nshow\nclear graphic effects\nset [ghost v] effect to (100)\ngo to x: (0) y: (400)\nrepeat (5)\n    go to [front v] layer\n    change [ghost v] effect by (-20)\n    set y to ((y position) / (4))\nend\nforever\n    go to [front v] layer\nend\n\nwhen I receive [start game v]\nforever\n    set [timer v] to ((timer) + (0.01))\nend\n\nwhen I receive [start game v]\nhide\n\nwhen flag clicked\nhide\n\nbroadcast (Start Game v)\n\n@Detector\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 I receive [start game v]\nforever\n    if <(Actions \(love/fave\)) = [2]> then\n        broadcast (Skin v)\n    end\nend\n\nwhen I receive [start game v]\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\nwhen I receive [start game v]\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\nwhen I receive [start game v]\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\nhide\n\n@Reminder\n\nwhen I receive [start game v]\nwait (pick random (10) to (15)) seconds\nshow\ngo to [back v] layer\ngo to x: (154) y: (173)\nrepeat (20)\n    change y by (-5)\nend\nwait (2) seconds\nrepeat until <(y position) = [180]>\n    repeat (20)\n        change y by (5)\n    end\nend\nif <(y position) = [180]> then\n    hide\nend\n\nwhen flag clicked\nhide\n\n@deco\n\nwhen I receive [start game v]\nshow\nforever\n    switch costume to (join [costume] (Level))\nend\n\nwhen flag clicked\nhide\n\n@Main Menu\n\ndefine effects // xPos: (x) yPos: (y) direction: (dir)\ngo to x: (x) y: ((y) + (([cos v] of ((timer) * (200)) ) * (1)))\npoint in direction ((dir) + (([cos v] of ((timer) * (300)) ) * (5)))\n\nwhen I receive [main menu v]\nwait (0.1) seconds\ngo to [front v] layer\nshow\nset size to (10) %\ngo to x: (0) y: (-78)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((0.2) * ((110) - (size)))\n    else\n        change size by ((0.2) * ((100) - (size)))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nhide\nbroadcast (Start Game v)\n\nwhen I receive [main menu v]\nforever\n    effects // xPos: [-15] yPos: [-95] direction: [90]\nend\n\n@Splash Screen\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (main menu  v)\ngo to [front v] layer\nshow\nbroadcast (Main Menu v)\n\nwhen I receive [start game v]\nhide\n\n