じ☆ve冰风 发表于 2026-7-23 17:44:37

Minecart Ride – Automatic minecart movement using Region ID

MINECART RIDE v1.0
by axgin96​


Hi everyone!
I’m axgin96 — not a professional developer, just a passionate RPG Maker user who enjoys building little tools to make development easier and more fun.
Minecart Ride (KartRide.js) is my first plugin for RPG Maker MZ, created to simplify minecart sequences and minigames.
Instead of writing movement commands manually, this plugin allows you to draw a track using Region IDs and lets the minecart move automatically between two points.


Features

[*]Define minecart routes using Region ID 7 tiles
[*]Automatic movement between two endpoints with a single event call
[*]Player switches to a vehicle graphic (index 6 in Vehicle.png) during the ride
[*]The minecart event is repositioned and rotated correctly at the destination
[*]Uses Self Switch A to hide/show the cart event
[*]Smooth, automatic pathing
[*]Works out of the box, no external plugins required

Screenshots
https://forums.rpgmakerweb.com/data/attachments/321/321086-70279cab8d62cb93e7b21a7d7f3d0ade.jpg
https://forums.rpgmakerweb.com/attachments/pco6z-png.342008/



How to Use

[*]Place KartRide.js in your project's js/plugins folder
[*]Enable it in the Plugin Manager
[*]On your map, draw a continuous track using Region ID 7
[*]Use the following script call in an event:

javascript
KartRide.toggle(eventId, , );


Example:


javascript
KartRide.toggle(3, , );


The cart will automatically move from point A to B, or B to A, depending on its current position.


Plugin Commands / Script Calls

KartRide.toggle(eventId, , );


[*]eventId: The event ID of the minecart. Only one cart event is needed; it disappears at departure and reappears at arrival.
[*]: Coordinates of the first endpoint
[*]: Coordinates of the second endpoint

Demo
A working demo is included in the Itch.io download.
It showcases the minecart in action, with map setup, events, and configuration ready to test.


Download

[*]Itch.io – Minecart Ride (with demo included)


Terms and Credits


[*]Allowed in adult-themed games
[*]Credit required: Axgin96
[*]Do not resell or redistribute the plugin as your own
[*]Feedback and suggestions are welcome through Itch.io



本贴来自国际rpgmaker官方论坛作者:Axgin96处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/minecart-ride-automatic-minecart-movement-using-region-id.178070/
页: [1]
查看完整版本: Minecart Ride – Automatic minecart movement using Region ID