[ platformer ] - winter / #Games #all #trending

Instructions: Mobile Support ✅\nEng.-----------------------------------------------------------CONTROLS :\nW / A / S - for jump and walk\n--------------------------------------------------------------\nGood game to you\n❄️❄️❄️❄️❄️❄️❄️❄️❄️❄️❄️❄️❄️\nmy own record is 36.4 !! real

@Stage\n\nwhen flag clicked\nforever\n    play sound [3 v] until done\nend\n\n@Player\n\nwhen flag clicked\nhide variable [deaths v]\nset [ghost v] effect to (10)\nhide\nshow\nstart \n\nwhen I receive [next level v]\nbroadcast (restart v)\n\nwhen I receive [restart v]\nset [x_velocity v] to [0]\nset [y_velocity v] to [0]\ngo to x: (-213) y: (-59)\n\ndefine Respawn\nbroadcast (restart v)\n\nwhen [timer v] > (0.1)\nhide\nhide variable [deaths v]\n\nwhen flag clicked\nif <(L_eve_l) = [11]> then\n    show variable [deaths v]\nend\n\ndefine start \nset [deaths v] to [0]\nset [l_eve_l v] to [1]\nbroadcast (restart v)\nforever\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        if <<(Love) = [1]> and <(Fave) = [1]>> then\n            switch costume to (cube type 2 v)\n        else\n            switch costume to (cube type 1 v)\n        end\n        change [x_velocity v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        change [x_velocity v] by (1)\n    end\n    set [x_velocity v] to ((X_VELOCITY) * (0.9))\n    if <<(Love) = [1]> and <(Fave) = [1]>> then\n        switch costume to (cube type 2 v)\n    else\n        switch costume to (cube type 1 v)\n    end\n    change x by (X_VELOCITY)\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform 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 <(y position) < ((mouse y) - (30))>>>> 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\n    end\n    change [y_velocity v] by (-1)\n    change y by (Y_VELOCITY)\n    if <touching (platform 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 <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < ((mouse y) - (30))>>>> and <touching (platform v)?>> then\n        set [y_velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        change [l_eve_l v] by (1)\n        broadcast (next level v) and wait\n    end\n    if <touching (spikes v)?> then\n        Respawn\n        change [deaths v] by (1)\n    end\nend\n\nwhen I start as a clone\nif <<(Love) = [1]> and <(Fave) = [1]>> then\n    switch costume to (cube effect type 2 v)\nelse\n    switch costume to (cube effect type 1 v)\nend\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (8)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\n@platform\n\nwhen flag clicked\nset [win? v] to [0]\ngo to x: (6) y: (-65)\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen [timer v] > (0.1)\nhide\n\nwhen flag clicked\nif <(L_eve_l) = [11]> then\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        set [win? v] to [1]\n    end\nend\n\n@spikes\n\nwhen flag clicked\ngo to x: (42) y: (28)\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen [timer v] > (0.1)\nhide\n\n@snow\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (0) to (50))\nset size to (50) %\npoint in direction (180)\ngo to x: (pick random (-200) to (200)) y: (200)\nrepeat until <<touching (platform v)?> or <touching (spikes v)?>>\n    move (5) steps\nend\nchange y by (5)\nwait (2) seconds\ndelete this clone\n\nwhen I receive [next level v]\ndelete this clone\n\nwhen I start as a clone\nrepeat until <<touching (platform v)?> or <touching (spikes v)?>>\n    repeat (pick random (1) to (10))\n        turn right (pick random (1) to (10)) degrees\n    end\n    repeat (pick random (1) to (10))\n        turn left (pick random (1) to (10)) degrees\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        change y by (-2)\n    end\nend\n\n@screen2\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (15)\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0.04)\ngo to x: (0) y: (15)\n\n@Timer ⏱️ \n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (10)\n    else\n        set [ghost v] effect to (70)\n    end\nend\n\nwhen flag clicked\nreset timer\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next costume\n        wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n    end\nend\n\nwhen flag clicked\nset [timer v] to [0]\nshow\nforever\n    if <(win?) = [0]> then\n        change [timer v] by (0.1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nswitch costume to (off v)\nreset timer\nshow\nforever\n    if <(costume [number v]) = [1]> then\n        show variable [timer v]\n    else\n        hide variable [timer v]\n    end\nend\n\nhide\n\nshow\n\nhide\n\n@Love\n\nwhen flag clicked\nhide variable [fave v]\nhide variable [love v]\nset [fave v] to [0]\nset [love v] to [0]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [love v] to [1]\n    end\nend\n\n@Fav\n\nwhen flag clicked\nset [fave v] to [0]\nset [love v] to [0]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [fave v] to [1]\n    end\nend\n\n@Like&fav pls\n\nwhen flag clicked\nshow\ngo to x: (170) y: (146)\nset y to (202)\nrepeat (10)\n    change y by (-3)\nend\nrepeat (10)\n    change y by (-1.5)\nend\nrepeat (10)\n    change y by (-0.5)\nend\nwait (2) seconds\nif <<(Love) = [1]> and <(Fave) = [1]>> then\nrepeat (10)\n    change y by (3)\nend\nrepeat (10)\n    change y by (1.5)\nend\nrepeat (10)\n    change y by (0.5)\nend\n\nhide\n\n