BoulderPush_MZ
Version 1.0
by TaylorJay007
Description
Pokemon-style boulder push (hold direction) enabled per-map-session via action-button consent prompt, with configurable SE + cooldown. Made this for my own game to make handling boulder puzzles easier and thought I'd share it so others can use it if they want too!
This creates a 'session' of pushing boulders around while you remain in the same map:
- Before session is enabled: bumping boulders does nothing.
- After session enabled: holding a direction into a boulder attempts to push 1 tile. Continuing to hold will continue to move (assuming a legal destination) with configurable cooldown time.
- Successful move => plays Push SE (configurable in parameters)
- Blocked move => plays Knock SE (configurable in parameters)
- Session Enabled resets every time you enter/return to a map (fresh instance).
- If SE name is blank, that SE will not play.
How to Use
1) Place the plugin in your project's js/plugins/ folder.
2) Inside RPG Maker MZ's editor, open the Plugin Manager.
3) Create a new entry and select this plugin from the list and select parameters (SE names, volume, etc).
4) Name boulder events starting with "Boulder" (case-insensitive), e.g. "Boulder_01".
5) Make boulder events Trigger = Action Button and Call Common Event "Boulder_Prompt".
6) In that common event, call:
* Yes: BoulderPush.setEnabled(true);
* No: BoulderPush.setEnabled(false);
Credits
TaylorJay007
Terms of Use
As long as I am credited, you may use this plugin in your projects both commercial and non-commercial.
Version History
1.0 - 01/04/26
本贴来自国际rpgmaker官方论坛作者:taylorjay007处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/pokemon-style-boulder-push-plugin.181777/