Isekai Mugen Soul Online Isekai Mugen Soul Online

Isekai Mugen Soul Online Devlog #4: Persistent Accounts, Bestiary Dungeon Mobs & Anime Gateway

Deploying isolated zero-overhead persistence with password hashing, multi-character selection, 3D animated Bestiary monsters (Puglins and Imps), directional PCF shadows, cross-platform 20-slot inventory, and procedural Web Audio.

Isekai Mugen Soul Online Devlog #4: Persistent Accounts, Bestiary Dungeon Mobs & Anime Gateway

Welcome to Devlog #4 of Isekai Mugen Soul - Online (็•ฐไธ–็•Œ็„ก้™ใ‚ฝใ‚ฆใƒซใ‚บ)!

Milestone 3 has officially crossed several major development hurdles. Over the past 48 hours, we transformed the game from a single-session prototype into a persistent, cross-platform 3D MMORPG complete with authenticated player accounts, character class selection, animated dungeon bestiary monsters, directional PCF shadows, and a complete 20-slot inventory system.

Here is a comprehensive look under the hood at everything engineered in this release.


๐Ÿ›ก๏ธ 1. Isolated Zero-Overhead Persistence & Account Gateway

Isekai Mugen Soul Online โ€” 2D Anime Gateway Visual The new 2D Anime Gateway visual: floating fantasy sky islands, crystal spires, and the endless clouds of Aeran.

One of our strictest architectural constraints is resource isolation. The game droplet shares infrastructure with mission-critical automated services (such as n8n workflows and Caddy reverse proxies). Spinning up an external heavyweight database container like PostgreSQL or MongoDB would have risked RAM pressure and service contention.

Instead, we architected a zero-overhead, asynchronous atomic persistence engine:

  • Scrypt Cryptographic Hashing: Accounts are secured using Node.js crypto.scryptSync with unique 16-byte cryptographically random salts, protecting player passwords against rainbow tables.
  • Atomic Two-Phase Flush: Server state writes through atomic .tmp swap operations (writeFileSync followed by synchronous renameSync), preventing file corruption even during unexpected host termination.
  • Roster & Class System: Each account can create and manage multiple characters across three starting classes:
    • โš”๏ธ Warrior: High HP (180), Heavy Blade, front-line tanking.
    • ๐Ÿ”ฎ Mage: High MP (90), ranged elemental Firebolt caster.
    • ๐Ÿน Ranger: Agile, swift, high dexterity scout.
  • Delayed 3D Scene Initialization: The 3D WebGL render loop, canvas, and sound subsystems remain paused until a traveler successfully authenticates and enters the world, ensuring instant load times and clean login UX.

๐Ÿ‘น 2. Quaternius Bestiary: Puglins & Dungeon Imps

Isekai Mugen Soul Online โ€” 3D Character & Combat Entering Aeran with sword drawn to face the wild Bestiary denizens.

Placeholder geometric slimes have officially stepped aside for real Quaternius Bestiary 3D monsters:

  1. Puglin Scouts (Level 2, 55 HP, Melee Club): Pack-hunting goblins that charge players in melee range.
  2. Dungeon Imps (Level 3, 80 HP, Flying / Floating Demon): Agile demonic creatures with hovering wings and deceptive movement.

Bone Retargeting & Animation State Sync

To bring these creatures to life without bloating client asset weight, we retargeted our Universal Animation Library (UAL) skeleton onto the Bestiary monsters:

  • Authoritative Behaviour Driving: Rather than relying on fragile client distance deltas (which caused jittery walking starts and stops), mob animations are now synchronized directly to authoritative server state (MobState.Chasing $\rightarrow$ Walk, MobState.Attacking $\rightarrow$ Attack, MobState.Idle $\rightarrow$ Idle).
  • Tactical Speed Calibration: Mob movement speeds have been halved (wanderSpeed: 0.8 m/s, chaseSpeed: 2.1 m/s), giving players tactical breathing room to kite, flank, and position themselves.
  • Archetype-Specific Leashing: Puglins pursue up to 14 meters, while Imps deaggro at 11 meters, rewarding smart pulling and spatial awareness.
  • Dizzy Subjugation Indicator: When a monster's health drops below $\le 30%$ HP, it enters a weakened state, lying prone with a billboarded spinning dizzy star animation (๐Ÿ’ซ ๐ŸŒ€ ๐Ÿ’ซ), signaling travelers to press [E] and claim it as a companion.

โ˜€๏ธ 3. Directional PCF Shadows & Retina Fill-Rate Optimization

Isekai Mugen Soul Online โ€” Atmosphere & Fog Atmospheric directional lighting and linear fog-of-war on the Aeran continent.

Previous versions relied on circular blob decals beneath characters, which looked disconnected and flat on uneven terrain.

We overhauled the visual pipeline:

  • $45^\circ$ Directional Sun Rig: Directional light positioned at Vector3(-0.35, -0.75, 0.35) casting realistic 3D shadows across the player, companions, buildings, and monsters.
  • Hardware PCF Filtering: Enabled FILTER_PCF with QUALITY_MEDIUM and soft shadow darkness ($0.65$), eliminating pixelated edge artifacts.
  • Linear Fog-of-War: Configured linear fog (fogStart: 25.0m, fogEnd: 42.0m, maxZ: 50.0m). This dramatically reduces the fragment fill-rate burden on M-series MacBooks and mobile GPUs while enhancing the high-fantasy atmospheric sense of distance.

๐ŸŽ’ 4. Cross-Platform 20-Slot Responsive Inventory

Isekai Mugen Soul Online โ€” Responsive 20-Slot Inventory The responsive inventory interface with category filtering, Penya wallet, and equipment slots.

A proper RPG demands an intuitive item and resource interface:

  • 20-Slot Grid Layout: Responsive modal supporting category filtering (All, Equipment, Consumables, Materials, Crops).
  • Dual Platform Controls:
    • PC / Mac: Tap [I] to open/close or [Esc] to dismiss.
    • Mobile Touch: Floating draggable backpack icon with haptic tap targets.
  • Live Penya Gold Economy: Displays real-time Penya currency alongside collected building materials (Wood, Stone, Seeds, Golden Wheat, and Field Potatoes).
  • Equip & Use Interactions: Instant item equipping with contextual tooltips showing attack power and stat bonuses.

๐ŸŽต 5. Procedural Web Audio Synthesis

To keep initial download sizes microscopic (under 4 MB total client payload), sound effects are synthesized entirely via the browser's native Web Audio API:

  • Punch Impact: Dual-frequency exponential pitch drop ($140\text{ Hz} \rightarrow 35\text{ Hz}$).
  • Blade Slash: Bandpass-filtered white noise burst paired with high metallic resonance ringing at $880\text{ Hz}$.
  • Firebolt Magic: Resonant whoosh envelope accompanied by a warm low-frequency roar.
  • Loot & Level-Up: Harmonic major triads (C5โ€“E5โ€“G5โ€“C6) creating uplifting arcade fanfares.

๐Ÿ”ฎ What's Next on the Roadmap

  1. Dungeon Imp Ranged Spell Attack: Equipping Dungeon Imps with ranged fireball/darkbolt projectiles so they attack from distance while Puglins engage in melee.
  2. Companion Feeding & Loyalty: Feeding harvested potatoes or baked bread to subjugated companions to restore vitality and unlock companion loyalty tiers.
  3. Traveling Merchant NPC: Aeran marketplace vendor allowing travelers to trade farm produce for Penya and purchase rare seeds and construction blueprints.

Jump into the world of Aeran today at isekai.garciamoonshine.com!