Simple Character Collision
https://twitter.com/i/web/status/1893388042527781184https://twitter.com/i/web/status/1893710768010367264
Plugins
SimpleCharacterCollision.js Ver.1.0.0
MIT License
AWY_TransferEx.js Ver.1.0.0
MIT License
How to Use
SimpleCharacterCollision:
Please enter numbers as integers (0 or greater) separated by commas.
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.
this.setCollision(Down,Left,Right,Up); //Expand the collision.
this.setCollision(0,0,0,0); //Reset to default
this.setCollision(null); //Reset to default
Supports PluginCommonBase, OverpassTile, and NRP_OverpassTile.
If a conflict occurs, try changing the position of the plugin.
AWY_TransferEx:
Place a comment on the first line of the event contents and enter it in the following format:
<transferEx> //The location of the transfer changes depending on the event and the player's location.
<transferEx:exWidth,exHeight> //Extend the collision. The transfer location will change.
<transferEx:exWidth,exHeight,false> //Extends the collision, but leaves the transfer location unchanged.
exWidth: An integer greater than or equal to 0 that extends the collision to the right.
exHeight: An integer greater than or equal to 0 that extends the collision downwards.
By placing the above comment in the event, only one transfer event is required.
The location of the event command can be changed depending on the player's position.
本贴来自国际rpgmaker官方论坛作者:Awayamatana处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/simple-character-collision.175767/
页:
[1]