the spriteflexjs support most flash runtime api.
support canvas and webgl.
100% ActionScript written code base
- Official Homepage
- spriteflexjs Wiki
- jsmin
更改game.js
import './js/libs/weapp-adapter'
import "TestMinGame"
var canvas = window.canvas;
canvas.id = "spriteflexjsstage";//小游戏只有一个画布显示 如果是stage3d用这个id "spriteflexjsstage3d0"
new TestMinGame();
更改代码的 xxx=this
,变成 xxx=window
因为小游戏this为null
代码要大于500k,如果小于500k。小游戏进行es6转换,会导致编辑器卡死