Red A Platformer (Mobile Friendly) #Games#All 

Instructions: Red | A Platformer \n\n\nPlease ❤️⭐️ & Follow @Aurora72\n\n_Instructions_\n\nUse ⬆⬅➡ and don't touch the spikes\n10 levels 100 % Possible\nHave Fun !\n------Tags------\n#Aurora72 #Games #All #Cool #red\n\n---Other---\n45 min of work\nMusic : Warriyo - Mortals\n\n*Credits*\n@clemJ72

@Stage\n\nwhen flag clicked\nplay sound [Warriyo - Mortals \(feat. Laura Brehm\) \[NCS Release\] v] until done\nset volume to (75) %\n\n@Platform guy\n\nwhen flag clicked\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\nforever\n    change [y v] by (-1)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (0.90)\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-0.85)\n        switch costume to (costume2 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        fast\n        if <touching (level v)?> then\n            change y by (-6)\n            xcoll\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                set [y v] to [13]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-7]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (level v)?> then\n        ycoll\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(y) < [0]>> then\n            set [y v] to [13.1415926535]\n        else\n            set [y v] to [0]\n        end\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (level v)?> then\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (level v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <touching (level v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [237]> then\n        broadcast (message1 v)\n        go to x: (-223) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <<touching (spikes v)?> or <<touching (danger v)?> or <<touching (axe1 v)?> or <touching (axe2 v)?>>>>> then\n        go to x: (-223) y: (-100)\n        set volume to (11) %\n        play sound [Death v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (level v)?> then\n        set [y v] to [1]\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nchange [level v] by (1)\n\nwhen flag clicked\nset [level v] to [1]\nshow\ngo to x: (-218) y: (-90)\n\nwhen I receive [someone pressed skip button v]\ngo to x: (-218) y: (-106)\n\n@level\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\nhide variable [level v]\nswitch costume to (1 v)\n\nwhen flag clicked\nforever\n    if <(level) = [14]> then\n        broadcast (End v)\n    end\nend\n\n@spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\nforever\n    go to x: (36) y: (27)\nend\n\n@picture\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\n