Ball Runner 3D! ✪✪✪✪✪✪✪✪ Mobile friendly 3D running platformer!
@Stage\n\nwhen flag clicked\nswitch backdrop to (untitled v)\n\nwhen I receive [hidescrollingstarfields v]\nswitch backdrop to (backdrop1 v)\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\nset [starfield on/off v] to [ON]\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nswitch costume to (Level)\nshow\n\nwhen this sprite clicked\nif <(mouse x) > [182]> then\n    broadcast (Music v)\nelse\n    if <(sTARFIELD ON/OFF) = [ON]> then\n        set [starfield on/off v] to [OFF]\n        broadcast (HideScrollingStarfields v)\n    else\n        set [starfield on/off v] to [ON]\n        broadcast (sHOWSCROLLINGSTARFIELDS v)\n    end\nend\n\nsay (mouse y)\n\nwhen I receive [menupicklevel v]\nforever\n    show\n    go to [front v] layer\n    switch costume to (costume1 v)\nend\n\nclear graphic effects\n\n@Hero\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nhide\n\nwhen [right arrow v] key pressed\nbroadcast (GoRight v)\n\nwhen [left arrow v] key pressed\nbroadcast (GoLeft? v)\n\nwhen flag clicked\nhide\nset [changing lane? v] to [No]\nset [heroslot v] to [4]\nset [high, medium or low? v] to [Low]\ngo to x: (0) y: (-115)\n\nsay [Hello!] for (0) seconds\n\nrepeat (10)\n    change y by (-3)\nend\n\nset [************** v] to [Perfect leapfrog 2]\nset [hero y velocity v] to [20]\nrepeat (41)\n    change y by (hero y velocity)\n    change [hero y velocity v] by (-1)\nend\n\nsay [Hello!] for (2) seconds\n\nif <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [L]> then\n    LowSequence\nend\n\nset [hero y velocity v] to [15]\nrepeat (21)\n    change y by (hero y velocity)\n    change [hero y velocity v] by (-1)\nend\nset [high, medium or low? v] to [Medium]\n\nset [hero y velocity v] to [-4]\nrepeat (3)\n    change y by (hero y velocity)\n    change [hero y velocity v] by (-2)\nend\n\ndefine LowSequence\nset [high, medium or low? v] to [Low]\nset [************** v] to [Keeps the ball rolling on low until it's not on L, launches ramp]\nset [hero y velocity v] to [-4]\nrepeat (3)\n    change y by (hero y velocity)\n    change [hero y velocity v] by (-2)\nend\nrepeat until <not <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [L]>>\nif <<(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [H]> or <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [G]>> then\n    set [************** v] to [HIT BY WALL]\n    set [hero y velocity v] to [-4]\n    repeat (5)\n        change y by (hero y velocity)\n        change [hero y velocity v] by (-2)\n    end\n    broadcast (GameOver v)\nend\nif <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [R]> then\n    repeat (18)\n        change y by (1)\n    end\n    set [high, medium or low? v] to [Medium]\nend\n\nrepeat (18)\n    change y by (1)\nend\nset [high, medium or low? v] to [Medium]\n\nLowSequence\n\n\n\ndefine JumpingUpSequence\nset [shadow on/off v] to [OFF]\nset [hero y velocity v] to [15]\nset [high, medium or low? v] to [High]\nrepeat (21)\n    change y by (hero y velocity)\n    change [hero y velocity v] by (-1)\nend\nrepeat until <not <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [H]>>\nrepeat (10)\n    change y by (hero y velocity)\n    change [hero y velocity v] by (-1)\nend\nset [shadow on/off v] to [ON]\n\ndefine GoodLeftShift\nset [changing lane? v] to [Yes]\nrepeat (2)\n    change x by (-18)\nend\nchange [heroslot v] by (-1)\nrepeat (2)\n    change x by (-17)\nend\nset [changing lane? v] to [No]\n\nGoodLeftShift\nstop [this script v]\n\nGoodLeftShift\nstop [this script v]\n\nGoodLeftShift\n\ndefine GoodRightShift\nset [changing lane? v] to [Yes]\nrepeat (2)\n    change x by (18)\nend\nchange [heroslot v] by (1)\nrepeat (2)\n    change x by (17)\nend\nset [changing lane? v] to [No]\n\nGoodRightShift\nstop [this script v]\n\nset [************** v] to [Hit by badies - basically works]\nset [high, medium or low? v] to []\n\nif <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [H]> then\n\nwhen I receive [start v]\nwait (1) seconds\nshow\nset [shadow on/off v] to [ON]\nforever\n    go to [front v] layer\n    if <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [P]> then\n        set [************** v] to [High sequence - started by a jump, ended when not high!]\n        JumpingUpSequence\n    end\n    set [************** v] to [NORMAL sequence]\n    set [high, medium or low? v] to [Medium]\n    if <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [B]> then\n        set [************** v] to [Death Sequence - basically works]\n        set [hero y velocity v] to [-4]\n        repeat (5)\n            change y by (hero y velocity)\n            change [hero y velocity v] by (-2)\n        end\n        broadcast (GameOver v)\n    end\n    if <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [S]> then\n        set [************** v] to [Hit by badies - basically works]\n        set [hero y velocity v] to [-4]\n        repeat (5)\n            change y by (hero y velocity)\n            change [hero y velocity v] by (-2)\n        end\n        broadcast (GameOver v)\n    end\n    if <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [H]> then\n        set [************** v] to [HIT BY WALL]\n        set [hero y velocity v] to [-4]\n        repeat (5)\n            change y by (hero y velocity)\n            change [hero y velocity v] by (-2)\n        end\n        broadcast (GameOver v)\n    end\n    if <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [R]> then\n        repeat (18)\n            change y by (1)\n        end\n        set [high, medium or low? v] to [medium]\n    end\n    if <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [L]> then\n        LowSequence\n    end\n    if <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [G]> then\n        set [************** v] to [MEDIUM]\n    end\nend\n\nwhen I receive [goleft? v]\nif <(changing lane?) = [No]> then\n    if <(HeroSlot) > [1]> then\n        if <(High, Medium or Low?) = [High]> then\n            GoodLeftShift\n            stop [this script v]\n        end\n        if <(High, Medium or Low?) = [Medium]> then\n            if <not <(letter ((HeroSlot) - (1)) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [H]>> then\n                GoodLeftShift\n                stop [this script v]\n            end\n        end\n        if <(High, Medium or Low?) = [Low]> then\n            if <<not <(letter ((HeroSlot) - (1)) of (item ((ListLineReader) - (12)) of [levelnowplaying v])) = [H]>> and <<not <(letter ((HeroSlot) - (1)) of (item ((ListLineReader) - (12)) of [levelnowplaying v])) = [G]>> and <not <(letter ((HeroSlot) - (1)) of (item ((ListLineReader) - (12)) of [levelnowplaying v])) = [R]>>>> then\n                GoodLeftShift\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [goright v]\nif <(changing lane?) = [No]> then\n    if <(HeroSlot) < [7]> then\n        if <(High, Medium or Low?) = [High]> then\n            GoodRightShift\n            stop [this script v]\n        end\n        if <(High, Medium or Low?) = [Medium]> then\n            if <not <(letter ((HeroSlot) - (-1)) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [H]>> then\n                GoodRightShift\n                stop [this script v]\n            end\n        end\n        if <(High, Medium or Low?) = [Low]> then\n            if <<not <(letter ((HeroSlot) - (-1)) of (item ((ListLineReader) - (12)) of [levelnowplaying v])) = [H]>> and <<not <(letter ((HeroSlot) - (-1)) of (item ((ListLineReader) - (12)) of [levelnowplaying v])) = [G]>> and <not <(letter ((HeroSlot) - (-1)) of (item ((ListLineReader) - (12)) of [levelnowplaying v])) = [R]>>>> then\n                GoodRightShift\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen [a v] key pressed\nbroadcast (GoLeft? v)\n\nwhen [d v] key pressed\nbroadcast (GoRight v)\n\n@Shadow\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\n\nchange y by (10)\n\nset x to ([x position v] of [hero v])\n\nwhen I receive [start v]\nwait (3) seconds\nset [ghost v] effect to (50)\nshow\nforever\n    if <(sHADOW oN/oFF) = [ON]> then\n        go to (hero v)\n        show\n    else\n        hide\n    end\nend\n\n@Slot1\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nif <(costume [name v]) = [L]> then\n    repeat (134)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nif <(costume [name v]) = [H]> then\n    repeat (145)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [listlinereader v] to [1]\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    switch costume to (letter (1) of (item (ListLineReader) of [levelnowplaying v]))\n    create clone of (_myself_ v)\n    repeat (10)\n    change [listlinereader v] by (1)\nend\n\nif <not <(costume [name v]) = [B]>> then\n    create clone of (_myself_ v)\nend\nrepeat (10)\nchange [listlinereader v] by (1)\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\n\n@Slot7\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nset size to (15) %\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nif <(costume [name v]) = [L]> then\n    repeat (134)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nif <(costume [name v]) = [H]> then\n    repeat (145)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    switch costume to (letter (7) of (item (ListLineReader) of [levelnowplaying v]))\n    create clone of (_myself_ v)\n    repeat (10)\nend\n\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nif <not <(costume [name v]) = [B]>> then\n    create clone of (_myself_ v)\nend\n\n@Slot2\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (5) layers\nshow\nif <(costume [name v]) = [L]> then\n    repeat (134)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nif <(costume [name v]) = [H]> then\n    repeat (145)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    switch costume to (letter (2) of (item (ListLineReader) of [levelnowplaying v]))\n    create clone of (_myself_ v)\n    repeat (10)\nend\n\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nif <not <(costume [name v]) = [B]>> then\n    create clone of (_myself_ v)\nend\nrepeat (10)\n\n@Slot6\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (5) layers\nshow\nif <(costume [name v]) = [L]> then\n    repeat (134)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nif <(costume [name v]) = [H]> then\n    repeat (145)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    switch costume to (letter (6) of (item (ListLineReader) of [levelnowplaying v]))\n    create clone of (_myself_ v)\n    repeat (10)\nend\n\n\n\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nif <not <(costume [name v]) = [B]>> then\n    create clone of (_myself_ v)\nend\nrepeat (10)\n\n@Slot3\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (9) layers\nshow\nif <(costume [name v]) = [L]> then\n    repeat (134)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nif <(costume [name v]) = [H]> then\n    repeat (145)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    switch costume to (letter (3) of (item (ListLineReader) of [levelnowplaying v]))\n    create clone of (_myself_ v)\n    repeat (10)\nend\n\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nswitch costume to (g v)\n\nif <not <(costume [name v]) = [B]>> then\n    create clone of (_myself_ v)\nend\nrepeat (10)\n\n@Slot5\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (10) layers\nshow\nif <(costume [name v]) = [L]> then\n    repeat (134)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nif <(costume [name v]) = [H]> then\n    repeat (145)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    switch costume to (letter (5) of (item (ListLineReader) of [levelnowplaying v]))\n    create clone of (_myself_ v)\n    repeat (10)\nend\n\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\ncreate clone of (_myself_ v)\nrepeat (10)\n\nif <not <(costume [name v]) = [B]>> then\n\n@Slot4\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (20) layers\nshow\nif <(costume [name v]) = [L]> then\n    repeat (134)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nif <(costume [name v]) = [H]> then\n    repeat (145)\n        change y by ((0) - ((size) * (0.04)))\n        set [size v] to ((size) * (1.012))\n        set size to (size) %\n    end\n    delete this clone\nend\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    switch costume to (letter (4) of (item (ListLineReader) of [levelnowplaying v]))\n    create clone of (_myself_ v)\n    repeat (10)\nend\n\nrepeat (140)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\ncreate clone of (_myself_ v)\nrepeat (10)\n\nif <not <(costume [name v]) = [B]>> then\n\n@Layermaker\n\nwhen flag clicked\nrepeat (100)\n    create clone of (_myself_ v)\nend\n\n@BackStarfield\n\nwhen I receive [hidescrollingstarfields v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    set y to ((StarfieldBackY) + (360))\n    go to [back v] layer\nend\n\nwhen flag clicked\nshow\nswitch backdrop to (untitled v)\nset [brightness v] effect to (-20)\npoint in direction (-90)\ngo to x: (-5) y: (0)\ncreate clone of (_myself_ v)\nset [starfieldbacky v] to [0]\ngo to [back v] layer\nforever\n    change [starfieldbacky v] by (-0.5)\n    if <(StarfieldBackY) = [-360]> then\n        set [starfieldbacky v] to [0]\n    end\n    set y to (StarfieldBackY)\n    go to [back v] layer\nend\n\nwhen I receive [showscrollingstarfields v]\nshow\nswitch backdrop to (untitled v)\nset [brightness v] effect to (-20)\npoint in direction (-90)\ngo to x: (-5) y: (0)\ncreate clone of (_myself_ v)\nset [starfieldbacky v] to [0]\ngo to [back v] layer\nforever\n    change [starfieldbacky v] by (-0.5)\n    if <(StarfieldBackY) = [-360]> then\n        set [starfieldbacky v] to [0]\n    end\n    set y to (StarfieldBackY)\n    go to [back v] layer\nend\n\nswitch costume to (starfield v)\n\n@FrontStarfield\n\nwhen I receive [hidescrollingstarfields v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    set y to ((StarfieldY) + (360))\n    go to [back v] layer\nend\n\nwhen flag clicked\ngo to x: (5) y: (0)\ncreate clone of (_myself_ v)\nshow\nset [starfieldy v] to [20]\ngo to [back v] layer\nforever\n    change [starfieldy v] by (-1)\n    if <(StarfieldY) = [-360]> then\n        set [starfieldy v] to [0]\n    end\n    go to [back v] layer\n    set y to (StarfieldY)\nend\n\nwhen I receive [showscrollingstarfields v]\ngo to x: (5) y: (0)\ncreate clone of (_myself_ v)\nshow\nset [starfieldy v] to [20]\ngo to [back v] layer\nforever\n    change [starfieldy v] by (-1)\n    if <(StarfieldY) = [-360]> then\n        set [starfieldy v] to [0]\n    end\n    go to [back v] layer\n    set y to (StarfieldY)\nend\n\nhide\n\n@Slot8\n\nwhen flag clicked\n\nwhen I start as a clone\nshow\nrepeat (20)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\nrepeat (20)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\n    change x by ((size) / (-20))\nend\nrepeat (20)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\n    change x by ((size) / (20))\nend\nrepeat (20)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\nrepeat (20)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\n    change x by ((size) / (20))\nend\nrepeat (20)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\n    change x by ((size) / (-20))\nend\nrepeat (20)\n    change y by ((0) - ((size) * (0.04)))\n    set [size v] to ((size) * (1.012))\n    set size to (size) %\nend\ndelete this clone\n\nchange x by ((size) / (20))\n\nchange x by ((size) / (-20))\n\nchange x by ((size) / (20))\n\nwhen I receive [start v]\ngo to x: (0) y: (165)\nset size to (28) %\nhide\nset [listlinereader v] to [1]\nset [size v] to [25]\nif <[1] = [1]> then\n    delete this clone\nend\nforever\n    if <(letter (1) of (item (ListLineReader) of [levelnowplaying v])) = [S]> then\n        switch costume to (s v)\n        create clone of (_myself_ v)\n    end\n    if <(letter (2) of (item (ListLineReader) of [levelnowplaying v])) = [S]> then\n        switch costume to (s2 v)\n        create clone of (_myself_ v)\n    end\n    if <(letter (3) of (item (ListLineReader) of [levelnowplaying v])) = [S]> then\n        switch costume to (s3 v)\n        create clone of (_myself_ v)\n    end\n    if <(letter (4) of (item (ListLineReader) of [levelnowplaying v])) = [S]> then\n        switch costume to (s4 v)\n        create clone of (_myself_ v)\n    end\n    if <(letter (5) of (item (ListLineReader) of [levelnowplaying v])) = [S]> then\n        switch costume to (s5 v)\n        create clone of (_myself_ v)\n    end\n    if <(letter (6) of (item (ListLineReader) of [levelnowplaying v])) = [S]> then\n        switch costume to (s6 v)\n        create clone of (_myself_ v)\n    end\n    if <(letter (7) of (item (ListLineReader) of [levelnowplaying v])) = [S]> then\n        switch costume to (s7 v)\n        create clone of (_myself_ v)\n    end\n    repeat (10)\nend\n\nswitch costume to (p v)\n\nchange [listlinereader v] by (1)\n\ngo to [back v] layer\n\n@%Finished\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\nset [% finished v] to [0]\nwait (1) seconds\nwait until <(ListLineReader) > [11]>\nrepeat until <(% finished) = [100]>\n    set [% finished v] to ([floor v] of (((ListLineReader) - (11)) / (2)) )\nend\nbroadcast (vICTORY! v)\n\nwait until <(letter (HeroSlot) of (item ((ListLineReader) - (11)) of [levelnowplaying v])) = [Y]>\n\nswitch costume to (costume2 v)\ngo to [front v] layer\nshow\n\n@LevelManager\n\ndelete all of [levelnowplaying v]\n\ndelete all of [level2 v]\n\nwhen flag clicked\nset [level v] to [5]\n\nbroadcast (Start v)\n\ndefine FasterLevelLoading\nset [list load loop counter v] to [1]\ndelete all of [levelnowplaying v]\nrepeat (200)\n    change [list load loop counter v] by (1)\n    if <(Level) = [1]> then\n        add (item (list load loop counter) of [level1 v]) to [levelnowplaying v]\n    end\n    if <(Level) = [2]> then\n        add (item (list load loop counter) of [level2 v]) to [levelnowplaying v]\n    end\n    if <(Level) = [3]> then\n        add (item (list load loop counter) of [level 3 v]) to [levelnowplaying v]\n    end\n    if <(Level) = [4]> then\n        add (item (list load loop counter) of [level 4 v]) to [levelnowplaying v]\n    end\n    if <(Level) = [5]> then\n        add (item (list load loop counter) of [level 5 v]) to [levelnowplaying v]\n    end\nend\n\ndelete all of [level1 v]\n\nif <(Level) = [2]> then\n    repeat (length of [level2 v])\n        change [list load loop counter v] by (1)\n        add (item (list load loop counter) of [level2 v]) to [levelnowplaying v]\n    end\nend\n\nadd (item (list load loop counter) of [level1 v]) to [levelnowplaying v]\n\nhide list [levelnowplaying v]\n\ndelete all of [level 3 v]\n\nwhen I receive [start v]\nshow list [levelnowplaying v]\nshow list [level1 v]\nshow list [level2 v]\nshow list [level 3 v]\nshow list [level 4 v]\nshow list [level 5 v]\n\ndelete all of [level 4 v]\nhide list [level 4 v]\n\ndelete all of [level 5 v]\nhide list [level 5 v]\n\nwhen I receive [loadplatformdata v]\nFasterLevelLoading\nwait (0.1) seconds\nshow list [levelnowplaying v]\n\nhide list [level1 v]\n\nhide list [level2 v]\n\nhide list [level 3 v]\n\n@PickPlaytypeButtons\n\nwhen I receive [menupicklevel v]\nbroadcast (showworlds% v)\nswitch costume to (1 v)\nset size to (100) %\nclear graphic effects\ngo to x: (-50) y: (100)\nset [color v] effect to (50)\nrepeat (5)\n    create clone of (_myself_ v)\n    change [color v] effect by (30)\n    next costume\n    change y by (-60)\nend\nclear graphic effects\ngo to x: (0) y: (0)\nshow\nswitch costume to (tabs v)\n\nset size to (100) %\nswitch costume to (all v)\ngo to x: (-237) y: (-159)\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nset [startsize v] to (size)\nforever\n    set size to (StartSize) %\n    if <touching (mouse-pointer v)?> then\n        set [clonesizeloopcounter v] to [0]\n        repeat until <<not <touching (mouse-pointer v)?>> or <(CloneSizeLoopCounter) = [10]>>\n            change [clonesizeloopcounter v] by (1)\n            change size by (1)\n            ClickedCheck\n        end\n        set [clonesizeloopcounter v] to [0]\n        repeat until <<not <touching (mouse-pointer v)?>> or <(CloneSizeLoopCounter) = [10]>>\n            ClickedCheck\n            change [clonesizeloopcounter v] by (1)\n            change size by (-1)\n        end\n    end\nend\n\nchange x by (57)\n\nwhen I receive [deletelocalclones v]\nhide\ndelete this clone\n\ndefine ClickedCheck\nif <<mouse down?> and <touching (mouse-pointer v)?>> then\n    set [level v] to (costume [name v])\n    set [classicgametypeall/single v] to [Single]\n    set [test yes/no   /play/singleload v] to [Play]\n    broadcast (LoadPlatformData v) and wait\n    broadcast (DeleteLocalClones v)\n    broadcast (Start v)\nend\n\nClickedCheck\n\nClickedCheck\n\n@Homepage\n\nwhen [m v] key pressed\nbroadcast (Music v)\n\nwhen I receive [music v]\nchange [track v] by (1)\nif <(Track) > [4]> then\n    set [track v] to [1]\nend\nstop all sounds\nforever\n    if <(Track) = [1]> then\n        play sound [space-junkies-game-theme-song-feel-for-music2 v] until done\n    end\n    if <(Track) = [2]> then\n        play sound [Menu Guitar - Just Shapes And Beats v] until done\n    end\n    if <(Track) = [3]> then\n        play sound [space-junkies-game-theme-song-feel-for-music2 v] until done\n    end\n    if <(Track) = [4]> then\n        play sound [space-junkies-game-theme-song-feel-for-music2 v] until done\n    end\nend\n\nwhen flag clicked\nbroadcast (Music v)\nclear graphic effects\nshow\ngo to x: (0) y: (0)\nset size to (100) %\nclear graphic effects\nswitch costume to (homepage v)\nset [track v] to [1]\nrepeat (50)\n    change [pixelate v] effect by (3)\n    change [brightness v] effect by (-2)\nend\nswitch costume to (insructions and level v)\nrepeat (50)\n    change [pixelate v] effect by (-3)\n    change [brightness v] effect by (2)\nend\nwait until <<not <key (any v) pressed?>> and <not <mouse down?>>>\nwait until <<mouse down?> or <key (any v) pressed?>>\nrepeat (50)\n    change [pixelate v] effect by (3)\n    change [brightness v] effect by (-2)\nend\nbroadcast (MenuPickLevel v)\nrepeat (50)\n    change [ghost v] effect by (4)\n    change [brightness v] effect by (-2)\nend\nhide\n\nwhen I receive [gameover v]\n\nclear graphic effects\nswitch costume to (gameover v)\ngo to x: (0) y: (-300)\nshow\nglide (1) secs to x: (0) y: (00)\n\nset [control? v] to [Keys]\n\nbroadcast (InfinateLevel v)\n\n@Score\n\nif <(% finished) > [50]> then\n    set [%dfinished v] to (% finished)\nend\n\nif  then\nend\n\nset [%cfinished v] to [0]\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (costume1 v)\n    switch costume to (letter ((length of (% finished)) - (Numeral)) of (% finished))\nend\n\nwait (0.5) seconds\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nwait (0.1) seconds\ngo to [front v] layer\nif <(Level) = [1]> then\n    if <(% finished) > (%AFinished)> then\n        set [%afinished v] to (% finished)\n    end\nend\nif <(Level) = [2]> then\n    if <(% finished) > (%BFinished)> then\n        set [%bfinished v] to (% finished)\n    end\nend\nif <(Level) = [3]> then\n    if <(% finished) > (%cfinished)> then\n        set [%cfinished v] to (% finished)\n    end\nend\nif <(Level) = [4]> then\n    if <(% finished) > (%dfinished)> then\n        set [%dfinished v] to (% finished)\n    end\nend\nif <(Level) = [5]> then\n    if <(% finished) > (%efinished)> then\n        set [%efinished v] to (% finished)\n    end\nend\n\nwhen I receive [start v]\nswitch costume to (10 v)\ngo to [front v] layer\nshow\nset [score v] to [0]\nset size to (70) %\nset [numeral v] to [0]\ngo to x: (15) y: (168)\nset [numeral v] to [0]\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (-20)\n    change [numeral v] by (1)\n    wait (0.1) seconds\nend\nchange x by (85)\nswitch costume to (% v)\n\nwhen I receive [victory! v]\nstop [other scripts in sprite v]\nset [% finished v] to [100]\nwait (0.1) seconds\ngo to [front v] layer\nif <(Level) = [1]> then\n    if <(% finished) > (%AFinished)> then\n        set [%afinished v] to [100]\n    end\nend\nif <(Level) = [2]> then\n    if <(% finished) > (%BFinished)> then\n        set [%bfinished v] to [100]\n    end\nend\nif <(Level) = [3]> then\n    if <(% finished) > (%cfinished)> then\n        set [%cfinished v] to [100]\n    end\nend\nif <(Level) = [4]> then\n    if <(% finished) > (%dfinished)> then\n        set [%dfinished v] to [100]\n    end\nend\nif <(Level) = [5]> then\n    if <(% finished) > (%efinished)> then\n        set [%efinished v] to [100]\n    end\nend\n\n@World e4\n\nwhen I receive [deletelocalclones v]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (costume1 v)\n    switch costume to (letter ((length of (%efinished)) - (Numeral)) of (%efinished))\n    wait (0.5) seconds\nend\n\nwait (2) seconds\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [showworlds% v]\nset size to (100) %\nFaster\n\nwait until <(length of (% finished)) > [1]>\n\nwait until <(length of (% finished)) > [2]>\n\nwait (1) seconds\n\ndefine Faster\nswitch costume to (costume1 v)\nset [color v] effect to (170)\ngo to [front v] layer\nshow\nset [numeral v] to [0]\ngo to x: (-140) y: (-140)\nset [numeral v] to [0]\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (-25)\n    change [numeral v] by (1)\n    wait (0.1) seconds\nend\nchange x by (111)\nswitch costume to (% v)\n\n@World d3\n\nwhen I receive [deletelocalclones v]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (costume1 v)\n    switch costume to (letter ((length of (%dfinished)) - (Numeral)) of (%dfinished))\n    wait (0.5) seconds\nend\n\nwait (2) seconds\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [showworlds% v]\nset size to (100) %\nFaster\n\nwait until <(length of (% finished)) > [1]>\n\nwait until <(length of (% finished)) > [2]>\n\nwait (1) seconds\n\ndefine Faster\nswitch costume to (costume1 v)\nset [color v] effect to (140)\ngo to [front v] layer\nshow\nset [numeral v] to [0]\ngo to x: (-140) y: (-80)\nset [numeral v] to [0]\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (-25)\n    change [numeral v] by (1)\n    wait (0.1) seconds\nend\nchange x by (111)\nswitch costume to (% v)\n\n@World c2\n\nwhen I receive [deletelocalclones v]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (costume1 v)\n    switch costume to (letter ((length of (%cfinished)) - (Numeral)) of (%cfinished))\n    wait (0.5) seconds\nend\n\nwait (2) seconds\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [showworlds% v]\nset size to (100) %\nFaster\n\nwait until <(length of (% finished)) > [1]>\n\nwait until <(length of (% finished)) > [2]>\n\nwait (1) seconds\n\ndefine Faster\nswitch costume to (costume1 v)\ngo to [front v] layer\nset [color v] effect to (110)\nshow\nset [numeral v] to [0]\ngo to x: (-140) y: (-20)\nset [numeral v] to [0]\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (-25)\n    change [numeral v] by (1)\n    wait (0.1) seconds\nend\nchange x by (111)\nswitch costume to (% v)\n\n@World B1\n\nwhen I receive [deletelocalclones v]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (costume1 v)\n    switch costume to (letter ((length of (%BFinished)) - (Numeral)) of (%BFinished))\n    wait (0.5) seconds\nend\n\nwait (2) seconds\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [showworlds% v]\nset size to (100) %\nFaster\n\nwait until <(length of (% finished)) > [1]>\n\nwait until <(length of (% finished)) > [2]>\n\nwait (1) seconds\n\ndefine Faster\nset [color v] effect to (80)\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\nset [numeral v] to [0]\ngo to x: (-140) y: (40)\nset [numeral v] to [0]\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (-25)\n    change [numeral v] by (1)\n    wait (0.1) seconds\nend\nchange x by (111)\nswitch costume to (% v)\n\n@World A5\n\nwhen I receive [deletelocalclones v]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (costume1 v)\n    switch costume to (letter ((length of (%AFinished)) - (Numeral)) of (%AFinished))\n    wait (0.5) seconds\nend\n\nwait (2) seconds\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [showworlds% v]\nset size to (100) %\nFaster\n\nwait until <(length of (% finished)) > [1]>\n\nwait until <(length of (% finished)) > [2]>\n\nwait (1) seconds\n\ndefine Faster\nset [color v] effect to (50)\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\nset [numeral v] to [0]\ngo to x: (-140) y: (100)\nset [numeral v] to [0]\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (-25)\n    change [numeral v] by (1)\n    wait (0.1) seconds\nend\nchange x by (111)\nswitch costume to (% v)\n\nset [%afinished v] to [0]\nset [%bfinished v] to [0]\nset [%cfinished v] to [0]\nset [%dfinished v] to [0]\nset [%efinished v] to [0]\n\n@Blag\n\nwhen I receive [gameover v]\nhide\ngo to x: (0) y: (-187)\nswitch costume to (game over v)\nforever\n    go to [front v] layer\n    if <not <(letter (1) of (costume [number v])) = [E]>> then\n        create clone of (_myself_ v)\n    end\n    next costume\n    wait (1.5) seconds\nend\n\ngo to x: (0) y: (186)\n\nwhen flag clicked\nhide\n\nchange y by (10)\n\nwhen I start as a clone\nshow\nglide (8) secs to x: (0) y: (182)\ndelete this clone\n\n@vICTORY bLAG\n\nwhen I receive [victory! v]\nhide\ngo to x: (0) y: (-187)\nswitch costume to (game over v)\nforever\n    go to [front v] layer\n    if <not <(letter (1) of (costume [number v])) = [E]>> then\n        create clone of (_myself_ v)\n    end\n    next costume\n    wait (1.5) seconds\nend\n\ngo to x: (0) y: (186)\n\nwhen flag clicked\nhide\n\nchange y by (10)\n\nwhen I start as a clone\nshow\nglide (8) secs to x: (0) y: (185)\ndelete this clone\n\n@MouseControl\n\nwhen I receive [start v]\nwait (1) seconds\nforever\n    wait until <not <mouse down?>>\n    wait until <mouse down?>\n    if <(mouse y) < [155]> then\n        if <(mouse x) > [0]> then\n            broadcast (GoRight v)\n        else\n            broadcast (GoLeft? v)\n        end\n    end\nend\n\n
====⇒ Among Us Flappy Game ⇐=====\nhttps://scratch.mit.edu/projects/434895986/\n————————————————————\nInstructions\n\n❶ Go left and right with arrow keys or A and D.\n❷ Keep the ball running until you get to the end!\n❸ Love, Follow and Fav!\n\n=========================================\nTags\n#mobile\n#ipad\n#platformer\n#3D\n#atomicmagicnumber\n#runner\n#fast\n#2020\n#games\n#music\n