Desert || A platformer (mobile friendly) (games)
@Stage\n\n@Platform\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\n@thumbnail\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Figur1\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\n@Figur2\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    play sound [Imagine Dragons - Believer \(Audio\).mp3 v] until done\nend\n\n@Sprite2\n\ndefine Platformer physics\nchange [yv v] by (-1)\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xv v] by (-1)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [xv v] by (1)\nend\nset [xv v] to ((Xv) * (0.9))\nchange x by (Xv)\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (-4)\n    change x by ((Xv) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        set [yv v] to [15]\n        if <(Xv) > [0]> then\n            set [xv v] to [-10]\n        else\n            set [xv v] to [10]\n        end\n    end\nend\nchange y by (Yv)\nif <touching (platform v)?> then\n    change y by ((Yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> and <touching (platform v)?>> then\n    set [yv v] to [15]\nend\nchange y by (1)\nif <touching (figur1 v)?> then\n    go to x: (-180) y: (0)\nend\nif <(y position) < [-180]> then\n    go to x: (-180) y: (0)\nend\nif <(x position) > [220]> then\n    change [level v] by (1)\n    go to x: (-180) y: (0)\nend\nif <touching (trampolins v)?> then\n    set [yv v] to [25]\nend\n\nwhen flag clicked\ngo to x: (107) y: (-83)\nset [level v] to [3]\nswitch costume to (costume1 v)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume1 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>>> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (-180) y: (0)\nforever\n    Platformer physics\nend\n\nwhen I receive [start v]\n\n@Sprite1\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\n
Hi and welcome to my newest project. This is definitly my best project so can this maybe get 300 Likes? This would be super cool ;D \nAlmost all is made by my Brother (@Benelem12) \nBut I also made some little things ;D \n\n The Music is by imagine dragons\n--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--.-\nINSTRUCTIONS: \n- Move with WASD, arrows or mobile controls.\n- Avoid Spikes \n-Have Fun =Dc