
Unified Logic - Movements
A downloadable mod
Buy Now$7.00 USD or more
ULM (Unified Logic — Movements) is an MZ plugin that unifies player input handling, A* pathfinding (with diagonal movement and wall‑sliding), runtime path overlay visualization, event pathing AI, and basic gamepad connection handling. Designed to integrate under a single Unified namespace (Unified.Pathfinding, Unified.Gamepad) and intended to sit below UnifiedSpriteSystem (USS)if using both in the plugin manager.
This is a stand alone plugin or works in unified connection with USS.
Key features
- Runtime input mode toggle (WASD ↔ Arrows) with a customizable toggle key.
- Smart A* pathfinding with diagonal moves and wall sliding.
- Nearest-reachable fallback if the target tile is blocked.
- Tile-based overlay visualization of the computed path (runtime toggle with
\). - Unified event pathfinding and chase behavior (near vs far logic).
- Basic gamepad connect/disconnect handling:
- Pauses the game loop and shows a disconnect message window on controller disconnect.
- Clears overlay and outstanding path queue on disconnect.
- Resumes if a controller reconnects or keyboard/mouse input is detected.
- Hides the mouse cursor while the controller is active and restores it on disconnect.
- All logic lives under the Unified namespace to reduce global collisions and other plugin stack issues.
How the pathfinding works
- When you set a destination (mouse click / touch), the player will compute an A* path to a nearest passable tile if the destination is blocked.
- The pathfinding allows diagonal moves and performs checks to ensure diagonal movement doesn't illegally squeeze through walls (it respects cardinal blocking unless wall‑sliding helper is present on the character).
- Overlay visualization is updated whenever the path is recalculated or consumed.
| Published | 1 day ago |
| Status | Released |
| Category | Game mod |
| Author | EchoWake |
| Tags | 2D, movement, pathfinding, rmmz, RPG Maker MZ |
Purchase
Buy Now$7.00 USD or more
In order to download this mod you must purchase it at or above the minimum price of $7 USD. You will get access to the following files:
Unified Logic Movement 1.4.js 22 kB
ULM - Read ME.txt 7 kB

Leave a comment
Log in with itch.io to leave a comment.