Foldable Device Support — for Modern Combat 5 and Dungeon Hunter 5 Mobile Games

Deri Resdiana
Published

0
  • Project creator

Led the implementation of full foldable device support for Modern Combat 5, ensuring the game functions seamlessly across multiple posture states.
Folded Mode: Standard single-screen version of the game, optimized for normal mobile play.
Tabletop Mode:
● Detected hinge angle and system posture changes.
● Designed and implemented a new upper-screen UI layout for game
stats and information.
● Ensured gameplay remained stable on the upper screen during split posture.
Unfolded Mode:
● Transformed the experience into a dual-screen layout.
● Lower screen dedicated to map display and controller UI.
● Upper screen is focused entirely on gameplay visuals and HUD.
Adjusted rendering logic, UI scaling, touch input, and layout responsiveness to dynamically adapt to posture changes in real-time.
Solved various foldable-specifi c issues such as:
● Resolution changes when switching modes
● Aspect ratio adjustments
● Layout persistence when folding/unfolding
● Multi-window lifecycle handling on Android
Work featured at the Google Pixel 9 Fold Launch Event.