Share your repls and programming experiences

← Back to all posts
Grocery Run - Level Maker
PYer

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.

Voters
PyCoder01
amelibaneza
Gbeave2
mkhoi
Favour0
nosepicker305
mollthecoder
KatieCoward
Orca20
SudhanshuMishra
Comments
hotnewtop
WILLIAMBAEWER

@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

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

gameprogammer

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

noway15

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

PYer

GroceryRun - Community Levels The level has been added. @noway15

noway15

@PYer yay

JWZ6

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

PYer

GroceryRun - Community Levels The level has been added. @JWZ6

JWZ6

@PYer YAY! THX

WILLIAMBAEWER

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"]]

PYer
WilliamXing

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

PYer

GroceryRun - Community Levels The level has been added. @WilliamXing

WILLIAMBAEWER


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

KaisersChannel

lolololol

KaisersChannel

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

wow nice! there's a level maker!

FrancisPan

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

JasonLiu19

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

WILLIAMBAEWER

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

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

PYer
G0RG3

thats fun

PYer

GroceryRun - Community Levels The level has been added. @YashasShah

mollthecoder

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

CodeMaster007

Wow, this is awesome! Thanks!

PYer

Glad you like it! @CodeMaster007

KaisersChannel

is this active?

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

KaisersChannel

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

[["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


[["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"]]

PYer
JasonLiu19

[["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

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

FrancisPan

[["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'

PYer

GroceryRun - Community Levels The level has been added. @FrancisPan

FrancisPan

@PYer

Thanks!

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

nosepicker305

[["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

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"]]

PYer

GroceryRun - Community Levels The level has been added. @elbury

FrancisPan

[[".",".","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"

PYer

GroceryRun - Community Levels The level has been added. @FrancisPan

FrancisPan

[["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'

PYer

GroceryRun - Community Levels The level has been added. @FrancisPan

mollthecoder

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

PYer
mollthecoder

@PYer You should make a game engine.

mollthecoder

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

PYer

Maybe. What would you be looking for? @mollthecoder

PYer

Have you looked at the original version? @mollthecoder

mollthecoder

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

PYer

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

mollthecoder

@PYer I invited you

PYer

I saw it:) @mollthecoder

FrancisPan

[[".",".",".",".",".","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

PYer

GroceryRun - Community Levels The level has been added. @FrancisPan

WILLIAMBAEWER

@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

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

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))

PYer
FrancisPan

[["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

PYer

GroceryRun - Community Levels The level has been added. @FrancisPan

mollthecoder


[["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"]]

PYer

GroceryRun - Community Levels The level has been added. @mollthecoder

WILLIAMBAEWER

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"]]

PYer
[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"]]

PYer

GroceryRun - Community Levels The level has been added. @BlackStarPY

[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"]]