Skip to content

Conversation

@IsaiahBlanks
Copy link
Contributor

Description

This PR adds a system for users to add their own custom maze layouts. These are represented in JSON by 2D arrays, and in the game as areas where mazes tiles do or do not generate. Also in this PR, WorldBuilder is renamed to GalaxyBuilder.

Testing

Fly around until you find a smaller Maze. If you are lucky, it will by a SpiralMaze. You'll be able to tell by the spiral shape the maze forms (it is a bit too big to see at once, fly around the maze a bit to tell).

Outstanding Work

This one involves loading in JSON so I wasn't sure how to write unit tests for it, but that still need to be done.

@IsaiahBlanks IsaiahBlanks changed the title Gsoc2021 Maze Layout System Aug 20, 2021
Copy link
Contributor

@IsaacLic IsaacLic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! If someone can test it and confirm it works well, I'll merge it

@Cervator
Copy link
Member

Cervator commented Sep 3, 2021

Fixed issues with tests failing
@Cervator
Copy link
Member

I've tested this locally although my Android setup might be broken - I am pretty sure I saw a new maze and everything seemed to work. Even with a few outstanding comments I'm going to go ahead and merge this and make a follow-up issue :-)

@Cervator Cervator merged commit 175cfe5 into MovingBlocks:gsoc2021 Sep 12, 2021
@Cervator Cervator added this to the v2.1.0 milestone Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants