trying to make this work with bytedance mini game
is this possible to port c3 game to mini game platform?
update:
other game engine like cocos creator can export that support bytedance mini game
gist.github.com/crapthings/e6944153ea1fd2a1c9c02147a30dcb97
it looks only browser polyfills and game engine, and a game.js entry file
update:
bytedance mini game document
The runtime environment for a mini game is different from a web environment. When running on an actual device, there is no BOM API, so there is no window object or its associated properties. Therefore, for games migrated from H5, developers need to implement compatibility for the window object themselves (if developing the mini game using a game engine, the exported mini game version usually includes an adapter that adapts the window object). At the same time, in the runtime environment of a mini game, there is a global object called GameGlobal, and all globally defined variables are properties of GameGlobal. For example:
```
setTimeout === GameGlobal.setTimeout; // true
requestAnimationFrame === GameGlobal.requestAnimationFrame; // true
```
Additionally, GameGlobal is a global object and also a self-referencing object.
```
GameGlobal.GameGlobal === GameGlobal;
```