Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maze Layout System #604

Merged
merged 3 commits into from
Sep 12, 2021
Merged

Maze Layout System #604

merged 3 commits into from
Sep 12, 2021

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

@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.

None yet

3 participants