I’m adding native mod support to my project. Part of this requires me to load tile textures from bundle resources then draw them onto a tilesource. The tilesource is already created in the editor. Can someone point me in the right direction for drawing directly to a tilesource?
I think you should be able to use the Modify Atlas example to also modify a tilesource since both an atlas and a tilesource will become a texturesetc file. Note the modify_atlas.a.texturesetc
in the example. For a tilesource it will instead be modify_atlas.t.texturesetc
. I don’t have time to test right now, but maybe you can give it a go and see if it works?
2 Likes