Discuss Scratch

colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor



https://scratch.mit.edu/projects/311198136/

All credit to @Triple-067 for this great project.

I've been playing around with it and heavily restructured it so it reads in the level data from a list and stamps the backgrounds, and that enabled me to create a fully working Level Editor which is built in to the project.



Hopefully this will enable people to more easily create their own levels.

This project has been pre-loaded with the original 20 levels from the game.

Press “E” to toggle the Level Editor. From the menu you can create a new level from scratch which can be exported and imported.

As each level's data is 560 characters long, don't try and paste levels in the comments of the project, but paste them here instead!

Last edited by colinmacc (Sept. 19, 2019 10:49:59)

G157
Scratcher
100+ posts

Puzzle Labyrinth Remix with Level Editor

That's pretty dope.
Triple-067
Scratcher
6 posts

Puzzle Labyrinth Remix with Level Editor

Here's a level from the new version of Puzzle Labyrinth I'm working on. It could come out in about a month or so… but not on Scratch.

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011A100000000000000000000111111A111000000000000000000100011A1010000000000000000001000000001000000000000000000101111000A00000000000000000011A1110011100000000000000000001111001110000000000000000000000100A1A00000000000000000111101001AA000000000000000001L11A110111100000000000000001111000000Z0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Last edited by Triple-067 (May 20, 2019 16:34:00)

colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

Nice! It's only when I tried to design a level that I realised just how clever your level designs are!

If not on Scratch, what are you creating it on? I'd be interested in seeing the finished product..

Glad you liked my remix anyway
Triple-067
Scratcher
6 posts

Puzzle Labyrinth Remix with Level Editor

Thank you!

The new project is being built in Game Maker. Even though this is my first time using game maker, I was very surprised by how easy it was to use. Making a full game is actually a lot easier with the basic but essential tools for game creation the software provides.

The new version has 5 altered levels, 5 replaced levels, and the 10 unaltered and removed levels from the original will probably be available as bonus content. Better textures, minor animation details, fewer bugs, smooth 60fps, faster movement, etc.

I'm planning on putting it on Steam for $1.99 USD in about a month or so.
colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

OK here's my level. It's called “The Fortress!”

011X11111111A00111111111A11011B22222222111A1122222222B111B222222222222222222222222B1A22000000000000000000000022A1220UNNQO0N1N1NN1Q00A11G02211220PONAP0PNQQQO1Q0A2AZA02211220NPPNQ0POO2NNQA01A1A202211220PO1OO0R21A1ON10A1A1A02211A2000I000000PP00G000I0002A101C111111O11111O11N1111102L00AC111111O1Y111O10O1111102101A2000E000000PP000000C0002A1122011A110122122210XI1CY022112201OPNA1122222210P111P02211220AN1N11121111210Q1A1Q0221122011111011A1A1A10WGMIV0221122000000000000000000000022A1B222222222222222222222222B111B2222222211A11122222222B11011A1111111A100111111111A110


It's probably not as hard as I think (!)
Triple-067
Scratcher
6 posts

Puzzle Labyrinth Remix with Level Editor

Great level! It took me a good long while to solve. The only problem is that there are too many boxes (34) in the level, causing tons of lag. The stages in the main version never use more than 10 boxes.

I'm actually likely going to archive every level code and version of the editor I can get my hands on and document everything for later use. Perhaps if enough different people have made a stage, I can have a top 10 compilation featuring the best ones!

Last edited by Triple-067 (May 21, 2019 12:56:44)

colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

Triple-067 wrote:

Great level! It took me a good long while to solve. The only problem is that there are too many boxes (34) in the level, causing tons of lag. The stages in the main version never use more than 10 boxes.

I'm actually likely going to archive every level code and version of the editor I can get my hands on and document everything for later use. Perhaps if enough different people have made a stage, I can have a top 10 compilation featuring the best ones!

Oh, it wasn't noticeably laggy for me, but I'll take note. Many of the boxes aren't required!

Triple-067
Scratcher
6 posts

Puzzle Labyrinth Remix with Level Editor

You got top tier internet
colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

Triple-067 wrote:

You got top tier internet

LOL not sure about that!

The most effective way to reduce lag is to get rid of most of the forever loops and use a tick-based broadcast system, I was trying not to change too much of your code but it looks like that's the way I'm heading…
colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

Hmm that was harder than I thought

I don't think it's improved much
Triple-067
Scratcher
6 posts

Puzzle Labyrinth Remix with Level Editor

I've always loved messing around with Scratch since I was 10 or so, but I've never really made anything “complete” until now. It started with the directional check system and the way it collided with the colors black and white, and the rest is pretty much accretion.

There were a couple of mechanics that got me stuck for a while, then I find the solution a couple of weeks later and implemented them. Many improvements were made to the engine over time, such as cloning boxes and gates rather than having individual sprites, using custom blocks to spawn in objects, a simpler button system, the like.

Heck, ice and lava used to be fully usable features in the game, but ended up being removed from the game due to a minor glitch with how ice works, and the lack of uses for lava without creating additional mechanics to support it (one of which being ice).

What I'm getting at here, is that the code isn't sophisticated or refined, and while many refinements were made over the course of development, It was all done without the knowledge of pre-established conventions or techniques. Please feel free to alter and improve the engine in any way you see fit.

Also, perhaps Scratch is running some kind of client on your computer that runs the project better than other clients.
colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

I think it's the color-detect blocks that are making it laggy. I read somewhere they are relatively slow, and as you say, with 34 boxes, that could be quite the overhead…
colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

“Gate Maze”

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ZIWCVEWZ00000000000000000000GXEYGXIV00000000000000000000YCVIWMYC00000000000000000000IWGLEVEX00000000000000000000XEYCXIWG00000000000000000000CVIWGYEV00000000000000000000ZGXEVCXZ00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000


It IS possible, because I just solved it (..but don't ask me to do it again)

EDIT: I just did it again…

Last edited by colinmacc (May 22, 2019 14:43:24)

Triple-067
Scratcher
6 posts

Puzzle Labyrinth Remix with Level Editor

Quite confounding!

By the way, for any updates you make to the program, I recommend keeping every version of the project and labeling which version it is in the title, description, or elsewhere. Saying this just in case.
Quentin765
Scratcher
11 posts

Puzzle Labyrinth Remix with Level Editor

I made a level, it is medium difficulty, but get the gold is very hard. I made some spots purposefully infuriating. Here is the level code:
I don't have a name for it yet.

00000001NNN1000000000000000000000001OO01000000000000000000000000NP010000000000000000000000111O0100QOO000QOOOOO00000000I00C0100QWAOOOONNNQP000000001NYMOX00NLNNNNQ200Q200000000G0WG0G000X0000Q100Q100000000100Q0G000Y000EQ10EQ100000000100E0Z0001000E110E1100000000100Y1Q00010000I100I10000000010000100010000VI00VI0000000011111100010000A100A1000K00000000000NN10000E100E1000200000000000I0Q00000G000G00ZXG111111111111100000100010001100000000000Q0000001000100000000000001AO100000010001000000000000010011VIIY110001000000000000010000Q000000001000000000000011111YIIV11111100
colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

Quentin765 wrote:

I made a level, it is medium difficulty, but get the gold is very hard. I made some spots purposefully infuriating. Here is the level code:
I don't have a name for it yet.

00000001NNN1000000000000000000000001OO01000000000000000000000000NP010000000000000000000000111O0100QOO000QOOOOO00000000I00C0100QWAOOOONNNQP000000001NYMOX00NLNNNNQ200Q200000000G0WG0G000X0000Q100Q100000000100Q0G000Y000EQ10EQ100000000100E0Z0001000E110E1100000000100Y1Q00010000I100I10000000010000100010000VI00VI0000000011111100010000A100A1000K00000000000NN10000E100E1000200000000000I0Q00000G000G00ZXG111111111111100000100010001100000000000Q0000001000100000000000001AO100000010001000000000000010011VIIY110001000000000000010000Q000000001000000000000011111YIIV11111100

I did it!! Took me a while to work it out though. Great level! Lots of clever twists. I got the gold too

Yeah @Triple-067 told me the gold box was kind of an afterthought, and it doesn't really make a lot of sense, but I included it in the level editor for completeness..
colinmacc
Scratcher
1000+ posts

Puzzle Labyrinth Remix with Level Editor

If you're interested in what is happening with this game, it's now on Steam, called “Box Labyrinth”. (I won't link it, but you can search it)

Powered by DjangoBB