I definitely see the wisdom in this script... and am fully happy with it, and will definitely credit you in my game for it...
Thank you!
For future versions, however... you should work on making it to where the transition from x1,y1 to x2,y2 has a period of frames, to give the appearance of actual movement, would look AWESOME in a FFX world map idea where you could have a viewport with events, and clicking on a certain event scrolls the panorama to point on the map with a brief outline of it, difficulty level, and asking you if you want to go there...
I love the script! thanks!
And as far as Dubleaux's script goes... it IS great for scrolling backgrounds at certain speeds, but this goes TO a point on a panorama and stops, which makes it perfect....
AND I might add, if someone wanted to go ahead and do the steps to the indivual spot, it DOES appear to move in ANY direction to that spot, where Dubleaux's only goes in 8 directions.
EDIT: Yeah, it works, even though it's a sharp transition without any actual scrolling by steps... I did this.
Created a 'world map' of about 2000 x 2000, and set that as the panorama of my 'map room'... then on an event switch (psuedo menu system) I placed a "action button" event that said...
@Change Map Settings:Panorama = 'world1',0
$game_map.move_panorama(500,200)
Text: Kanosar Mound
Show Choices: Go There?,Choose Again
: When [Go There]
$game_map.move_panorama(-500,-200)
Transfer Player yada yada
: When [Choose Again]
$game_map.move_panorama(0,0)
Expand to see the code.
Unfortunately, though, the only snag is that you DO have to reset the positioning for the new map, or be ready to do some real graphing on your map that you'd be using to understand the ins and outs of moving from point a to point b... for instance, in my map, my Kanosar Mound might be at 500,200, but my Fort Whateverthehell, might be at 185,300... and then, if you're going to a map with a different panorama, just make sure that you reset the panorama back to it's initial position (0,0) with whatever spline you need, in this case, (-185,-300) and open the scene.
Easily solved if you want to do transitions that way...
just have a variable be 5... for instance (the Kanosar) and that if the event you click is for Fort whatever, while you're at location 5. you'd just implement a (-315,100) transition, and back and forth you could go...
But really... work on the animation transition it might be REALLY perfect then...