go-tiled
go-tiled copied to clipboard
Failed to open infinite map. Is it a bug or go-tiled will never support infinite map?
func TestLoadBigMapFromTiled(t *testing.T) {
tiledDirectory :=`xxxxxxxxxxxxxxxx`
bigMapUrl := tiledDirectory + `/BigMap.tmx`
// Parse .tmx file.
gameMap, err := tiled.LoadFile(bigMapUrl)
if err != nil {
panic(err)
}
fmt.Println(gameMap)
}
The error is "illegal base64 data at input byte 0".
And is go-tiled stop updating?
I am so confused, because I see the last update time of go-tiled is 2023/03, but the basic load .tmx file functionality is not support.
I have read the issue https://github.com/lafriks/go-tiled/issues/10.
And the date of issue is 2019, so what's happening?
Is there any trouble on parsing infinite map?
To be honest I have not had need and have not used infinite maps so it's hard to tell how hard it is but help on implementing it would be appreciated
I have add some code to go-tiled in my project, and have support infinite maps, but the problem is that it only support "Orthogonal Orientation", and perhaps it may not support some other mode of tiled, I don't know.
These day I am so busy, so maybe I will pull request after some days, maybe 2 week later.
I am so busy these days, and here is my code which support infinite map.
https://github.com/ankisme/go-tiled
The reason why I not send pull request, is that the code is not full test right now.