An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Simple Character Collision - SimpleCharacterCollision.js

Plugin desc : Extends the collision detection of characters.

License : MIT License

Author : あわやまたな (Awaya_Matana)

Website : https://awaya3ji.seesaa.net/

Desc page : https://awaya3ji.seesaa.net/article/510652222.html

File name : SimpleCharacterCollision.js

Help of plugin :

* @target MZ
* @orderAfter PluginCommonBase
* @orderAfter OverpassTile
* @orderAfter NRP_OverpassTile
* @plugindesc Extends the collision detection of characters.
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/510652222.html
* @help Ver.1.0.0
* Please enter numbers as integers (0 or greater) separated by commas.
*
* [Comment]
* Place a comment on the first line of the event contents and enter it in the following format:
* <collision:Down,Left,Right,Up>  //Expand the collision.
*
* [Script (Movement Command)]
* this.setCollision(Down,Left,Right,Up); //Expand the collision.
* this.setCollision(0,0,0,0); //Reset to default
* this.setCollision(null); //Reset to default
*
* [Specification]
* Supports PluginCommonBase, OverpassTile, and NRP_OverpassTile.
* If a conflict occurs, try changing the position of the plugin.
*
* @param extendMovement
* @text Extend Movement
* @desc Makes the character that has expanded the collision movable.
* @type boolean
* @default true
*
* @command setCollision
* @text Set Collision
* @desc Set collision.
*
* @arg characterId
* @text Character ID
* @desc Player:-1 This Event;0
* @default -1
*
* @arg collision
* @text Collision
* @desc Down,Left,Right,Up
* @default 0,0,0,0
*

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.