Night- a mobile friendly platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Blank\n\nwhen flag clicked\nforever\n    play sound [Fade v] until done\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-200) y: (-45)\nset size to (100) %\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nhide variable [level v]\nhide variable [xv v]\nhide variable [yv v]\nforever\n    change [yv v] by (-1)\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (0.9)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-0.9)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (platforms v)?> then\n        change y by (1)\n    end\n    if <touching (platforms v)?> then\n        change y by (1)\n    end\n    if <touching (platforms v)?> then\n        change y by (1)\n    end\n    if <touching (platforms v)?> then\n        change y by (1)\n    end\n    if <touching (platforms v)?> then\n        change y by (-4)\n        change x by ((Xv) * (-1))\n        if <<key (up arrow v) pressed?> or <mouse down?>> then\n            set [yv v] to [16]\n            if <(Xv) > [0]> then\n                set [xv v] to [-10]\n            else\n                set [xv v] to [10]\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching (platforms v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <mouse down?>> and <touching (platforms v)?>> then\n        change [yv v] by (16)\n    end\n    change y by (1)\n    if <(x position) > [240]> then\n        change [level v] by (1)\n        go to x: (-200) y: (-45)\n    end\n    if <<touching (ennemi v)?> or <(y position) < [-175]>> then\n        go to x: (-200) y: (-45)\n    end\nend\n\n@Platforms\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\n@Light\n\nwhen flag clicked\nset size to (100) %\nforever\n    go to [back v] layer\n    go to (player v)\nend\n\n@Ennemi\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\n@Grass\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [back v] layer\n    show\nend\n\n
Welcome to my new platformer! Use arrows keys to move, or tap the screen. 100% possible. I am very happy on this platformer, because I did it entirely by myself. I also did it for SDS ( scratch design studio ). I hope you enjoy!                                            \n                                                                      @QualityQ