[Quasi] Scroll Version 1.00 MV
by Quasi
What it does:
This plugin lets you scroll at different angles as well as scrolling directly towards a character.
Using Quasi Scroll:
SpoilerSpoiler
Diagonal Scrolls <Script Call>
$gameMap.startQuasiScroll(distanceX, distanceY, speed);
Set distanceX and distanceY to the value you want to scroll. ( These values are in grid terms )
Set speed to the scrolling speed. 1 - 6 same as from the Scroll Map Event command.
Scroll Towards Characters <Script Call>
Code:
- $gameMap.scrollTowards(ID, speed);
复制代码
Set ID to the ID of the event you want to scroll towards. If ID is set to 0, then it will scroll to the player.
Set speed to the scrolling speed. 1 - 6 same as from the Scroll Map Event command.
Using Quasi Scroll with frames:
SpoilerSpoiler
Using the scroll with a frame duration instead of speed can be helpful with timing / making cutscenes since the screen can scroll at any speed you want it.
Diagonal Scrolls <Script Call>
$gameMap.startQuasiScroll(distanceX, distanceY, duration, true);
Set distanceX and distanceY to the value you want to scroll. These values are in grid terms.
Set duration to the amount of frames this scroll will take
!IMPORTANT! Leave the last value as true! This sets it apart from the other .startQuasiScroll()!
Scroll Towards Characters <Script Call>
Code:
- $gameMap.scrollTowards(ID, duration, true);
复制代码
Set ID to the ID of the event you want to scroll towards. If ID is set to 0, then it will scroll to the player.
Set duration to the amount of frames this scroll will take
!IMPORTANT! Leave the last value as true! This sets it apart from the other .scrollTowards()!
Links:
Github
Terms of use
本贴来自国际rpgmaker官方论坛作者:Quxios处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/quasi-scroll.50441/