1 Life - Platformer [ #Games #All ]
@Stage\n\n@Player\n\nwhen I receive [start level v]\nset [jumping v] to [true]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    change [y velocity v] by (-1)\n    if <key (left arrow v) pressed?> then\n        if <(x velocity) > [-10]> then\n            change [x velocity v] by (-2)\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        if <(x velocity) < [10]> then\n            change [x velocity v] by (2)\n        end\n    end\n    if <(x velocity) > [0]> then\n        change [x velocity v] by (-1)\n    end\n    if <(x velocity) < [0]> then\n        change [x velocity v] by (1)\n    end\n    change x by (x velocity)\n    move vertical\n    move horizontal \n    if <touching color (#ff0000)?> then\n        broadcast (start level v)\n    end\n    if <touching color (#770000)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (start level v)\n\ndefine move horizontal \nif <touching color (#7bff8c)?> then\n    if <(x velocity) > [0]> then\n        repeat until <not <touching color (#7bff8c)?>>\n            change x by (-2)\n        end\n    else\n        repeat until <not <touching color (#7bff8c)?>>\n            change x by (-2)\n        end\n        set [x velocity v] to [0]\n    end\nend\n\nwhen flag clicked\nset [timer: v] to [0]\nrepeat until <touching color (#63cd71)?>\n    wait (1) seconds\n    change [timer: v] by (1)\nend\n\ndefine move vertical\nchange y by (y velocity)\nif <touching color (#7bff8c)?> then\n    if <(y velocity) > [0]> then\n        repeat until <not <touching color (#7bff8c)?>>\n            change y by (-1)\n        end\n    else\n        repeat until <not <touching color (#7bff8c)?>>\n            change y by (1)\n        end\n        set [jumping v] to [false]\n    end\n    set [y velocity v] to [0]\nend\n\nwhen I receive [start level v]\nif <(Level) = [1]> then\n    go to x: (-190) y: (-114)\n    switch backdrop to (backdrop1 v)\nend\nif <(Level) = [2]> then\n    switch backdrop to (backdrop2 v)\n    go to x: (-243) y: (-54)\nend\nif <(Level) = [3]> then\n    switch backdrop to (backdrop3 v)\n    go to x: (-175) y: (-91)\nend\n\nwhen [up arrow v] key pressed\nif <(jumping) = [false]> then\n    set [y velocity v] to [15]\n    set [jumping v] to [true]\nend\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [Tobu & Syndec - Dusk \[NCS Release\] v] until done\nend\n\n@thumbnail\n\nwhen flag clicked\ngo to x: (1) y: (4)\ngo to [front v] layer\nset size to (100) %\nset [ghost v] effect to (100)\n\n
Press THE GREEN FLAG TWICE TO MAKE THE TIMER WORK\n\nNO ADVERTISING!!        \nNote: This Took 10 Hours To Make! (Because it's my first game!)\nWelcome to 1 Life! \nThis a platformer genre game.\n#7 Page On Trending! 16-01-2021 \n#13 On Games! 16-01-2021\n                         \n                    - How to Play -\n- Use arrow keys to move,\n- Avoid Lava and spikes\n- Like and favorite and follow me (Optional) \n- Have fun\n- Don't rage  (xD)\nLess lag: https://turbowarp.org/462245694\n-Goals-\n 10 Views - ✅\n 50 Views - ✅\n100 Views - ✅\n500 Views - ✅\n1000 Views - ✅\n2500 Views - ✅\n5000 Views - ✅\n10000 Views - ✅\n\n10 Likes and Favorites - ✅\n 50 Likes and Favorites - ✅\n100 Likes and Favorites - ✅\n500 Likes and Favorites - ❌\n1000 Likes and Favorites - ❌