Movin' West || A Platformer (Mobile Friendly)                                         #games #all
@Stage\n\nwhen I receive [play game v]\nforever\n    play sound [TheFatRat+-+Time+Lapse.mp3 v] until done\nend\n\n@levels\n\nwhen I receive [start da intro boiz v]\nhide\n\nwhen I receive [next level / transition v]\nshow\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\nswitch costume to (costume2 v)\n\nwhen I receive [play game v]\nshow\n\nwhen I receive [someone pressed the skip button v]\nchange [level v] by (1)\n\n@tumbnail\n\nwhen flag clicked\nshow\nwait (0.8249324) seconds\nbroadcast (start da intro boiz v)\n\nwhen I receive [start da intro boiz v]\nhide\n\n@player\n\ndefine Fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine Y Collision\nrepeat until <not <touching (levels v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\ndefine X Collision\nrepeat until <not <touching (levels v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (trail v)\nset size to (30) %\nset [brightness v] effect to (0)\nrepeat (7)\n    change [ghost v] effect by (5)\n    change size by (-2)\nend\ndelete this clone\n\nwhen I receive [play game v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [play game v]\nset [level v] to [1]\nshow\ngo to x: (-200) y: (0)\nswitch costume to (right v)\nset [x v] to [0]\nset [y v] to [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        switch costume to (right v)\n        change [x v] by (.8)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (left v)\n        change [x v] by (-.8)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (levels v)?> then\n        Fast\n        if <touching (levels v)?> then\n            change y by (-6)\n            X Collision\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                set [y v] to [12]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-8]\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 (levels v)?> then\n        Y Collision\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 [14]\n        else\n            set [y v] to [0]\n        end\n    end\n    if <(x position) > [235]> then\n        broadcast (Next Level / Transition v)\n        go to x: (-200) y: (0)\n        change [level v] by (1)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <<touching (bad bois v)?> or <touching (spinning spikes v)?>> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-200) y: (0)\n    end\n    if <touching (tramp v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [setup 4 player v]\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen I receive [reset player v]\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\n\n@Intro\n\nwhen I start as a clone\nif <(id) = [0]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    show\n    switch costume to (bacground v)\n    go to [back v] layer\n    forever\n        if <(GHOOST) = [0]> then\n            set [ghost v] effect to (0)\n            switch costume to (bacground v)\n            go to [back v] layer\n            go [backward v] (1) layers\n            show\n            go to x: (0) y: (0)\n        else\n            wait (0.4) seconds\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            delete this clone\n        end\n    end\nend\nif <(id) = [1]> then\n    go to x: (700) y: (0)\n    show\n    point in direction (90)\n    go to [front v] layer\n    Smooth Glide to x [0] y [0] Speed [4]\n    hide\n    delete this clone\nend\nif <(id) = [2]> then\n    set size to (0) %\n    show\n    switch costume to (logo v)\n    go to [front v] layer\n    go to x: (0) y: (35)\n    repeat (16)\n        turn right (22.5) degrees\n        change size by (6.25)\n    end\n    point in direction (90)\n    set size to (100) %\n    forever\n        if <(Yet) = [0]> then\n            point in direction ((([cos v] of ((OKAY) * (18)) ) * (9)) + (90))\n            change [okay v] by (1)\n        else\n            repeat (24)\n                turn right (-16.875) degrees\n                change size by (-4.6875)\n            end\n            broadcast (fade v)\n            delete this clone\n        end\n    end\nend\nif <(id) = [3]> then\n    point in direction (90)\n    wait (0.5) seconds\n    set [ghost v] effect to (0)\n    switch costume to (costume1 v)\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\n    go to x: (700) y: (0)\n    Smooth Glide to x [0] y [0] Speed [4]\n    forever\n        if <(GHOOST) = [0]> then\n            set [ghost v] effect to (0)\n            switch costume to (costume1 v)\n            go to [front v] layer\n            go [backward v] (1) layers\n            show\n            go to x: (0) y: (0)\n        else\n            Smooth Glide to x [0] y [25] Speed [3]\n            Smooth Glide to x [0] y [-99] Speed [3]\n            delete this clone\n        end\n    end\nend\n\ndefine Smooth Glide to x (x) y (y) Speed (s)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change x by (((x) - (x position)) / (s))\n    change y by (((y) - (y position)) / (s))\nend\ngo to x: (x) y: (y)\n\nwhen I receive [start da intro boiz v]\nset [yet v] to [0]\nstart sound [Nebula v]\nhide\nset [ghoost v] to [0]\nset [okay v] to [0]\nset [id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nchange [id v] by (1)\nrepeat (3)\n    switch costume to (slide1 v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    switch costume to (slide2 v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nswitch costume to (bacground v)\ncreate clone of (_myself_ v)\nwait (0.8) seconds\nchange [id v] by (1)\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nchange [id v] by (1)\ncreate clone of (_myself_ v)\n\nwhen I receive [start da intro boiz v]\nset volume to (100) %\nwait (6.00000000) seconds\nset [yet v] to [1]\nset [ghoost v] to [1]\nbroadcast (Play Game v)\n\nwhen I receive [play game v]\nhide\n\n@text stuff\n\nwhen I receive [play game v]\nshow\nrepeat (2)\n    go to [front v] layer\nend\nforever\n    switch costume to (Level)\n    if <touching (player v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\n@bad bois\n\nwhen flag clicked\nhide\n\nwhen I receive [next level / transition v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@other thumbnail\n\nwhen flag clicked\nshow\n\nwhen I receive [start da intro boiz v]\nhide\n\n@DA SKIP BUTTON\n\nwhen flag clicked\ngo to x: (-204) y: (-156)\nhide\n\nwhen this sprite clicked\nbroadcast (someone pressed the skip button v)\n\nwhen I receive [play game v]\nshow\nif <touching (mouse-pointer v)?> then\n    change size by (5)\nend\n\n
#17 on trending thanks so much guys\n Oof I accidentally re shared please dont report me :(\nWelcome to Movin' West || A Platformer \n==========================================\n\nOur little cube struggles to survive. He moves around the world but does not fit anywhere... So decided to go west.\n\n\n1. Use the arrow keys to move, tap on mobile or wad\n2. Avoid spikes and cacti\n3. Have fun during this crazy adventure :)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYes if this gets on trending number two will come out!!!!