Describe the bug
Discovered a bug where if you have more than three layers on a .tmx file, the game will be very laggy, making it harder to play the game.
To Reproduce
Steps to reproduce the behavior:
- Create a .tmx file using Tiled Map Editor
- Set the map using
FXGL.setLevelFromMap
- Play the game
- Laggy behaviour
Expected behavior
Laggy gameplay when having more than three layers on the Tiled Map Editor.
Runtime info(please complete the following information):
- OS: Windows 11
- Version: 25+dev-SNAPSHOT
Additional context / possible fixes
Do not create more than three layers in Tiled Map Editor.