Share your repls and programming experiences

← Back to all posts
Grocery Run - Level Maker
PYer (4010)

Glad to see that many people are enjoying my game. One of my wishes when I posted it was that people would create their own levels and share it with others. I also wanted tos ee if I could add smoe more. To help out with this - I've made the Grocery Run Level Maker.

If you haven't see the game yet, head to GroceryRun.

If you want to make multiple levels, fork the original grocery run game. Then edit the list of maps, with the new code that can be found at the bottom. Make sure to include each of the levels as an individual item in the list.

Want to play another person's level? Open up script.js, find the first line where it declares the variable m. Replace the original list with the new list. The level maker will not work to edit the level. You will only be able to play it. Usin the level make will make edits to the level, but they might not work the way you expect it too. If your savvy enough, try to edit the corresponding square on the level maker.

Please comment below any levels you make, so that others can play them, and so that I can add them to the game if I like them. Have fun building!

To check out your level once it has been approved (or edited to fit the rules), or to check out other people's levels, head to the GroceryRun - Community Levels.


I'm not accepting any more levels. You can still play them yourselves, or play the levels other people have shared.

Comments
hotnewtop
WILLIAMBAEWER (114)

@Pyer how do I play other peoples levels? i copied the code, and put it into the spot that says "code". and nothing happened

PYer (4010)

Sorry, I need to state that explicitly in the instructions. Look in the script.js file. Change the value of m. @WILLIAMBAEWER

gameprogammer (6)

@WILLIAMBAEWER You have to copy and paste it which you did, But you create your own. like changing it to something else.

noway15 (97)

tada:
["s","d",".","p",".","p",".",".",".","d","g"]
["c","=","-","=","f",".",".",".","x","v","t"]["k","d","e","p",".","p",".",".",".",".","g"]

JWZ6 (651)

COOL! [["e",".",".","p",".",".","i",".",".",".","."],[".","~",".",".",".",".",".","g",".",".","."],["c",".",".",".",".",".",".",".",".",".","t"],[".",".",".",".","w",".",".","f",".",".","."],[".","w",".",".",".",".",".",".",".","w","."]] NOICE

WILLIAMBAEWER (114)

I call this level: very hard
[["k","t","t","t","t","w","f","f","w","w","d"],["w","w","w","w","t","w","f","w","t","t","t"],["c","d","d","d","d","w","w","t","t","w","t"],["w","w","w","w","v","w","t","t","w","t","t"],["t","v","t","t","t","t","t","w","k","t","w"]]

WilliamXing (51)

[[".",".",".",".","c",".",".",".","p",".","."],[".","w",".","w","g",".",".",".",".","i","."],["c","w",".","w","w","w",".",".",".","i","t"],[".","w",".",".","w","w",".","c",".","i","i"],["w","w",".","w",".",".",".",".",".",".","."]]

WILLIAMBAEWER (114)


[["t","v",".","w",".",".",".","w",".",".","="],["w",".",".",".",".",".",".",".",".",".","."],["c","d",".",".",".","i",".",".",".","k","t"],[".",".",".",".",".",".",".",".",".",".","."],["=",".",".","w",".","g",".","w",".",".","="]]

KaisersChannel (4)

Btw the code is
[["w","p","w","p","w","p","w","p","w","p","="],["f",".",".","i",".",".","~",".",".","w","v"],["c",".",".","e",".",".","-",".",".","w","t"],["s",".",".","k",".",".","d",".",".","w","v"],["w","g","w","g","w","g","w","g","w","g","="]]

KaisersChannel (4)

wow nice! there's a level maker!

FrancisPan (31)

[["c",".",".",".",".",".",".",".",".",".","p"],["c",".",".",".",".",".",".",".",".","p","v"],["c","-","k",".",".",".",".",".","p","v","t"],["c",".",".",".",".",".",".",".",".","p","v"],["c",".",".",".",".",".",".",".",".",".","p"]]
I call it 'army'

JasonLiu19 (71)

[[".",".",".",".",".",".",".",".",".",".","."],[".",".",".",".",".",".",".",".",".",".","."],["c",".",".",".",".",".",".",".",".",".","t"],[".",".",".",".",".",".",".",".",".",".","."],[".",".",".",".",".",".",".",".",".",".","."]]
it's a castle

WILLIAMBAEWER (114)

I call this one: very weirdly shaped store
[["k","w",".",".",".","w",".",".",".","w","t"],["d","w",".","w",".","w",".","w",".","w","."],["c","w",".","w","d","w","d","w",".","w","t"],["d","w",".","w",".","w","s","w",".","w","v"],[".",".",".","w",".",".",".","w",".",".","."]]

PYer (4010)

Thanks! @WILLIAMBAEWER I'm using these btw, so keep making them if you want :)

mollthecoder (37)

@YashasShah Are you the only windows user in the history of replit?

CodeMaster007 (108)

Wow, this is awesome! Thanks!

KaisersChannel (4)

🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱
🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱
🛒 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧻
🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱
🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱

[["w","w","w","w","w","w","w","=","=","=","="],["w","w","w","w","=","=","=","=","w","w","w"],["c","=","=","w","w","=","w","w","w","w","t"],["=","=","=","w","w","=","=","=","w","w","="],["=","w","=","=","=","=","w","=","=","=","="]]

WILLIAMBAEWER (114)


[["v","f","=","t","w","w","w","g","=","=","."],[".","w","w","w",".",".",".","w","w","w","."],["c","x","~",".",".","w","p",".",".","k","t"],[".","w","w","w",".",".",".","w","w","w","."],[".","v","s","t","w","w","w","t","e","i","v"]]

JasonLiu19 (71)

[["g","~","k","s","v","f","v","s","k","~","g"],["~","k","s","v","~","v","~","v","s","k","~"],["c","~","k","s","v","t","v","s","k","~","s"],["f","f","~","k","s","v","s","k","~","f","f"],
["g","f","f","~","k","s","k","~","f","f","g"]]
remove the soap on the far right

PYer (4010)

GroceryRun - Community Levels The level has been added. (With the soap in it just for fun.) @JasonLiu19

FrancisPan (31)

[["w","-","-","-","-","w","w","p","p","w","w"],["w","s","s","s","s",".",".",".",".",".","w"],["c",".",".",".",".",".",".",".",".",".","w"],["w","t","t","t","t",".","d","d","d","d","w"],["w","k","k","k","k",".","x","x","x","x","e"]]
I call it 'small shop'

FrancisPan (31)

@PYer

Thanks!

All my levels are pre-tested to ensure they are possible

nosepicker305 (0)

[["k","w",".",".",".",".",".",".","t",".","."],[".","w","s",".",".",".","t",".",".",".","."],["c","w","w","=","w",".",".",".",".",".","t"],[".",".","s",".","w","d","~","p","~",".","."],["-",".","t",".","v",".",".",".",".",".","x"]]

level name "no sense at all"

elbury (5)

I call this the Blitzer pretty hard

[[".",".",".",".","p","-",".",".",".",".","i"],["s","w",".",".",".",".",".",".","g","w","w"],["c","s",".",".",".","k",".",".",".","v","t"],["s","w",".",".",".",".","f",".","g","w","w"],[".",".",".",".","p","e",".",".",".",".","i"]]

FrancisPan (31)

[[".",".","w","t","w","t","w","t","w","t","w"],[".",".","w","v","w","v","w","v","w","v","w"],["c","k",".",".",".",".",".",".",".",".","s"],[".",".","w","v","w","v","w","v","w","v","w"],[".","e","w","t","w","t","w","t","w","t","w"]]
I call it "bathroom"

FrancisPan (31)

[["i","w","i","w","i","w","i","w","i","w","i"],[".",".",".",".","~",".",".",".","~",".","."],["c","s",".",".",".","~",".",".",".",".","t"],[".",".",".",".",".",".","~","~",".",".","."],["i","w","i","w","i","w","i","w","i","w","i"]]
I call it 'The bad hospital'

mollthecoder (37)

I'm making a modded version of Grocery Run Level Maker and I was wondering if nothing on the editor is displayed as " " or "".

mollthecoder (37)

@PYer You should make a game engine.

mollthecoder (37)

@PYer Hey, could you please help me with the mod? I accidentally broke the cop's AI and need help to correct it.

PYer (4010)

Maybe. What would you be looking for? @mollthecoder

PYer (4010)

Have you looked at the original version? @mollthecoder

mollthecoder (37)

@PYer I am having problems differentiating your posts between the two things I posted.

PYer (4010)

Okay. Want to invite me to the repl? @mollthecoder

FrancisPan (31)

[[".",".",".",".",".","f",".",".",".",".","w"],["d",".",".",".","p","p","p",".",".",".","."],["c","-",".",".","p","w","p",".",".",".","t"],[".",".",".",".","i","p","p",".",".",".","."],["s",".",".",".",".","e",".",".",".",".","."]]
I call it temple
note: the wall in the center is supposed to be a statue

WILLIAMBAEWER (114)

@PYer dont know if your taking ideas, but I have one;
ice🧊: when the cart goes over it, it can no longer change its direction until its of the ice.

PYer (4010)

Good idea. I'm not planning on adding more, but this is a good one. If I ever do, I'll be sure to create it. I think lots of people are making their own modded versions, so somebody else might take this. @WILLIAMBAEWER

WILLIAMBAEWER (114)

I made a maze


[["t","v","=","=","=","w","=","=","=","=","w"],["w","w","w","w","=","=","w","=","w","=","w"],["=","=","=","w","w","c","w","t","w","=","w"],["=","w","=","=","=","=","w","w","=","=","="],["=","t","w","=","w","=","=","=","=","w","k"]]

(dont worry, theres no energy drinks :) (no cheating))

FrancisPan (31)

[["t","k","=","p","p","f",".",".",".","w","p"],["w","w","w","w","w",".",".",".","w","p","g"],["c","d",".",".",".",".",".","v","p","g","t"],["e",".",".",".",".",".",".",".","w","p","g"],["-","s",".",".",".",".",".",".",".","w","i"]]
I call it the pyramid of people

mollthecoder (37)


[["p","g","f","p",".","k",".","=",".",".","."],["w","w","w","p",".","k",".","=",".",".","w"],["c","d","d","=",".","k",".","=",".","v","t"],["w","w","w","p",".","k",".","=",".",".","w"],["p","g","f","p",".","k",".","=",".","w","e"]]

WILLIAMBAEWER (114)

I call this one: happy fun time


[["d",".",".",".","w",".",".",".",".",".","w"],["v","w","w",".",".",".","g","w","w",".","."],["c","d","d","w","k","w","w","w","-","w","t"],["v","w","d","d","w",".",".",".","v",".","."],["p","t","w","~",".",".","w",".",".",".","w"]]

[deleted]

[["w","p","p","p","p","p","~","p","g","p","p"],
["w","p","p","p","p","p","=","p","g","v","v"],
["c","d","p","f","~","p","~","p","=","v","t"],
["=","w","p","~","~","p","=","p","d","v","v"],
["k","~","~","~","e","p","~","p","d","d","d"]]

[deleted]

I'm very sorry @PYer , I want to change mine, could you replace it with this one?
[["w","g","g","g","f","f","g","g","g","=","v"],["w","g","g","g","p","g","v","g","g","v","t"],["c","d","x","f","~","g","=","g","g","v","v"],["=","w","~","~","w","~","=","w","w","w","="],["k","d","=","e","s","=","d","d","=","=","i"]]

FrancisPan (31)

[["-","i","w",".","w",".","w",".","w",".","g"],[".",".",".",".",".",".",".",".","w",".","v"],["c","s","w","k","w",".","w","f","=","v","t"],[".",".",".",".",".",".",".",".","=",".","v"],["e",".","w",".","w",".","w",".","=",".","g"]]
thats my code @Pyer