Hi fellow devs! I’m MagicAlice, a solo indie developer.
I recently released my new WebAssembly game built from scratch with C++17 and raylib, but I’ve run into a bizarre iOS-specific technical wall, and I'm wondering if any of you have encountered this (or could test it out and share your thoughts)!
🧩 The Technical Challenge: iOS Standalone Mode Touch Offset
My game features on-screen virtual touch pads for mobile players. It works perfectly in standard desktop browsers, Android, iPad, and directly inside iPhone Safari.
However, when a user launches the game via "Add to Home Screen" (Standalone / PWA mode on iPhone), the touch hit-boxes for the bottom buttons shift out of alignment! It seems to be related to iOS viewport height transitions or coordinate system constraints when the Safari address bar disappears, but I haven't found a clean workaround yet in Raylib/Wasm.
Has anyone dealt with Raylib/Wasm canvas coordinate scaling issues specifically in iOS standalone mode? I'd love to hear your technical insights!
⛏️ About the Game: DIGDUG-3D (A 3D Tactical Digging FPS)
While I'm scratching my head over that iOS bug, I would also love to introduce the game itself and get your general developer feedback!
I reimagined that classic 80s underground digging arcade game as a 3D Tactical Digging & Puzzle Survival game. It’s not just an action remake—you have to predict enemy movements, carve your own 3D shortcuts through the geological strata, and solve spatial puzzles using time BOMBs and falling rocks to wipe out enemies from a distance!
✨ What makes it interesting (Dev perspective):
- Dual Perspectives: Dynamically switch between First-Person (FPS) and strategic Overhead (quarter-view) tactical modes to plan your puzzle routes.
- Motion-Sync Audio: Chiptune BGM and game time ONLY advance while you move! (A fun logical challenge to implement).
- Zero External Assets: 100% custom-built using C++17 & raylib, with procedural terrain, sound, and effect generation.
- Hardcore Survival: One life only. Get crushed by a rock, caught in your bomb blast, or touched by an enemy = Instant Game Over.
🌐 Play / Test It Here (Free & Instant in Browser):
https://magicalice.itch.io/digdug-3d
🙏 How you can help:
Whether you have a technical theory about the iOS touch offset bug, or you just want to playtest a tactical retro-homage and give feedback on the gameplay, pacing, and controls—I would be incredibly grateful for your input!
Let me know how the controls feel on your specific device/browser, and feel free to share your high scores! Thank you!
