easy-dungeon-company / ddl

Dungeon Definition Language
0 stars 0 forks source link

Flippable parts #28

Closed mmjackson90 closed 5 years ago

mmjackson90 commented 5 years ago

Allows for the flipping of parts and components such that they can then be added into components 'flipped' and render correctly.

May also require a refactor of the way 'top-left' works, but we'll see.

mmjackson90 commented 5 years ago

Initial PR is just to get some tracking in place. This branch is still WIP.

mmjackson90 commented 5 years ago

As this is a purely artistic piece of functionality right now I've opted for 'flipping' turning 'top left' into 'bottom right' (if flipped both ways), so any further co-ordinates (done at component level) must take that into account.

mmjackson90 commented 5 years ago

Again, due to the purely artistic nature of this thing, 'flipping' means different things in different projections. See the iso/td output tests for 'double exact wall' to understand why.