Quantcast
Channel: RGSS3 Scripts (RMVX Ace) Latest Topics
Viewing all articles
Browse latest Browse all 416

Large Event Collision

$
0
0

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.


Viewing all articles
Browse latest Browse all 416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>