I have a huge map sprite (6160 x 3464) which seems to disappear when the character moves within certain areas (two corners on the same side). I'm guessing this has something to do with the sprite size but not sure what - maybe it's just too big? I'd appreciate any assistance with this issue :)
Map sprite disappears when player walks within certain areas?
- Edited
My guess is that the AABB is the issue. Likely Godot looses a corner of the tilemap in the camera view margin, which causes the image not to be drawn (though admittedly I am guessing that Godot uses something like AABB for 2D visibility). I would see if cutting the sprite down into multiple smaller sprites fixes the issue. It should also help performance a bit, as there will potentially be less overdraw since smaller sprite can be drawn rather than always drawing the big sprite and showing just a small section of it.
I cut the sprite into 4 separate sprites, smaller in size than my previous map which works fine, but unfortunately I still have this issue.
Ah, ignore my last message. It was my own script causing issues. It was hiding my map when the player was a certain distance from it's position. Just had to increase it.