Long! Platformer!
@Stage\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Time Lapse v] until done\nend\n\n@Sprite2\n\nwhen I receive [beat v]\n\nwhen I receive [next v]\nnext costume\n\nset size to (100) %\n\nset size to (102) %\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\ngo to x: (-180) y: (-127)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume v)\n        change [x v] by (0.5)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-0.5)\n        switch costume to (costume v)\n    end\n    change x by (X)\n    set [x v] to ((X) * (0.9))\n    if <touching color (#18ff4d)?> then\n        change y by (0.5)\n        if <touching color (#18ff4d)?> then\n            change y by (0.5)\n            if <touching color (#18ff4d)?> then\n                change y by (0.5)\n                if <touching color (#18ff4d)?> then\n                    change y by (0.5)\n                    if <touching color (#18ff4d)?> then\n                        change y by (0.5)\n                        if <touching color (#18ff4d)?> then\n                            change y by (0.5)\n                            if <touching color (#18ff4d)?> then\n                                change y by (0.5)\n                                if <touching color (#18ff4d)?> then\n                                    change y by (0.5)\n                                    if <key (up arrow v) pressed?> then\n                                        if <[0] < (X)> then\n                                            set [x v] to [-7]\n                                        else\n                                            set [x v] to [7]\n                                        end\n                                        set [y v] to [10]\n                                    else\n                                        set [x v] to ((X) * (-1.3))\n                                        change x by (X)\n                                        set [x v] to [0]\n                                        change x by ((X) / (5))\n                                    end\n                                    change y by (-4)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-0.5)\n    change y by (Y)\n    if <touching color (#18ff4d)?> then\n        set [y v] to ((Y) * (-0.25))\n        change y by (Y)\n        if <touching color (#18ff4d)?> then\n            change y by (Y)\n            if <touching color (#18ff4d)?> then\n                change y by (Y)\n                if <touching color (#18ff4d)?> then\n                    change y by (Y)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching color (#18ff4d)?>> then\n        set [y v] to [10]\n        switch costume to (costume v)\n    end\n    change y by (1)\n    if <touching (sprite6 v)?> then\n        switch costume to (costume1 v)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-180) y: (-127)\n        set [ghost v] effect to (0)\n        switch costume to (costume v)\n    end\n    if <<key (left arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        change [x v] by (0.5)\n    end\nend\n\nchange [y v] by (-0.5)\n\nwhen I receive [beat v]\nset size to (105) %\n\nwhen I receive [unbeat v]\nset size to (100) %\n\nwhen I receive [next v]\ngo to x: (-180) y: (-127)\n\nwhen I receive [wasted v]\nset [ghost v] effect to (0)\ngo to x: (-180) y: (-140)\nswitch costume to (costume v)\n\nwait (0.1) seconds\n\n@Sprite3\n\nwhen flag clicked\nforever\n    broadcast (beat v)\n    wait (0.1) seconds\n    broadcast (unbeat v)\n    wait (0.3) seconds\nend\n\n@Sprite5\n\nwhen flag clicked\ncreate clone of (_myself_ v)\ngo to x: (135) y: (120)\nforever\n    change x by (-1.1)\n    if <(x position) = [-268]> then\n        go to x: (180) y: (120)\n    end\nend\n\nwhen I start as a clone\ngo to x: (232) y: (140)\nforever\n    change x by (-1)\n    if <(x position) = [-268]> then\n        go to x: (232) y: (140)\n    end\nend\n\nwhen I receive [beat v]\nset size to (105) %\n\nwhen I receive [unbeat v]\nset size to (100) %\n\n@Sprite4\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (NEXT v)\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [next v]\nnext costume\n\n@Sprite7\n\nwhen flag clicked\nforever\n    if <not <<key (left arrow v) pressed?> or <<key (right arrow v) pressed?> or <key (up arrow v) pressed?>>>> then\n        broadcast (wasted v)\n    end\nend\n\n@Sprite8\n\nwhen flag clicked\nhide\n\n
Hello guys ! Today i share a new project : Islands a platformer !\nMove with arrow kews or mobile controls and avoid spikes.\nGood luck !\n@CMlukian\nLOOK AT MY NEW PROJECT (GO TO IN MY PROFIL)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nComment « CMlukian is the best scratcher for make platformers »