How could I make a level editor that players could build on, then save for later? Maybe let them get a code to access it? so other players could play? I made a topic before, but it seemed to have been forgotten before I got an answer.
I should update this game again, though still better than what anyone else has made for it (no one has bothered, so default the best lol).
Works pretty well, I would just design the system slightly differently to allow the levels to be shared easier.
I’d do something like this (unrelated to the current system)
X&Y - that’s the grid size of the level
Ab - “A” is the block used, “b” is the number of times it’s used. (Takes up less space than writing out a number [1, 2, 3 . . . 9, 0, A, B . . . Z, a, b . . . x, y, z]. Just allows you to store 66 numbers in a single digit rather than 2, and if you going over is an issue you can always just add more values to the list.
That’ll look something like this
X&YA9BxY7. . . etc.
// First 3 digits are the size
// every pair of 2 after after the first 3 are the block and amount
Can also technically be made even shorter if you start trying to recognize common pairs of objects, like ground —> Air for platforms.
So something like A7d instead of A7Bd
It looks complicated, but what code isn’t? I’ll figure it out so it will work with my current code. Thanks @CodeAlpaca!
My only question, can others play this a user created level using an ID, or was the ID numbers used to save the objects to the level?