Plains - Mobile Friendly Platformer                                #games #platformer  
@Stage\n\nwhen flag clicked\nforever\n    play sound [Xaf - Treenan v] until done\nend\n\n@Sprite1\n\ndefine physics\nif <key (right arrow v) pressed?> then\n    switch costume to (right v)\n    change [x v] by (2)\nelse\n    switch costume to (stop v)\nend\nif <key (left arrow v) pressed?> then\n    switch costume to (left v)\n    change [x v] by (-2)\nend\nchange x by (X)\nif <touching (levels v)?> then\n    change x by ((X) * (-1))\n    if <key (up arrow v) pressed?> then\n        switch costume to (up v)\n        if <(X) > [0]> then\n            set [x v] to [-10]\n            set [y v] to [10]\n        else\n            set [x v] to [10]\n            set [y v] to [10]\n        end\n    else\n        set [x v] to [0]\n    end\nelse\n    set [x v] to ((X) * (0.8))\nend\nchange y by (Y)\nif <touching (levels v)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\n    if <key (up arrow v) pressed?> then\n        if <(Jumping) = [Y]> then\n            set [y v] to [12]\n            set [jumping v] to [n]\n        end\n    end\nelse\n    change [y v] by (-1)\n    set [jumping v] to [Y]\nend\nif <(x position) > [225]> then\n    change [level v] by (1)\n    restart\nend\n\ndefine restart\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\n\ndefine slope detection\nset [sloping v] to [0]\nrepeat until <<(Sloping) = [8]> or <not <touching (levels v)?>>>\n    change y by (1)\n    change [sloping v] by (1)\nend\nif <touching (levels v)?> then\n    change y by (-8)\nend\n\nwhen flag clicked\nshow\nrestart\nset [level v] to [1]\nforever\n    physics\nend\n\nwhen flag clicked\nforever\n    if <touching (lava v)?> then\n        go to x: (-200) y: (0)\n    end\nend\n\n@levels\n\nwhen flag clicked\nshow\nswitch costume to (level1 v)\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [14]> then\n        stop [other scripts in sprite v]\n    end\nend\n\n@toxid cloud\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    go to x: (287) y: (pick random (50) to (150))\n    switch costume to (pick random (1) to (2))\n    create clone of (_myself_ v)\n    wait (pick random (2) to (4)) seconds\nend\n\nwhen I start as a clone\nshow\nglide (pick random (4) to (8)) secs to x: (-281) y: (y position)\ndelete this clone\n\n@lava\n\nwhen flag clicked\nshow\ngo to x: (35) y: (-85)\ngo to [back v] layer\n\n@Sprite2\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen flag clicked\n\ngo to x: (-352) y: (257)\nshow\ngo to [back v] layer\nforever\n    switch costume to (pick random (1) to (2))\n    wait (pick random (1) to (3)) seconds\n    glide (3) secs to x: (115) y: (-80)\n    hide\n    point in direction (90)\n    go to x: (-352) y: (257)\nend\n\nrepeat (10)\n    turn right (15) degrees\nend\n\n
                            Sonic a platformer\n                                     ❤️⭐️\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\nThis platformer took me 2 weeks\nExactly 1 000 blocks !\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\nMove your arrows to move and don’t touch the spikes or you died :(\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\nThis game is a reproduction of the popular game : sonic the hedgehog but it’s not the perfect game because I’m a noob. You need to get the coins and the chaos emeralds, coins for the shop and the chaos emeralds for… nothing xD\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\nYou can speedrun this game and the 20 October the winner get a surprise :) but if you skip the speedrun for the world record will stoping but not your speedrun.\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\nIf you win say : sonic is speedy !!\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\n