Skip to content
spriteflexjs ,a html5 engine build with apache-royale.
Branch: master
Clone or download
Latest commit faa7851 Apr 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build-swc Stroke Correction, StageScaleMode, Video updates and cleanup Mar 14, 2019
examples
src htmltext Apr 9, 2019
test Fixed asconfig file Mar 15, 2019
tests Stroke Correction, StageScaleMode, Video updates and cleanup Mar 14, 2019
.gitignore Unit Testing Setup and Tests moved to Examples folder. Better build_f… Sep 11, 2018
LICENSE Initial commit Nov 27, 2015
README.md Update README.md Mar 15, 2019
swc-config.xml Stroke Correction, StageScaleMode, Video updates and cleanup Mar 14, 2019

README.md

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

You can’t perform that action at this time.