Diagonal Scroll

Last Updated: 2011.12.30
Download Link
Github Link

Diagonal scrolling was an old feature found in the older RPG Makers, but was taken out of RPG Maker VX and remains absent in RPG Maker VX Ace. As such, this script will reproduce the same scrolling effect that was found in the previous versions of RPG Maker.

scroll_lower_left(x)
scroll_lower_left(x, y)

scroll_lower_right(x)
scroll_lower_right(x, y)

scroll_upper_left(x)
scroll_upper_left(x, y)

scroll_upper_right(x)
scroll_upper_right(x, y)

This will scroll the screen x tiles diagonally in the marked direction. By default, the scrolling speed will be 4. If you wish to change the scrolling speed, use the script call method with y for a different speed value.

And that’s all, folks!

Advertisements

7 comments on “Diagonal Scroll

  1. So i tried editing the script to make it to where i can scroll, say, 20 up, but only like 5 right. I cant seem to get it to work, I tried adding another distance value(edited the current to be X and the new to be Y), too many arguments apparently, then tried to add the basic up down left right scroll commands and call two of them at once each with different values, and it scrolls one at a time(one way until done, then the other)

  2. Sorry for the Double post, but, just so you know, I edited the Game_Map to include an extra distance value(which seems to have worked) and attempted to add an @params[4] to the scroll command in Game_Interpreter, yet it still says “4 for 3 arguments”

  3. Appreciating the hard work you put into your blog and in depth information you provide. It’s great to come across a blog every once in a while that isn’t the same unwanted rehashed information. Wonderful read! I’ve saved your site and I’m adding your RSS feeds to my Google account.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s