Problem description:
As above, I have some 9x4 objects spread on a horizontal map but upon reaching a certain position(21x above) one of the objects vanishes only to reappear again at 24x. Is there any way I can stop this from happening?
ID:1593203
Jun 6 2014, 10:31 pm
|
|
They're all 288x128 graphics, so 9x4 32x32. I've set bound_width and bound_height to be the appropriate size and generally I'd like to avoid using bound_x and bound_y because they enforce pixel movement.
Strangely enough the problem doesn't seem to affect the first object in the row, only the ones after it. |
If I understand correctly the issue is the object is actually only 1 tile and that's the bottom left, so when you're out of view the entire thing vanishes. This is preventable with some setting that I can't for the life of me can not remember.
|
^ Yeah, I have the same issue.
You have to set the view to a certain setting to be able to see so far. The default is practically a radius of 5, meaning 5 tiles in each direction or so. Set the bounds as well as messing around with world/view, or client/view, whichever you prefer. I'm sure Ter will have an answer once he see's this. |
It's not an issue of view, there's a setting whether or not to render large icons if the source is in view, but I can't remember the setting. Let me look.
|
I played around with it a while ago, maybe before bounds stuff was added, but I can't find it.
|
In response to Jittai
|
|
Jittai wrote:
If I understand correctly the issue is the object is actually only 1 tile and that's the bottom left, so when you're out of view the entire thing vanishes. I thought that was the problem at first too, but then that brings up the question of why the image only disappears for 21x, 22x, and 23x. Moving to 24x causes the image to stay loaded regardless of what position I move to, from what I've seen so far. |
Have you tried setting the bound_width and bound_height equal to the x/y values, in pixels, of the images?
|
Try setting some bounds with bound_x and bound_y and see what occurs.
If this issue still arises, just comment here again for further help.