Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Banedon421

1
Posts
1
Topics
A member registered Jul 30, 2025

Recent community posts

Hello, 

I played around with the library and the 'BetweenNeighbouringTiles' function (within 'EdgePositionProvider' class) is not working well with periodic maps. I tried it by changing the Example3 (switching it to periodic map) and it caused crashes because the function is not able to adequately return the edge between neighbouring tiles if they are in opposite sides of the map (one left and one right).

The solution I found: add the following line of code at the beginning of the function:

            if(coordinateWrapper!= null) tileB = coordinateWrapper.ShiftTargetToClosestPeriodicTilePosition(tileA,tileB);

Thanks for the library btw :-)