MovingBlocks / DestinationSol

Official continuation of Destination Sol, the great fun little arcade space shooter from http://sourceforge.net/projects/destinationsol/ Modules live at https://github.com/DestinationSol/
Apache License 2.0
325 stars 122 forks source link

Maze Layout System #604

Closed IsaiahBlanks closed 2 years ago

IsaiahBlanks commented 2 years ago

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.

Cervator commented 2 years ago

Finalise and merge GSoC 2021

Cervator commented 2 years ago

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