GodotMapLoader icon indicating copy to clipboard operation
GodotMapLoader copied to clipboard

Multiple tiles should align edges

Open Toshiwoz opened this issue 7 years ago • 4 comments

Height of last column and row should align to the next tile, if present in the same scene.

Toshiwoz avatar May 16 '18 14:05 Toshiwoz

I finally solved this by suvdividing the mesh in 4 parts: Left-upper: the major part of the mesh Ritgh-side: is a single strip that redraws when next X tile is found under the same MapLoader node. Bottom-side: same as above but redrawn when next Y tile is found. Bottom right: it is a single square that is redrawn when next X,Y and XY are found... 😨... actually, I forgot to implement that!

Toshiwoz avatar Jul 13 '18 02:07 Toshiwoz

This is going to change as I am implementing a subdivision of 8x8 grid of surfaces that will also be used as LOD. This way I can start downloading the lowest zoom (i.e. 12), and then load smaller areas for higher zoom levels (like 4 tiles at zoom 13, or 16 at zoom 14 and finally 32 at zoom 15), but just where needed, and then again unload where not. So in practice I'd probably need only one tile with this subdivision, where the player is we'll have zoom 15, and the surrounding at zoom 14, then further away at zoom 13 and 12. Can't wait to finish this.. man.. I'm ralizing, I'm talking to myself, none's gonna read this.

Toshiwoz avatar Aug 29 '18 14:08 Toshiwoz

Hi, I realized that when arranging some tiles during the project execution, I can see they are not perfectly aligned to each other (please check the screenshots ^^). Thus, I wonder if it is a mistake of mine or if it can be fixed at this project level. Any suggestions? Thanks. Finally you weren't the only one writing here!

sc1

sc2

jean-dupond avatar Dec 14 '22 13:12 jean-dupond

Hello Jean, I remember working on that, but probably I never finished fixing that. I'm not sure if I can solve this, I've abandoned the project long ago, so I barely remember this. Anyhow, please let me know which version of Godot you're using, eventually I might look back at this project and fix this issue, in the end this is the most successful repo I have, I should care about it.

Toshiwoz avatar Dec 14 '22 14:12 Toshiwoz