-
Notifications
You must be signed in to change notification settings - Fork 72
Troubleshooting
kobewi edited this page Jul 2, 2024
·
2 revisions
Sometimes it might happen that neighboring rooms, even though they appear properly aligned on map, don't align in-game and cause problems when going between rooms.
The issue is apparent when you look at adjacent room previews:

Such issues are caused when you use TileMaps and your in-game cell size is not divisible by tile size. E.g. if you cell size is 1920 x 1080 and your tile size is 64 x 64, your cell size in tiles will be 60 x 33.75, so the room contents may be not aligned vertically.
There are at least 2 ways to fix that:
- Adjust
in-game cell sizeto a value divisible by tile size. Your cell size does not need to match the screen size. - Move the TileMap. TileMaps are usually at
(0, 0), but technically there is no reason for that.
Choose what works best for you. The adjacent room previews are very helpful in resolving this issue.