• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 308 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0065 秒)

291. 1.7版本要初始化后有些代码才能用了 [ 53%]

...ht test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.text); </script> 2017-03-02 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 kdsrpg 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新...

来源: Laya_社区 发布时间: 20170302

292. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 53%]

...; img.width = 76; img.height = 110; img.pos(200 + i * 35, 230); Laya.stage.addChild(img); this.reciveOutPoker.push(img); this.outHandPoker.push(this.aaa.playerNameList[i].playerhandpoker[j]); this.lastPaixing = 1;  for (let x = 0; x < this.outHandPoker.length; x++) { for (let j = 0; j < this....

来源: Laya_社区 发布时间: 20180626

293. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 51%]

...11384.png?lastModify=1551962708public init() {            Laya.stage.addChild(this);            //初始化list数据            if(Laya.Browser.onMiniGame){                //接受来自主域的信息                wx.onMessage(this.recevieData.bind(this));    ...

来源: Laya_社区 发布时间: 20190307

294. swf在layaairts里播放的问题,播放不了,swf在群文件star.swf [ 51%]

... mc:Laya.MovieClip = Laya.loader.getRes("res/swf/star.swf"); // Laya.stage.addChild(mc); }     } } new laya.Loader_MultipleType();   2018-02-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 11 个回复 qian 赞同来...

来源: Laya_社区 发布时间: 20180203

295. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 50%]

...e = new Laya.Image(); image.texture = new Laya.Texture(videoTexTure); this.addChild(image); image.pos(100,100); }); 2024-03-04 1 1 分享 微博 QZONE 微信 phhh 赞同来自: 2d播放视频要事件触发 2023-08-25 0 1 分享 微博 QZONE 微信 木易楊 赞同来自: 尝试过是否是微信限...

来源: Laya_社区 发布时间: 20230825

296. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 49%]

..."); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage....

来源: Laya2.0_文档 发布时间: 20210714

297. Animation 的createFrames 使用已经加载的图集缓存动画失败 [ 47%]

...} Animation.createFrames(url,"myFighter"); fly=new Animation(); Laya.stage.addChild(fly); fly.play(0,true,"myFighter"); } } 其他案例请参考:LayaAir开发实战-------Role.as文件也有相关使用方式,仅供参考。   2016-06-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

来源: Laya_社区 发布时间: 20160610

298. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...aya.Vector3(outs[i].point.x, outs[i].point.y, outs[i].point.z); this.scene.addChild(box); } } } (动图7-1) 7.2 可视遮罩层Layer 前面5.4节中也提到过Culling Mask的用处,在我们制作游戏时,我们也可用通过代码来达到‘ 隐身 ’的效果。 还是用3D-RPG项目...

来源: Laya3.0_文档 发布时间: 20240910

299. 通用发布设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

... =>{ let sp3:Laya.Sprite3D =res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2","http://192.168.56.1:2840/",this.printProgress).then(()=>{ Laya.loader.load("sub2/sphere.lh").then((res:Laya.PrefabImpl) =>{ let sp3:Laya.Sprite3D =res.create() as La...

来源: Laya3.0_文档 发布时间: 20250103

300. 纹理压缩 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...tends Laya.Script { onAwake(): void { let img = new Laya.Image; Laya.stage.addChild(img); img.pos(500,100); img.skin = "resources/layabox.png"; //纹理压缩的图片的路径 } onStart() { Laya.Stat.show(0, 0); //性能面板 } } 发布后,使用的图片就是压缩后的图片了。 3.2 图集...

来源: Laya3.0_文档 发布时间: 20250103