じ☆ve冰风 发表于 2026-7-26 15:35:32

Batch Collision Detection

Batch Collision Detection : v - 2.0.0


Creator : Chaucer



Introduction :


    This plugin will allow you to check if the player or events are colliding with eachother, technically this could be done with eventing. The only difference is this can check 1 event vs multiple events, or multiple events vs multiple events, while saving you time.

Features:


[*]check collision of multiple events against other events, or the player or a single event.
[*]save time compared to purely eventing.



How to Use
    The instructions are inside the plugins help file, but here's the basics of it.


    To create a batch group of events to compare just add <batch_id:id>(id being a number value) to each event you want to be part of this groups note tag.


    Once you have a group, you call the following in a conditional branch (or wherever else you might want to call it) via script call, $gameMap.checkBatchCollision(a,), and that's it.
    Here's an example of it in use.

Spoilerdon't question the name, batty is sensitive about it T_T










Spoilerand in this event, we run it on parallel process and use a conditional branch to check the collision between player, and our batch. you can run anything you'd like inside the conditional branch









Script:
    Download link below.
Click Here.



Terms:


    Free for commercial and non-commercial use, just don't forget to credit.



本贴来自国际rpgmaker官方论坛作者:chaucer处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/batch-collision-detection.58568/
页: [1]
查看完整版本: Batch Collision Detection