Bring Your C3 Game to WeChat and TikTok Mini-Games! Get Started with Our Adaptation Guide

1 favourites
  • 6 posts
From the Asset Store
[C2] [C3] Support C3 build service and Android 14
  • Hello C3 Developers!

    I’m excited to share some fantastic news with the community! Over the past few months, I’ve successfully adapted my Construct 3 (C3) games for two of China’s biggest platforms: WeChat Mini-Games and TikTok (Douyin) Mini-Games.

    Why Should You Adapt Your Game?

    Massive Audience: WeChat has over 1 billion active users, and Douyin (TikTok) is a rising star with similar numbers in China.

    Localized Platform: Both platforms offer unique features tailored to the Chinese market, which can make your game stand out with the right adaptations.

    Easy-to-Monetize: These platforms support in-game ads, payments, and other monetization options, helping you generate revenue.

    Expand Your Global Presence: By bringing your game to these platforms, you can grow your audience and brand beyond your existing markets.

    What I’ve Accomplished

    After working on several adaptation processes, I have successfully:

    Handled cross-platform optimization to ensure smooth performance on WeChat and Douyin.

    Managed UI adjustments to fit the platforms’ requirements and resolution specifications.

    Tackled game packaging to comply with local restrictions.

    Implemented API integration for platform-specific features such as leaderboards, social sharing, and in-game payments.

    Interested in Bringing Your Game to WeChat or TikTok?

    If you’re looking to expand your game’s reach and want to break into the Chinese market, I’d love to help you get started with the adaptation process. Feel free to reach out if you have any questions, need guidance, or would like to learn more about how to begin.

    Let’s grow your game’s audience together!

    The following two platform adaptation completed cases:

  • Does WeChat use a webview with a real browser engine like Chromium or WebKit? Or is it still based on a custom browser engine?

  • Does WeChat use a webview with a real browser engine like Chromium or WebKit? Or is it still based on a custom browser engine?

    As far as I know(link), WeChat Mini Games uses Chromium as the WebView rendering layer and V8 as the logic layer on Android. iOS uses WKWebView as the rendering layer and JavaScriptCore as the logic layer.

    However, they did not provide this environment directly, but encapsulated it. In the Android, they use a custom engine XWeb 126 (equivalent to Chromium 126) to rendering.

    The documentation still mentions Chromium 67, which means their staff hasn't updated the documentation for a long long time. All the documentation is very confusing and outdated. It's terrible to read.

    Therefore, the main task is to convert the Canvas API into WeChat's WX Canvas API.

  • WeChat also has two product directions. The other is WeChat Mini Program, which directly provides a webview environment. When C3 releases a mini program, if it does not need to use WeChat's API function, it will not need to do much work to release it.

    // index.wxml
    <web-view src='{{url}}' />
    
    // index.js
    Page({
    	data:{
    		url: "",
    	}
    })
    

    However, WeChat mini programs cannot publish game content, but they can be used to do some tool applications.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Does WeChat use a webview with a real browser engine like Chromium or WebKit? Or is it still based on a custom browser engine?

    Thank you for Ashley's reply. WeChat mini game does not use a browser engine or webview. He has packaged his own canvas, but the underlying layers are based on WebGL. You can directly replace C3's canvas with WeChat's canvas. These are not the most complex parts, the only complexity is C3's wasm and worker. WeChat only supports one main thread and one worker, and does not support C3's multi worker. This is the most complex part

  • > Does WeChat use a webview with a real browser engine like Chromium or WebKit? Or is it still based on a custom browser engine?

    As far as I know(link), WeChat Mini Games uses Chromium as the WebView rendering layer and V8 as the logic layer on Android. iOS uses WKWebView as the rendering layer and JavaScriptCore as the logic layer.

    However, they did not provide this environment directly, but encapsulated it. In the Android, they use a custom engine XWeb 126 (equivalent to Chromium 126) to rendering.

    Therefore, the main task is to convert the Canvas API into WeChat's WX Canvas API.

    Thank you XHXAIEIN for your reply. Your answer is correct, and the most important thing is the conversion process from C3canvas to wx canvas

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)