Hey
@bblizzard, long time no speak!
I'm trying to fix a problem, and I thought someone here might be able to help me.
For part of my next game, I've got this scene where I need the player to be able to drive endlessly, left-to-right, down a road in a city location. To achieve this, I've made a short stretch of road, and all my buildings (and eventually street furniture too) are events. The player only drives along a short stretch of road over and over again (which repeats infinitely).
Obviously, normally this would get old really fast, as the player would realise it's a short "rolling road". To help mitigate this, I've put together a system where I randomise all of the buildings, and in the final game, I'll randomise the ones that are offscreen, so it won't be quite so apparent that it's a short stretch of road.
However, I'm having a problem:
As you can see, when you cross the threshold where the map repeats, several of the buildings vanish/appear. I'm not quite sure why this is happening; I just know it isn't my stuff because if I disable all of the randomisation and just have single buildings as events (with no scripting), it still happens.
I'm still using v1.3.0 of your script, in case that helps to know - it's always worked perfectly for my needs, so I've never gone on to newer versions.
Any idea what's going on here, and whether it can be fixed?
EDIT: Incidentally, I just tried updating to the latest version, and it didn't fix the issue (though it's different - like, I see half the buildings render, then I cross threshold and see the other half). Is there a simple solution to this problem? I assume it stems from how the game renders events on looping maps.
Edit 2: tried using the looping maps tile value; doesn't seem to make any difference.
EDIT 3: Just to illustrate what I'm seeing:
When the player spawns, this is what you see if you zoom right out; the blob is the player's location and the lines are the edges of the map (which repeats)
Then, if you walk slightly to the right, this happens:
Is this just how it works? As it potentially means that some x-axis repeating maps simply may not work with the plugin; unless I've missed something really obvious. I've got it to work with other maps, but I've realised that's because the events are smaller in those maps, so while they do flicker, the effect is much less visible.
EDIT: Also, thought this might have to do with the zoom/Fov/Distance giving a lot of visibility, where in a closer view, this wouldn't happen. But even if you set the FoV to zero, it still happens, so it can't be that.
EDIT: Furthermore - I'm trying all sorts of values with the LOOP_MAPS_EXTEND_TILES value, and it doesn't seem to matter if you set it to zero or 1,000; the effect in-game seems identical. Is this value still hooked up to anything?