Files
dc5778d352 Entertainment mode: over-the-shoulder and first-person camera (#165)
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>
2026-10-28 09:50:18 +08:00
..