bookdog17 On YouTube - A platformer / Mini game
@Stage\n\n@Sprite\n\n@Sprite1\n\nwhen flag clicked\nshow variable [time v]\nforever\n    wait (1) seconds\n    change [time v] by (1.0)\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset rotation style [left-right v]\nshow\nset volume to (100) %\nswitch costume to (costume1 v)\ngo to x: (-196) y: (-81)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\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 (#00d820)?> or <touching color (#ff0000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#00d820)?> or <touching color (#ff0000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#00d820)?> or <touching color (#ff0000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#00d820)?> or <touching color (#ff0000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#00d820)?> or <touching color (#ff0000)?>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching color (#00d820)?> or <touching color (#ff0000)?>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <<touching color (#00d820)?> or <touching color (#ff0000)?>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-196) y: (-81)\n    end\n    if <(y position) < [-180]> then\n        go to x: (-196) y: (-81)\n    end\n    if <touching color (#ffe600)?> then\n        broadcast (coin v)\n    end\nend\n\nwhen I receive [skip v]\nnext backdrop\ngo to x: (-196) y: (-81)\n\nwhen I receive [message1 v]\ngo to x: (-196) y: (-81)\n\nwhen [s v] key pressed\nnext backdrop\ngo to x: (-196) y: (-81)\n\nwhen [r v] key pressed\ngo to x: (-196) y: (-81)\n\nwhen flag clicked\nset [time v] to [0]\n\nwhen flag clicked\nforever\n    play sound [Vexento - Pixel Party v] until done\nend\n\nstop [all v]\n\n@Sprite2\n\nwhen flag clicked\nforever\n    wait (.9) seconds\n    go to (random position v)\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [coin v]\nshow\nstop [all v]\n\n@thumb\n\nwhen flag clicked\nhide\n\nhide variable [time v]\nshow\ngo to [front v] layer\ngo to x: (11) y: (-28)\n\n
Make sure to subscribe!\n\nhttps://www.youtube.com/channel/UC3FJx1sdBUjLCU1YY9gi0CQ?view\n\n\n\nthanks to @Plant2 for the subscribe button and background \n\nthanks to @quaxx for the coin!\n\nrest by @bookdog17