Optygate
Gaming2026 - OngoingFeatured

Gate Militia

Gate Militia is a one-thumb arcade crowd runner where every gate can grow, multiply, or shrink the player's squad. Players lead their army through 100 campaign levels across 10 worlds, fight bosses, upgrade soldiers and weapons, and use battlefield abilities. Endless Survival adds escalating waves and competitive leaderboards, while Daily Operations offer a three-sector daily contract with Commander Orders and weekly goals. Offline play, patrol income, missions, achievements, and unlockable skins support progression between runs. Developed and published by Optygate for Android, with Phaser gameplay delivered through Capacitor and native platform integrations.

Gate Militia

The Challenge

Building the entire game in Phaser and JavaScript meant bridging a browser-based game framework with native Android capabilities. Ads, purchases, Play Games, haptics, notifications, and Firebase each had different initialization, lifecycle, and callback requirements. Existing plugins did not cover every requirement, so the project needed custom native plugins and JavaScript wrappers that worked together reliably. Offline play added another challenge: keeping gameplay and progression available without a connection while protecting saves and paid entitlements, reconciling cloud progress, and validating purchases and competitive actions when connectivity returned.

Our Solution

Optygate built the full game in Phaser and packaged it for Android with Capacitor. Alongside third-party integrations, we developed Java plugins for Play Games, billing, haptics, ads, and backend security, with JavaScript service wrappers to manage native callbacks, timeouts, and app lifecycle changes. Offline startup avoids waiting indefinitely for online services. SaveGuard signs local progression and applies stricter checks to paid entitlements, while cloud merge rules and backend validation handle synchronization, purchases, and competitive features. Entity pooling and mobile rendering optimizations keep the JavaScript gameplay responsive as squads and combat grow.

The Results

100 Levels

Campaign

10 Worlds

Worlds

Campaign, Daily, Survival

Modes

Offline Play

Gameplay

Related Projects