Project Overview: An interactive advertising creative (Playable Ad) in the Idle RPG genre, inspired by the gameplay mechanics of Hero Wars and developed using Cocos Creator 3.8 and TypeScript.
The primary goal of the project was to master Cocos Creator as a Playable Ads development tool and create a visually engaging advertising creative with intuitive controls, expressive visual effects, and compliance with the technical requirements of mobile advertising networks.
My Role and Contribution: I independently handled the entire Playable Ad development cycle, from character design in Inkscape and skeletal animation in DragonBones to gameplay mechanics, project architecture, game design, UI/UX, visual and sound effects (Game Juice), advertising SDK integration, and final build optimization.
Key Technical and Creative Solutions:
Cocos Creator Development. Leveraged the engine’s component-based architecture to implement gameplay mechanics, character behavior, user interfaces, and game state management. Organized component interactions through dedicated controllers and managers, ensuring a clear separation of responsibilities between gameplay logic, UI, and the advertising SDK.
Gameplay Mechanics and Game Design. Developed a waypoint-based character movement system, combat mechanics, character power progression, and visual path highlighting. Adapted the gameplay for short advertising sessions and intuitive touch controls.
Character Design and Skeletal Animation. Created original character designs in Inkscape and produced a set of skeletal animations in DragonBones. Applied a modular approach to graphical asset organization and implemented dynamic character equipment replacement using skeletal animation features.
Game Juice Implementation. Paid particular attention to visual and audio feedback in response to player actions. Used Cocos Creator’s particle system to create character level-up and enemy death effects, the Tween System for UI microanimations, and sound effects for key gameplay events. These elements were designed to enhance emotional feedback and player engagement.
Playable Ad Lifecycle Management. Implemented a centralized game state management system, victory and defeat event handling, and a retry mechanism that allows players to restart without displaying the initial tutorial overlay again. Added safeguards against duplicate advertising session completion events and repeated user interactions during scene reloading.
Advertising Network Integration. Used Bingo Playable Ads Builder to package the advertising creative. Implemented a custom advertising SDK adapter based on the Adapter design pattern, decoupling advertising platform interactions from gameplay logic. Configured CTA (Call to Action) handling, advertising session completion events, and safe testing outside the advertising container.
Optimization and Self-Contained HTML Build. Optimized graphical and audio assets and configured the project to build into a single self-contained HTML file without external dependencies. Adapted the gameplay and user interfaces to support both portrait and landscape orientations on mobile devices.
Results:
Developed a complete Playable Ad using Cocos Creator, combining an original visual style, skeletal animations, accessible gameplay mechanics, and expressive Game Juice.
Key project achievements:
Reduced the final self-contained HTML bundle size to approximately 2.6 MB, well within AppLovin’s 5 MB file size limit.
Optimized the total size of sound effects to under 50 KB without significant loss of audio quality.
Successfully passed all automated checks in the Google HTML5 Validator.
Successfully tested the creative using AppLovin Playable Preview, including manual verification of CTA functionality.
Ensured gameplay and UI compatibility with both portrait and landscape screen orientations.
Implemented a modular architecture with a clear separation of gameplay logic, user interfaces, and advertising SDK integration, enabling reuse in future projects.
The result is a self-contained advertising creative that successfully passed technical validation on the target advertising platforms. The project allowed me to master the full Playable Ads development cycle using Cocos Creator, gain hands-on experience with mobile advertising network integration, and further develop my skills in creating engaging Game Juice.