Project Overview: An interactive Playable Ad based on our original browser game Survive Until Dawn (formerly Burning Ghosts), developed using our custom HTML5 Game SDK, “Charlie,” built on Phaser 3.
To adapt the game for the Playable Ads format, I redesigned its core mechanics while preserving the original concept of surviving and escaping from ghosts. The keyboard-controlled platformer was transformed into a short, engaging experience with intuitive touch controls optimized for mobile devices.
My Role and Contributions: I independently handled the entire development process, from adapting the game design, creating graphics and animations, and implementing gameplay mechanics to developing UI, integrating advertising SDKs, and optimizing the final build for Google Ads and AppLovin.
Key Technical and Creative Decisions
Mobile-First Gameplay Adaptation. Replaced traditional platformer controls with intuitive one-finger touch interactions. This allowed me to preserve the core concept of the original game while making the gameplay accessible within a short advertising session.
Custom HTML5 Game SDK. Built the playable using “Charlie,” our custom game development toolkit based on Phaser 3. For this project, I deliberately chose Vanilla JavaScript over Vue 3 to minimize dependencies and reduce bundle size. I also adapted the project’s architecture to meet Playable Ads requirements, including game lifecycle management and standalone build generation.
Ad Network Integration. Integrated Google Ads and AppLovin using
@smoud/playable-sdk. Configured MRAID communication, CTA (Call to Action) handling, and conversion tracking. Implemented a fail-safe SDK initialization mechanism to prevent the game from freezing when the advertising container responds slowly.Game Engine Optimization. Analyzed the JavaScript bundle using
rollup-plugin-visualizerand identified unused Phaser subsystems. Switched to the lightweightphaser-arcade-physicsbuild, removing Matter.js and other unnecessary modules. This reduced the JavaScript bundle size by approximately 100 KB.Asset and Audio Optimization. Optimized audio assets for mobile devices by adjusting bitrate, sample rate, and channel configuration. Reduced the total audio size by over 900 KB without significantly compromising sound quality.
Standalone HTML Bundle. Configured a Vite build pipeline that embeds all game assets into a single HTML file using Base64 encoding and multi-stage HTML/JavaScript minification. Adapted the UI for both portrait and landscape orientations, preserving touch scrolling while hiding native scrollbars.
Results:
Developed a fully functional Playable Ad based on our original browser game, successfully adapting its mechanics for short gameplay sessions and one-finger touch controls.
Key technical achievements:
Reduced the final bundle size by 29%, from 3.47 MB to approximately 2.45 MB.
Reduced JavaScript size by approximately 100 KB through Phaser build optimization.
Reduced the total audio asset size by over 900 KB.
Integrated Google Ads and AppLovin SDKs, ensuring proper CTA functionality and ad exit tracking.
Successfully tested the playable using Google HTML5 Validator and AppLovin Playable Preview, including manual CTA verification.
Ensured responsive gameplay and UI across portrait and landscape orientations.
The result is a self-contained interactive ad that meets the technical requirements of the target advertising platforms. The project also demonstrated the capabilities of our custom HTML5 Game SDK for Playable Ads development and helped establish an efficient workflow for optimizing HTML5 game builds for mobile ad networks.