Yinteger / Jiggy.io

GNU General Public License v3.0
1 stars 1 forks source link

Iso #42

Closed Yinteger closed 6 years ago

Yinteger commented 6 years ago

Updates to TwoDimensionRenderingEngine to support a Isometric rendering mode. This includes translating coordinates of Entities, doubling the width to create an angle, and doing depth sorting to try to render them in the proper order.

Lots of comments left in the PR since this Iso stuff still needs some work, but getting a PR done now so @breautek can start working with it. Right now there is a clipping issue if you move your character the top right edge of a block.

This PR also includes the new Coordinate class which encapsulated coordinate data and has useful methods to translate coordinate data, and increment/decrement coordinates.

This PR also includes some refactoring to the Rendering Engine classes to clean it up a bit and make it a bit more extensible.

This PR also includes the Isometric Test App .