Refactored isometric grid (#430)

* Move get_tile_mode_rect() method to the Project class

* Refactored isometric grid

Now it should be drawn properly in the target rect.
Settings (in pixels):
- cell's AABB size,
- offset from the canvas origin.
This commit is contained in:
kleonc 2021-01-18 21:59:26 +01:00 committed by GitHub
parent 9f8c9807e7
commit 9c520a65e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 192 additions and 85 deletions

View file

@ -807,10 +807,28 @@ msgstr ""
msgid "Sets how far apart are horizontal lines of the grid"
msgstr ""
msgid "Isometric cell size:"
msgid "Isometric cell bounds width:"
msgstr ""
msgid "Sets the size of the cells in an isometric grid"
msgid "Sets the width of the isometric cell's axis aligned bounding box"
msgstr ""
msgid "Isometric cell bounds height:"
msgstr ""
msgid "Sets the height of the isometric cell's axis aligned bounding box"
msgstr ""
msgid "Isometric grid offset x:"
msgstr ""
msgid "Sets isometric grid's x offset from the canvas origin (top left corner of the image)"
msgstr ""
msgid "Isometric grid offset y:"
msgstr ""
msgid "Sets isometric grid's y offset from the canvas origin (top left corner of the image)"
msgstr ""
msgid "Grid color:"