Game Development

The Game Developer's Guide to TikTok Mini Games: Unity, Cocos, and Monetization

Port your Unity or Cocos games to TikTok! A complete guide for game developers on building TikTok Mini Games, mastering In-App Ads (IAA), and leveraging social virality.

Author - Ronnie - Bigspy

Ronnie

February 6, 2026

Introduction

In our previous articles, we covered the general TikTok Minis framework and how to monetize utility apps with Beans. But for game developers, the platform offers a distinct, high-performance playground: TikTok Mini Games.

Unlike standard web apps, TikTok Mini Games are designed for immersive, high-frame-rate experiences. They support industry-standard game engines and offer a unique Hybrid Monetization Model that combines In-App Purchases (IAP) with high-CPM In-App Ads (IAA).

Whether you are an indie developer or a major studio, this guide explores how to tap into TikTok's massive gaming audience without the friction of app store downloads.

1. Engine Support: Unity & Cocos Creator

The biggest barrier to entry for new platforms is usually learning a new language. TikTok Mini Games eliminates this by supporting the world's most popular game engines.

  • No Code Reconstruction: If you have an existing HTML5 game built in Cocos Creator or Unity, you don't need to rewrite it from scratch.
  • Seamless Porting: The framework allows you to export your game to the web and wrap it with the TikTok Minis Adapter, preserving your game logic and assets.
  • Native Capabilities: Access device features like vibration, accelerometer, and network status directly through the TTMinis.game API bridge, ensuring your web-based game feels native.

2. Hybrid Monetization: IAA & IAP

While standard Minis rely mostly on user payments (Beans), Mini Games unlock a powerful second revenue stream: Advertising. This creates a robust Hybrid Monetization Model.

In-App Ads (IAA): The Revenue Engine

For hyper-casual games, ads are often the primary income source. TikTok provides specific ad formats designed for gamer retention:

  • Rewarded Video Ads: The gold standard for monetization. Players voluntarily watch a 15-30 second video to receive in-game rewards (e.g., "Watch to Revive" or "Double Coins"). Why it works: High eCPM and positive user sentiment.
  • Interstitial Ads: Full-screen ads that appear naturally between game levels or during pauses.

Technical Implementation (IAA):

// Create a rewarded video ad instance
const rewardedAd = TTMinis.game.createRewardedVideoAd({
  adUnitId: 'YOUR_AD_UNIT_ID'
});

// Show the ad and handle the reward
rewardedAd.show().catch(err => {
    rewardedAd.load().then(() => rewardedAd.show());
});

rewardedAd.onClose(res => {
    if (res && res.isEnded) {
        // User watched the full video -> Grant Reward
        player.addCoins(100);
    } else {
        // User skipped -> No Reward
    }
});

In-App Purchases (IAP): The Economy of Beans

Just like in standard Minis, you can use TikTok Beans for purchasing virtual goods.

  • Use Cases: Buying "Gem Packs," exclusive skins, or removing ads.
  • Integration: The TTMinis.game.pay API handles the transaction flow, utilizing the user's existing TikTok balance.

3. Viral Growth: Social Gameplay

TikTok Mini Games aren't just about playing; they are about sharing. The framework includes powerful social APIs that leverage the TikTok social graph.

  • Direct Message (DM) Sharing: Users can share their high scores or game replays directly to a friend's DM with a "Play Now" button.
  • Group Challenges: Create multiplayer lobbies where users can invite friends from their TikTok contacts to compete in real-time.
  • Anchor Links: Influencers can embed your game link directly in their short videos. A user watching a gameplay video can tap the anchor and jump instantly into the game.

4. Development Workflow

Ready to build? Here is the roadmap:

  • Qualification: Unlike general apps, games often require an Industry Qualification Review in the Developer Portal to ensure content compliance.
  • Sandbox Testing: Set up a sandbox environment to test ad loads and payment flows without spending real money.
  • Submission: Upload your game package (zip file < 50MB recommended for fast loading).
  • Launch: Once approved, use TikTok's analytics dashboard to track retention, playtime, and revenue.
TikTok Mini Game Setup and Integration Workflow
Official Mini Game Setup and Integration Workflow

Conclusion

TikTok Mini Games represent a shift in how casual games are discovered and played. By combining the ease of HTML5 development with the power of Unity/Cocos and a robust Ad Network, developers have a unique opportunity to build the next viral hit.

If you are a game studio looking for new user acquisition channels, TikTok is the frontier.

Frequently Asked Questions about TikTok Mini Games

Can I use Unity to build TikTok Mini Games?

Yes, TikTok Mini Games fully support Unity. You can export your project to WebGL and wrap it with the TikTok Minis Adapter to access native device features and APIs.

How do I monetize my TikTok Mini Game?

You can use a hybrid model: In-App Ads (IAA) like Rewarded Videos for free users, and In-App Purchases (IAP) using TikTok Beans for premium items.

What is the file size limit for TikTok Mini Games?

The recommended package size is under 50MB to ensure fast loading times, which is critical for user retention in a feed-based app environment.

Popular Articles

Don't miss out on the most talked-about articles. Explore our popular posts and share your thoughts.

Spy on Competitor Ads with A Single Click!
Unlock a more powerful ad database than the Facebook Ad Library, and use search, filtering, sorting, and analysis to see more, go further, and stay ahead!
The Largest Ads Database. The NO.1 AD SPY & AD Finder & Ad Library Tool

For Business Cooperation:
TikTokTikTokTikTokTikTokTikTok
© Copyright BigSpy.com, 2016~2024. All rights reserved.