Skip to content

Harbs/spriteflexjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • ActionScript 82.0%
  • JavaScript 17.7%
  • Other 0.3%