flame_tiled:TiledComponent does not render correctly or am I missing something? I have a vanilla simple map (tilesize 128x128) with two tile-layers, ground and objects. The tiles arent rendered at the correct positions. The one thing to note is that the tiles in the layer arent 128x128, however, Tiled renders it correctly.
Tiles incorrectly positioned on layer
Tiles should be rendered as they are in Tiled
https://zapp.run/edit/tilemaperror-z2q06pg2r06
[β] Flutter (Channel stable, 3.7.11, on Ubuntu 22.04.2 LTS 5.15.0-70-generic, locale en_US.UTF-8)
β’ Flutter version 3.7.11 on channel stable at /opt/flutter
β’ Upstream repository https://github.com/flutter/flutter.git
β’ Framework revision f72efea43c (10 days ago), 2023-04-11 11:57:21 -0700
β’ Engine revision 1a65d409c7
β’ Dart version 2.19.6
β’ DevTools version 2.20.1
[β] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
β’ Android SDK at /usr/lib/android-sdk
β’ Platform android-33, build-tools 30.0.3
β’ ANDROID_HOME = /usr/lib/android-sdk
β’ ANDROID_SDK_ROOT = /usr/lib/android-sdk
β’ Java binary at: /opt/android-studio-2022.2.1/android-studio/jbr/bin/java
β’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
β’ All Android licenses accepted.
[β] Chrome - develop for the web
β’ Chrome at google-chrome
[β] Linux toolchain - develop for Linux desktop
β’ Ubuntu clang version 14.0.0-1ubuntu1
β’ cmake version 3.22.1
β’ ninja version 1.10.1
β’ pkg-config version 0.29.2
[β] Android Studio (version 2022.2)
β’ Android Studio at /opt/android-studio-2022.2.1/android-studio
β’ Flutter plugin version 73.0.2
β’ Dart plugin version 222.4560
β’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[!] Android Studio
β’ Android Studio at /opt/android-studio
β’ Flutter plugin can be installed from:
π¨ https://plugins.jetbrains.com/plugin/9212-flutter
β’ Dart plugin can be installed from:
π¨ https://plugins.jetbrains.com/plugin/6351-dart
β Unable to find bundled Java version.
β’ Try updating or re-installing Android Studio.
[β] VS Code
β’ VS Code at /snap/code/current
β’ Flutter extension version 3.62.0
[β] Connected device (2 available)
β’ Linux (desktop) β’ linux β’ linux-x64 β’ Ubuntu 22.04.2 LTS 5.15.0-70-generic
β’ Chrome (web) β’ chrome β’ web-javascript β’ Google Chrome 112.0.5615.165
[β] HTTP Host Availability
β’ All required HTTP hosts are available
! Doctor found issues in 1 category.
flame version: 1.7.2
Platform version affected: Chrome
None
Side by side comparison of how the map is rendered in flame and tiled. You can see the tiles are offset and unaligned with the 128x128 tile map.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too