Skip to content

Creating more than three layers in Tiled Map Editor results to a laggy behaviour #1420

@Smoll05

Description

@Smoll05

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:

  1. Create a .tmx file using Tiled Map Editor
  2. Set the map using FXGL.setLevelFromMap
  3. Play the game
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions