Made this for my own game. Sharing it with community for anyone who want to try it. It is free, compatible with MZ or MV, and programmed with A.I. assistance.
https://zimxero.itch.io/dash-stamina-plugin
ZX_DashStamina.js | v1.1.7 | Free | RPG Maker MZ / MV | by Zim Xero
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Adds a stamina pool and gauge for dashing. Speed boost scales with
remaining stamina for smooth, realistic running effect. Stamina drains
while dashing and recovers while walking or standing.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONFIGURABLE FEATURES:
---------------------
DASH ACTIVATION:
- Shift key (standard)
- Middle mouse button (on/off)
- Click-to-move dashing (on/off)
DEPLETION & REGENERATION
- Drain rate while dash-moving (per second)
- Walk recovery rate (per second)
- Stand recovery rate (per second)
- Base move speed
- Stamina max value
SWITCH & VARIABLE ASSIGNMENT
- Game switch: enables/disables the entire system per map or event
- Game variable: tracks current stamina value for use in events
GAUGE STYLE (Track)
- None, Recessed, Projection, Super-Projection, or Custom image
- Track opacity: 0–100
GAUGE SHAPE
- Rectangle (standard bar) or Arrow (pointed silhouette)
- Orientation: Vertical or Horizontal
- Fill direction: Tip-to-Base or Base-to-Tip
GAUGE POSITION & SIZE
- X and Y position in pixels (place it anywhere on the map screen)
- Width and Height in pixels
- Update interval in frames
COLOR GRADIENT
- 8 built-in presets: Default, Red→Blue, Fire, Ice, Grayscale,
Gold, Forest, Neon
- Custom: define up to 4 hex color stops, interpolated across all
20 segments (e.g. #FF0000 → #0000FF)
- Depleted segment opacity: 0–100 (0 = invisible, higher = ghost bar)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Free for personal and commercial use. No redistribution.
This plugin was created with AI programming assistance.
https://zimxero.itch.io/dash-stamina-plugin
本贴来自国际rpgmaker官方论坛作者:ZimXero处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/dash-stamina-plugin.183894/