magician-f / cocos-playable-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  • An effective solution for creating playable demos using cocos creator

  • Supports popular playable platforms: applovin, facebook, google, ironsource, mintegral, pangle, unity

  • Supports cocos creator version > 3.5.0

Getting Started

1. Integration of sdk

Basic Integration

  • Click the download button
super_html_playable.download();
  • Redirect to the settlement page for gameplay
super_html_playable.game_end();

Additional Integration

  • No need for download button: google
if (super_html_playable.is_hide_download()) {
    this.button_download.active = false;
}
  • Set the store URL for download redirection: unity
const google_play = "https://play.google.com/store/apps/details?id=com.unity3d.auicreativetestapp";
const appstore = "https://apps.apple.com/us/app/ad-testing/id1463016906";

super_html_playable.set_google_play_url(google_play);
super_html_playable.set_app_store_url(appstore);

super-html packages the built web-mobile into playable platform files

3. Packaging and Generation

channels.png

4. Testing

Introduction to Playable Platforms

Platform Landscape/Portrait Package Size File Format Testing
applovin ✔️ 5M html web
facebook 5M zip -
google 5M zip -
ironsource ✔️ 5M html upload review
mintegral ✔️ 5M zip web
pangle - tiktok 5M zip upload review
unity ✔️ 5M html android, ios

Contact the Author

About


Languages

Language:HTML 99.9%Language:JavaScript 0.0%Language:TypeScript 0.0%Language:CSS 0.0%