Hi everyone,
I think this could be a bug, but my forum search didn't find anything so I thought I'd double check first.
I'm currently trying to set up a World Map. As auto-tiles have so few frames of animation in RMMV, I had to find a way around it for my water animation. To do so, I used a Fixed Parallax background (this means that it doesn't scroll with the map). I did this by adding an exclamation mark (!) to the start of my parallax background's file name, and it works perfectly.
Being a World Map, I also need the edges of the map to loop (like a real globe would work), so that the player doesn't run up against the edge of the screen. To achieve this, I used the Scroll Type map setting and set it to Loop Both. This does work very well - the map loops correctly when I cross over the edge of the screen. However, RMMV must get its wires crossed, as this setting also makes my Parallax background start scrolling with the player's movement - which naturally doesn't look right at all.
So in short, the Scroll Type setting makes a Fixed Parallax background scroll, overriding the exclamation mark setting described above. Is this a bug? Or is there a way around this? If it's the former, I'll report it on the Improvements board, however I'd love to know if anyone has any ideas.
Thanks for reading!
Yep =) If I turn Scroll Type to None, the Parallax background doesn't move. If I turn Scroll Type to anything else, it moves.
Very strange. I doubt it would be it, but the parallax is sized correctly for the map size? Width = map width x 48, Height = map height x 48?
If that's okay, it shouldn't be too difficult to track down. Could you please provide a screenshot of your map properties window just to confirm all the settings?
Thanks for the explanation! Well, unfortunately, if I make the Parallax Background the same size as the map, the game spends around a minute loading and then crashes. So that option's out. Sounds like I need a plugin then...Although I really should say - the background is tiled flawlessly when Scroll Type is disabled. I can't see why there would be any visual discrepancies if the map looping was enabled on a fixed parallax background. But given the way it overrides the exclamation mark in this situation, obviously RMMV just doesn't allow that.
When I first started working on the looping, I tried doing it the same way I did in RMXP (once the player crosses a certain threshold, they're instantly transferred to the other side of the map without them knowing it). Sadly, in RMMV, if you transition without a fade effect, the game stutters and jerks around, so that doesn't work either.
Argh, I've only been back working on RMMV for a couple of days now (still been on RMXP for the past several months) and it's already driving me insane with limitations XD
If anyone has any other suggestions, I'd sincerely appreciate it. Regardless, thank you Ugouka, Shaz, and Andar for your help =)
how big is that map? Both in pixels (parallax picture pixel size) and tiles (map properties)
Loading a parallax should not crash the game unless the computers cache or memory gets overloaded, and that would require a really big map - bigger than should be possible unless you're working on a computer with very low RAM.
But it can cause crashes if you're using an incompatible combination of plugins or such that is affected by map/parallax changes
The map is 256x206 (so 12288x9888). I agree, I was very surprised that it had that effect - and it happened every single time I tried to load it. My PC isn't amazing, but it's certainly passable (4GB of RAM).
I don't believe it's a plugin related crash, because it only happens when I use a Parallax Background that is the full size of my World Map (12288x9888) - my 48x48 background that I described works happily under the exact same conditions.
*EDIT* - Actually, hang on. I just did a test with a small map (24x20 tiles). I made up a Parallax Background that was the exact same size as the map, gave the filename an exclamation mark at the front, and set the map's Scroll Type to Loop Both. It caused the exact same problem as on the World Map - the background scrolled with the player, rather than staying in place like it should. When I changed Scroll Type to None, however, the background stayed fixed in place.
My understanding from one of Andar's posts above is that the issue I described was caused by my background being smaller than my map. However, based on this test, that obviously cannot be the issue. Hmm...
I'm afraid I still haven't managed to get to the bottom of this. I was going to select one of Andar's earlier posts as the answer to this topic, however, as you can see in my *EDIT* above, things don't seem to be quite that simple. If anyone has any ideas, they're greatly appreciated =)
Does this happen when you use one of the default Parallaxes? Or just your custom one?
Good idea! Hadn't thought to check that. ...But yep, it's exactly the same with the default Parallax Backgrounds (assuming I put an exclamation mark in front of the file name to make it fixed, of course - like my custom one). Thanks for the suggestion, though!
*Bump* Given my more recent tests (see the *EDIT* above), I'm still trying to determine whether or not this is something I can get around or if it's actually a bug in RMMV. Any help in determining this would be greatly appreciated! =)
I'm sorry to keep *bumping* this topic, but this is something I'd really like to get sorted out. Essentially, I'm just trying to determine whether or not this is a bug in RPG Maker MV. If it is, then I'll post it on the RPG Maker MV Improvement Boards; but I want to be sure. Thanks in advance!
*Bump* and a new idea - can someone else please try the process described above in my posts and see if they get the same results? If someone else does get the same result (i.e. a parallax background wtih ! in front of its filename scrolling when a Map Scroll Type setting is selected), then I'll post about this in the RPG Maker MV Improvement Boards - as it's most likely a bug. Thanks a lot! =)
Okay, one last *bump* before I post on the RPG Maker MV Improvement Board - just in case =) To recap everything above:
I'm currently trying to set up a World Map. As auto-tiles have so few frames of animation in RMMV, I had to find a way around it for my water animation. To do so, I used a Fixed Parallax background (this means that it doesn't scroll with the map). I did this by adding an exclamation mark (!) to the start of my parallax background's file name, and it works perfectly.
Being a World Map, I also need the edges of the map to loop (like a real globe would work), so that the player doesn't run up against the edge of the screen. To achieve this, I used the Scroll Type map setting and set it to Loop Both. This does work very well - the map loops correctly when I cross over the edge of the screen. However, RMMV must get its wires crossed, as this setting also makes my Parallax background start scrolling with the player's movement - which naturally doesn't look right at all.
So in short, the Scroll Type setting makes a Fixed Parallax background scroll, overriding the exclamation mark setting described above.
Ugouka suggested that I might have accidentally ticked the Loop Horizontally/Vertically boxes under Parallax Background in the Map settings, however I can confirm that they are unchecked.
Andar then claimed the problem had to do with my approach, as I am using a 48x48 (1 tile, in other words) sized Parallax Background to fill a 256x206 tile map. So the Parallax is not the same size as the map. At first I thought he was correct about this, however I then tested out small map (24x20 tiles). I made up a Parallax Background that was the exact same size as that map, gave the filename an exclamation mark at the front (like before), and set the map's Scroll Type to Loop Both. And it caused the exact same problem as on the World Map - the background scrolled with the player, rather than staying in place like it should. The issue was identical regardless of the fact that my Parallax Background was the same size as the map.
As such, I am left to conclude that this must be a bug. If anyone has any ideas before I post this on the Improvement Board, they're always appreciated. Regardless, thank you very much for your time!
I have a question. Do you know how to change dircection of this "loop verically"?
Becouse for the start parralax background going from the top to down. How to change direction on down to top? Im makeing raceing mini game and street should go from the down to top.