NicMagnier / PlaydateLDtkImporter

Load tilemaps created with LDtk in your playdate games
MIT License
101 stars 15 forks source link

add support for up and down neighbours #24

Closed jojomo96 closed 6 months ago

jojomo96 commented 10 months ago

The current version of the get_neighbours function does not support levels on top and on the bottom. In the LDtk JSON file, the directions are marked with < and >. So I altered the code for landing the level's neighbours.

NicMagnier commented 6 months ago

I will rename up and down to back and front because up and down can be misleading