AlloyRenderingEngine:合金渲染引擎,使用webgl超速渲染2d, 使用canvas 2d向下兼容

时间:2021-06-22 00:40:33
【文件属性】:
文件名称:AlloyRenderingEngine:合金渲染引擎,使用webgl超速渲染2d, 使用canvas 2d向下兼容
文件大小:710KB
文件格式:ZIP
更新时间:2021-06-22 00:40:33
JavaScript 合金渲染引擎 合金渲染引擎,使用webgl超速渲染2d,使用canvas 2d渲染 快速开始 演示 用法 要达到这个效果: 您需要使用以下代码: var ld = new Loader ( ) , stage = new Stage ( "#ourCanvas" , localStorage . webgl == "1" ) , bmp ; ld . loadRes ( [ { id : "atLogo" , src : "../asset/img/atLogo.png" } ] ) ; ld . complete ( function ( ) { bmp = new Bitmap ( ld . get ( "atLogo" ) ) ; //(0.5,0.5)==〉The center is the point of rotation bmp . or
【文件预览】:
AlloyRenderingEngine-master
----example()
--------glTxt.html(8KB)
--------particlesystem.html(941B)
--------transform.html(738B)
--------txt.html(886B)
--------bitmap.html(735B)
--------shape.html(502B)
--------all.html(941B)
--------particle.html(760B)
--------filter.html(1014B)
--------cache.html(1007B)
--------sprite.html(1006B)
----asset()
--------img()
----LICENSE(1KB)
----src()
--------are()
--------main()
--------RenderControl.js(685B)
----lib()
--------kmd.js(505KB)
----README.md(2KB)
----build()
--------test.html(1KB)
--------index.html(196B)
--------main.js(2KB)
--------are.js(117KB)

网友评论