Here is the evolution of the plugins i created for a game i am making.
I found alot of plugins do not support Premium sprites like Low's which i bought. So i decided to make some that do. Thanks.
I found alot of plugins do not support Premium sprites like Low's which i bought. So i decided to make some that do. Thanks.
Plugin 1 – Unified Logic: Sprite Shadows (ULSS)
- Adds dynamic silhouette shadows under all characters (player, followers, NPCs).
- Auto‑detects sprite format (RTP, LOW, RTPX, Premium12x8) and scales shadows accordingly.
- Supports opt‑out tags (<noshadow>) for events.
- Includes LOD (Level of Detail): creates shadows only when on‑screen, destroys them after a timeout off‑screen.
- Smooth lerp transitions so shadows glide naturally when direction changes.
- Roof clearance: raises shadows slightly to avoid clipping into tiles like roofs.
Plugin 2 – UnifiedSpriteSystem (USS)
- Core movement engine rewrite with pixel‑tweened motion and easing curves.
- Diagonal wall‑hugging fallback: slides along walls instead of getting stuck.
- Diagonal speed normalization: prevents diagonal movement from being faster.
- RTP “moonwalk” facing: keeps cardinal facing while moving diagonally.
- Follower polish:
- Animation cadence offsets (followers animate slightly out of sync).
- Smooth chase logic when far behind.
- Extended sheet detection: recognizes RTP, LOW, RTPX, Premium formats automatically.
- Adds WASD or Arrow key input modes (toggleable at runtime with a hotkey).
- Integrates smart Apathfinding* for mouse/touch clicks:
- Supports diagonals.
- Includes wall‑sliding logic.
- Finds nearest passable tile if the clicked tile is blocked.
Clears stale paths on map transfer or when reaching the destination.