in lib/pop_pop_win.dart [17:39]
Future<void> startGame() async {
sendTiming('startGame');
final stage = Stage(
html.querySelector('#gameCanvas') as html.CanvasElement,
options: StageOptions()
..backgroundColor = 0xb4ad7f
..transparent = true,
);
RenderLoop().addStage(stage);
BitmapData.defaultLoadOptions.webp = true;
//have to load the loading bar first...
final resourceManager = ResourceManager()
..addTextureAtlas(
'static',
'$_assetDir/images/static.json',
);
await resourceManager.load();
await _initialLoad(resourceManager, stage);
}