PANOROMAS IN RMXP
Posts
Pages:
1
Is there any way to make the Panorama in RM XP completely static? By default, it scrolls ever so slightly automatically when you move.
The problem is, most of the panoramas I have do not tile seamlessly. I wanted to use the sunset one in the RTP, but the level I am making is too large, and the panorama is simply not made to loop around.
Alternatively, I'll just have to find an an appropriate panorama that DOES loop well. RM2K's sunset panorama would probably work, but it's kind of lame by comparison.
If there's any fancy magical RGSS script to work around this, I'd be grateful.
The problem is, most of the panoramas I have do not tile seamlessly. I wanted to use the sunset one in the RTP, but the level I am making is too large, and the panorama is simply not made to loop around.
Alternatively, I'll just have to find an an appropriate panorama that DOES loop well. RM2K's sunset panorama would probably work, but it's kind of lame by comparison.
If there's any fancy magical RGSS script to work around this, I'd be grateful.
Suggestion that I am not sure would work: You could increase the length of the panorama astronomically so that it does not pan at all. i.e. add a bunch of ocean or whatever is on the sides of the sunset.
This is more a vertical problem that horizontal. The panorama moves to the left and right just fine, it's just that the top of the thing is gray, and the bottom is orange. This is an abrupt change to loop around to. (Also, having more than one cloud line would be kind of odd.)
This code in Spriteset_Map is what controls the panorama scroll:
If you don't want panoramas to scroll at all, change both of those to = 0.
# Update panorama plane
@panorama.ox = $game_map.display_x / 8
@panorama.oy = $game_map.display_y / 8
If you don't want panoramas to scroll at all, change both of those to = 0.
author=DFalcon link=topic=91.msg1332#msg1332 date=1183242443
This code in Spriteset_Map is what controls the panorama scroll:# Update panorama plane
@panorama.ox = $game_map.display_x / 8
@panorama.oy = $game_map.display_y / 8
If you don't want panoramas to scroll at all, change both of those to = 0.
i.e. @panorama.ox = 0 and @panorama.oy = 0
Don't divide by zero.
Many thanks! It works. Wonderful!
If I should need to switch back mid-game (which I doubt, since I prefer this set up coupled with the Panorama scrolling script at phylomortis.com) would there be a way to reference that in an event script, or is that a mountain of work?
If I should need to switch back mid-game (which I doubt, since I prefer this set up coupled with the Panorama scrolling script at phylomortis.com) would there be a way to reference that in an event script, or is that a mountain of work?
Your best bet is to set it up so you can switch between behaviors just by changing a global variable.
Pages:
1

















