go-tiled icon indicating copy to clipboard operation
go-tiled copied to clipboard

Issue with embedded file paths

Open tslocum opened this issue 2 years ago • 0 comments

Hello, when go-tiled attempts to load a .tsx file referenced by a .tmx file, it will not use the required type of filepath slashes when using an embedded filesystem via WithFileSystem. This causes issues when running on Windows.

See the following commit for a workaround I found. I hope it assists with identifying a better fix.

https://github.com/tslocum/go-tiled/commit/2d2dec486bd90b8c2b88c37a81615cc0e0ac4728

tslocum avatar Jan 29 '22 04:01 tslocum