mirror of
https://github.com/jhaizhou-ops/d2r-mobile
synced 2026-11-26 13:57:52 +08:00
Over-the-shoulder and first-person camera (entertainment mode; Custom page > Camera view, off by default) - Perspective camera rebuilt from the original orthographic one, on Metal (iOS / Mac) and Vulkan (Android / HarmonyOS), shared math in xbg_cam.h - Over the shoulder: follows the move direction, pulls in and rises at walls, keeps the view within what the game draws - First person: the left stick walks and strafes relative to the view; the camera follows the ground height - Touch: drag the right half to look around (horizontal turns, vertical tilts); turn buttons and optional motion sensors on Android - Arrows on the screen edge for monsters off the picture, coloured by name tier (normal / champion / unique / act boss); the player's own summons left out - A facing pointer on the minimap and the full-screen map - Names, health bars and taps follow the perspective picture Co-Authored-By: Yuechuan Yang <22333122+yyan160@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>