Large Event Collision
2016.07.15
by Shaz
Introduction
This script allows you to specify a single event that covers an area larger than a single tile, for the purposes of collision.
How to use
Add to your scripts folder in the Materials section.
Add a comment to the event page as follows:
<collide: a b> where
a indicates how many tiles the event should cover horizontally, and
b represents how many tiles the event should cover vertically. The event itself should be in the lower left corner of the collision region.
Examples:
<collide: 1 3> will allow the event to be triggered from its own tile, or the two tiles above it
<collide: 2 1> will allow the event to be triggered from its own tile or the tile to the right
<collide: 2 2> will allow the event to be triggered from its own tile, from the one to the right or the one above, or from the tile to the top-right
Script
Download from pastebin
Credit
Shaz
Terms
Free for use in commercial games
Note
This script only works for
stationary events - if you have an event that moves around and you want to increase the collision area, do not use this script as it does not cover requirements for moving events.
本贴来自国际rpgmaker官方论坛作者:Shaz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/large-event-collision.65368/