Grogu's Galactic Quest | Scrolling Platformer #games #all

Instructions: This is a platformer Collab with @HumanCalc7! It has several levels and includes lots of stuff....yeah\n\nControls: \n\nA and D keys to move left/right and W and up arrow to jump! (S and down key to block, but that isn't needed yet...)\n\n(MOBILE FRIENDLY! YESSIR!)\n\nThis game takes place on several different planets, each with different levels of gravity and other features. You are on a quest to find the Mandalorian, who you got separated from. Good Luck!\n\nAsk any questions about the project and report any bugs to us! (me and @Humancalc7)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#games #all #HumanCalc7 #Grogu #Galaxy #planets #quest #fun #scrolling platformer #scrolling #platformer #collab #JoelGalaxyKing #art\n\n#games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all #games #all\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 "HumanCalc7 is so amazing! :D"

@Stage\n\n@player\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n            change [x vel v] by (-1.3)\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            change [x vel v] by (1.3)\n        end\n        if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n            change [y vel v] by (-1.3)\n        end\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y vel v] by (1.3)\n        end\n        set [x vel v] to ((X vel) * (0.81))\n        set [y vel v] to ((Y vel) * (0.81))\n        change [y vel v] by (((Y vel) / (14.9)) + (0.1))\n    end\n    set size to (20) %\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo [forward v] (1) layers\nhide\npoint in direction (90)\nset [x vel v] to [0]\nset [y vel v] to [0]\nforever\n    broadcast (Tick v)\n    go to [front v] layer\nend\n\ndefine Tick & Physics (jump height) (friction) (gravity) (speed)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    if <(costume [number v]) = [12]> then\n        change [x vel v] by ((speed) * (0.5))\n        switch costume to (costume1  v)\n    else\n        change [x vel v] by (speed)\n        switch costume to (costume1  v)\n    end\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [x vel v] by ((speed) * (-1))\n    switch costume to (costume2 v)\nend\nchange x by (X vel)\nset [x vel v] to ((X vel) * (friction))\nif <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n    change y by (1)\n    if <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n        change y by (1)\n        if <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n            change y by (1)\n            if <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n                change y by (1)\n                if <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n                    change y by (1)\n                    if <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n                        change x by ((X vel) * (-2))\n                        change y by (-5)\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                            if <(X vel) > [0]> then\n                                set [x vel v] to [-10]\n                            else\n                                set [x vel v] to [10]\n                            end\n                            set [y vel v] to (jump height)\n                        else\n                            set [x vel v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y vel v] by (gravity)\nchange y by (Y vel)\nif <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n    change y by ((Y vel) * (-1))\n    set [y vel v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <<<touching (platforms v)?> or <touching (door v)?>> or <touching (lever v)?>> then\n        set [y vel v] to ((jump height) - (2))\n    end\nend\nchange y by (1)\nchange [scroll x v] by ((x position) * (-1))\nchange [scroll y v] by ((y position) * (-1))\ngo to x: (0) y: (0)\nif <[730] < (Scroll Y)> then\n    Position\nend\nif <touching (spikes v)?> then\n    Position\nend\nif <touching (bounce pads v)?> then\n    set [y vel v] to [20]\nend\nif <touching (lava v)?> then\n    Position\nend\n\nwhen I receive [tick v]\nif <(Level) = [1]> then\n    Tick & Physics [15] [0.875] [-0.45] [1.1]\n    change [your level 1 time v] by (1)\nelse\n    if <(Level) = [2]> then\n        Tick & Physics [16] [0.915] [-0.3] [1.2]\n    else\n        if <(Level) = [3]> then\n            Tick & Physics [16] [0.98] [-0.875] [0.375]\n        else\n            if <(Level) = [4]> then\n                Tick & Physics [13] [0.85] [-0.6] [1]\n            else\n                if <(Level) = [5]> then\n                    Tick & Physics [12] [0.8] [-0.4] [0.8]\n                else\n                    if <(Level) = [6]> then\n                        Tick & Physics [15] [0.95] [-0.75] [1.5]\n                    else\n                        if <(Level) = [7]> then\n                            Tick & Physics (([abs v] of ((Scroll Y) - (3500)) ) / (200)) [0.8] ((([abs v] of ((Scroll Y) + (3500)) ) / (3000)) * (-0.75)) [0.9]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\nshow\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <touching (mandalorians v)?> then\n        repeat (3)\n            change size by (-20)\n            change [ghost v] effect by (33)\n        end\n        wait until <not <touching (mandalorians v)?>>\n        clear graphic effects\n        point in direction (90)\n        broadcast (Next level v)\n        Position\n    end\nend\n\nwhen flag clicked\nforever\n    if <[729] < (Scroll Y)> then\n        play sound [Roblox Death Sound  OOF Sound Effect v] until done\n    end\n    if <touching (spikes v)?> then\n        play sound [Roblox Death Sound  OOF Sound Effect v] until done\n    end\n    if <touching (bounce pads v)?> then\n        play sound [Mario_Jump_-_Gaming_Sound_Effect v] until done\n    end\n    if <touching (lava v)?> then\n        play sound [Roblox Death Sound  OOF Sound Effect v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mandalorians v)?> then\n        play sound [Ding Sound Effect v] until done\n        wait until <not <touching (mandalorians v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    set size to (20) %\n    if <key (any v) pressed?> then\n        if <key (right arrow v) pressed?> then\n            switch costume to (costume2 v)\n        else\n            if <key (left arrow v) pressed?> then\n                switch costume to (costume2 v)\n            else\n                if <key (down arrow v) pressed?> then\n                    switch costume to (costume4 v)\n                    repeat until <(costume [number v]) = [12]>\n                        next costume\n                    end\n                    wait until <not <key (any v) pressed?>>\n                    repeat until <(costume [number v]) = [3]>\n                        switch costume to ((costume [number v]) - (1))\n                    end\n                else\n                    if <key (up arrow v) pressed?> then\n                        switch costume to (costume13 v)\n                    end\n                end\n            end\n        end\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    set rotation style [left-right v]\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    else\n        if <key (left arrow v) pressed?> then\n            point in direction (-90)\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [level v]\nforever\n    set [level v] to (([costume # v] of [platforms v]) + (-1))\nend\n\nwhen flag clicked\nset [level v] to [1]\nset [your level 1 time v] to [0]\nshow variable [your level 1 time v]\nshow variable [☁ level 1 record v]\nwait until <(Level) = [2]>\nif <<(Your Level 1 time) < (☁ Level 1 Record)> and <(Your Level 1 time) > [0]>> then\n    set [☁ level 1 record v] to (Your Level 1 time)\nelse\nend\nwait (5) seconds\nhide variable [☁ level 1 record v]\nhide variable [your level 1 time v]\n\nwhen I receive [tick v]\nif <touching (quick left v)?> then\n    change [x vel v] by (-5)\nend\nif <touching (quick right v)?> then\n    change [x vel v] by (5)\nend\n\nwhen flag clicked\nset [level v] to [1]\nset [time v] to [0]\nshow variable [time v]\nhide variable [☁ world record v]\nwait until <(Level) = [8]>\nif <<(Time) < (☁ World Record)> and <(☁ World Record) > [0]>> then\n    set [☁ world record v] to (Time)\nend\nshow variable [time v]\nshow variable [☁ world record v]\nhide\n\nwhen I receive [tick v]\nif <(Level) < [8]> then\n    change [time v] by (1)\nend\n\n@Platforms\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\n    go to [front v] layer\n    go [backward v] (3) layers\nend\n\n@Words\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\nend\n\n@Spikes\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\n@Borders DO NOT DELETE\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\n@Lava\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: ((([sin v] of ((timer) * (100)) ) * (20)) + (Scroll Y))\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\n@Bounce Pads\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (costume1 v)\nset size to (400) %\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\n@Water\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: ((([sin v] of ((timer) * (100)) ) * (20)) + (Scroll Y))\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\n@Mandalorians\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\n@Quick Left\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\n@Quick Right\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\n@Door\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    if <(Lever) = [0]> then\n        go to x: (Scroll X) y: (Scroll Y)\n    else\n        if <(Level) = [6]> then\n            go to x: (Scroll X) y: ((Scroll Y) - (100))\n        end\n        if <(Level) = [7]> then\n            go to x: ((Scroll X) - (100)) y: (Scroll Y)\n        end\n    end\n    go to [front v] layer\n    go [backward v] (3) layers\nend\n\n@Lever\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (400) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\n    go to [front v] layer\n    go [backward v] (3) layers\nend\n\nwhen flag clicked\nforever\n    if <(Lever) = [0]> then\n        set [color v] effect to (0)\n    else\n        set [color v] effect to (70)\n    end\nend\n\nwhen I receive [next level v]\nset [lever v] to [0]\nwait until <touching (player v)?>\nset [lever v] to [1]\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo [forward v] (99999999999999) layers\ngo to [front v] layer\nshow\nif <<(username) = [HumanCalc7]> or <(username) = [JoelGalaxyKing]>> then\n    wait (2.5) seconds\nelse\n    wait (0.05) seconds\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n@Parallax Background\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen I receive [next level v]\nPosition\nnext costume\n\ndefine Position\nset [scroll x v] to [750]\nset [scroll y v] to [446]\nclear graphic effects\n\nwhen I receive [start v]\nshow\nswitch costume to (blank, do not erase, this is crucial to the scrolling v)\nset size to (100) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (((Scroll X) * (0.1)) + (75)) y: (((Scroll Y) * (0.1)) + (44.6))\n    go to [back v] layer\n    go [backward v] (3) layers\n    set [ghost v] effect to (85)\nend\n\n@Ending\n\nwhen flag clicked\nhide\nwait until <(Level) = [8]>\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    go [forward v] (999999999999999999999999999999999999999999999) layers\nend\n\n