Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.21 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.21 KB

spriteflexjs

a html5 engine build with apache-royale.

the spriteflexjs support most flash runtime api.

support canvas and webgl.

100% ActionScript written code base

Quick Links

Roadmap

Roadmap

微信小游戏适配

更改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转换,会导致编辑器卡死

视频教程

IMAGE ALT TEXT HERE

IMAGE ALT TEXT HERE