
How to Build a Mobile Survival Game in Unity
Start with the survival loop
Every survival game runs on one loop: gather, build, survive, repeat. Before you model a single zombie, prototype that loop with grey boxes. If scavenging for supplies and spending them on shelter is not satisfying with placeholder art, better art will not save it.
In Deserted: Zombie Survival, our open-world survival game, the loop is built around scarcity. Supplies are limited, so every trip outside the base is a decision about risk and reward.
Design for scarcity, then tune it
Scarcity is what makes survival games tense, but too much of it makes them frustrating. A few practical rules:
- Make every resource answer a question. Food answers "how long can I stay out?", ammunition answers "can I fight or should I run?", and building materials answer "how safe is my base?".
- Tune through playtesting, not guesswork. Keep spawn rates, loot tables and consumption rates in data assets such as ScriptableObjects so they can be adjusted without touching code.
- Give players a way to recover. A bad run should cost progress, not end the game.
We balanced Deserted through iterative playtesting, adjusting resource scarcity until players felt pressured but still in control. You can read more in the Deserted development case study.
Build systems that talk to each other
A survival game is a set of small systems that react to one another:
- Health and needs. Health and hunger that drain over time and respond to what the player eats and does.
- Inventory and crafting. Data-driven item definitions and recipes, so new items do not require new code.
- Base building. Placement rules for walls and defenses, with structures that can be damaged and repaired.
- Enemies. Different zombie types with distinct behaviors, so players have to read the threat instead of repeating one tactic.
- World simulation. A day and night cycle and weather that change visibility and danger.
Keep these systems decoupled. With an event-driven approach, systems publish events such as "item consumed" or "structure destroyed" and other systems subscribe to them. Each system stays testable on its own, and you can add features late in development without rewriting old ones.
Make it run on low-end phones
Open worlds are demanding, and mobile players use a huge range of hardware. Plan for performance from the first prototype:
- Profile on a real low-end Android device early, not just in the editor.
- Use level of detail (LOD) groups and occlusion culling for large environments.
- Reduce draw calls with static batching, GPU instancing and texture atlases.
- Pool enemies, projectiles and effects instead of instantiating and destroying them.
- Use compressed texture formats for each platform and keep a texture memory budget.
Controls and UI for small screens
Touch controls make or break a mobile action game. Keep the virtual joystick and action buttons within easy thumb reach, make hit areas generous, and let players adjust the layout. Inventory and crafting screens should be readable at a glance, with large icons and as few taps as possible between finding an item and using it.
Ship, then keep iterating
Survival games benefit from long-term updates: new zombie types, new areas and new items. Data-driven systems make that sustainable. A closed beta is one of the best ways to find balance problems before launch, which is why we are running one for Deserted. You can sign up for the Deserted: Zombie Survival closed beta.
Need help with your own mobile game?
Ryukh Interactive builds Unity games for Android and iOS, from prototype to store launch. Learn more about our mobile game development services or get in touch.