 ‘‘Coin! platformer,,コイン！プラットフォーマー
@Stage\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide variable [level v]\n        broadcast (win v)\n    end\nend\n\nwhen flag clicked\nset [score v] to [0]\nswitch backdrop to (lvl 1 v)\nhide variable [☁ highscore v]\nhide variable [score v]\nwait until <<key (up arrow v) pressed?> or <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>>>\nreset timer\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (startlvl v)\n\nwhen I receive [win v]\nset [score v] to (timer)\nshow variable [score v]\nstop [other scripts in stage v]\nif <(Score) < (☁ Highscore)> then\n    set [☁ highscore v] to (Score)\nend\nshow variable [☁ highscore v]\n\n@Sprite1\n\nwhen I receive [startlvl v]\nshow\nset x to (-218)\ngo to x: (-218) y: (-65)\n\nwhen I receive [startlvl v]\nforever\n    if <touching color (#ff0000)?> then\n        broadcast (startlvl v)\n    end\nend\n\nwhen I receive [win v]\nwait (0.01) seconds\nhide\n\nwhen I receive [startlvl v]\nforever\n    if <(x position) > [237]> then\n        change [level v] by (1)\n        switch backdrop to (next backdrop v)\n        broadcast (startlvl v)\n    end\n    if <(x position) < [-230]> then\n        set x to (-230)\n    end\nend\n\nwhen flag clicked\nrepeat until <(Level) = [1]>\n    hide\nend\n\nwhen I receive [startlvl v]\nforever\n    change [y v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n        change y by (1)\n        if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n            change y by (1)\n            if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                change y by (1)\n                if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                    change y by (1)\n                    if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                        change y by (1)\n                        if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                            change y by (1)\n                            if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                                change y by (-6)\n                                if <key (up arrow v) pressed?> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000008)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    show\nend\n\n@Sprite3\n\nwhen I receive [startlvl v]\nshow\n\nwhen this sprite clicked\nbroadcast (startlvl v)\n\nwhen I receive [win v]\nhide\n\nwhen flag clicked\nhide\n\n
Notes inside project :)\nCode 100% @-LilWolfy-\nMusic: Ji-Eun's Sunset and Secret Crates\nWas #1 on trending in tutorials :D\n@legobuzz12 loved :o\n@7Sofa loved :O