shapez.io icon indicating copy to clipboard operation
shapez.io copied to clipboard

Added test mode in editor and puzzle download

Open Sense101 opened this issue 4 years ago • 4 comments
trafficstars

This PR adds a test mode in the puzzle editor where you can test the puzzle you are making and restore the solution when you turn off the test mode.

This also adds an import and export button underneath the title where you can download and upload puzzles as .bin files.

It's a few very simple changes which should greatly improve the experience of creating puzzles.

And yes I know how to use scss now (I think)

Hopefully there are no bugs :)

Sense101 avatar Jul 07 '21 09:07 Sense101

So in a nutshell, this PR can be split into the following changes:

  • Added a test mode for the puzzle editor
  • Added the ability to download puzzles for testing purposes
  • Increased the gap between the two buttons while playing a puzzle

Sense101 avatar Jul 07 '21 11:07 Sense101

Will take a bit of time to review :D

tobspr avatar Aug 04 '21 10:08 tobspr

This is now up to date with 1.4.3 code and potentially ready to be merged.

Sense101 avatar Aug 29 '21 11:08 Sense101

Please note, the code is by no means final, just an overall structure of the addition proposed. I'm sure there are shorter ways of doing the same things, especially with the css.

Sense101 avatar Aug 29 '21 11:08 Sense101