大约有 3,990 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0060 秒)
Laya_社区(2836) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(55)
...s/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180117
...enderer; skymat.mesh = SkyDome.instance; var material: SkyPanoramicMaterial = new SkyPanoramicMaterial(); Texture2D.load("res/jfb.jpg", Handler.create(null, function (tex: Texture2D) { material.panoramicTexture = t...
来源: Laya_社区 发布时间: 20200319
...transform's property instead layaair 2.2beta ts 项目 两个bug 定义的 var 变量 undefined 并且 debugPanel不能使用 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 Property 'BoxMesh' does not exist on type 'typeof Laya' 问题状态 最新活动...
来源: Laya_社区 发布时间: 20170516
...ineStyle()的参数会清除描边效果,但LAYA是默认为1像素描边var s:Shape = new Shape(); s.graphics.lineStyle(4); s.graphics.beginFill(0xff0000); s.graphics.drawCircle(100, 100, 70); s.graphics.endFill(); s.graphics.lineStyle();//flash中不加参数是清除描边效果 s.graphics.begi...
来源: Laya_社区 发布时间: 20160101
...问题 用二的幂次方图集和非二的幂次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? Laya的Scene和View什么区别? Image和Sp...
来源: Laya_社区 发布时间: 20180123
...例凹多边形的问题 Laya mac版的IDE 是没测试就上线了吗? var 与 name 的详细区别是什么? 成都雨墨游戏 求 laya 程序开发人员 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才...
来源: Laya_社区 发布时间: 20180828
...matterjs物理引擎鼠标问题 2.1.1.1引擎微信小游戏掉帧严重 var 与 name 的详细区别是什么? Laya native1.0.7, 引擎1.7.14beta,多行文本不换行 laya2.0引入第三方库失败 as3 ,LayaAir下调试matter.js物理引擎出错。 LayaAir2.61 测试版 物理引擎bug 百...
来源: Laya_社区 发布时间: 20180628
...GLContext2D的fillRect报错 代码如下: Laya.init(1136, 640, WebGL ); var mask :Sprite = new Sprite(); mask.graphics.save(); mask.graphics.drawRect( 0, 0, Laya.stage.width, Laya.stage.height, 0xff0000 ); mask.graphics.restore(); mask.x = 0; mask.y = 0; Laya.stage.addChild( mask ); 麻烦看下...
来源: Laya_社区 发布时间: 20170216
...; public class MoveTest { public function MoveTest() { Laya.init(600,600); var sp:Sprite = new Sprite(); sp.autoSize=true; sp.graphics.drawRect(0,0,100,100,"#ff0000"); sp.on(Event.CLICK,this,onClick); Laya.stage.addChild(sp); } private function onClick(event:Event):void{ Render._mainCanvas.source.st...
来源: Laya_社区 发布时间: 20171226
UI 控件多次调用 RESIZE 回调问题 var a = new Laya.Box(); a.left = a.top = a.right = a.bottom = 0; a.on(Laya.Event.RESIZE, this, () => { console.warn(" resize ===== "); }) Laya.stage.addChild(a); Laya.timer.loop(1000, this, () => { a.addChild(new Laya.Box()); }); --------------- 测...
来源: Laya_社区 发布时间: 20181214