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

大约有 1,478 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)

111. 物理引擎-Slingshot [ 66%]

.../../res/physics/img/block-2.png'; return Matter.Bodies.rectangle(x, y, 25, 40, { render: { sprite: { texture: texture, xOffset: 20.5, yOffset: 28 } } }); }); var ground2 = Matter.Bodies.rectangle(610, 250, 200, 20, { isStatic: true, render: { fillStyle: '#edc51e', strokeStyle: '#b5a91c' } }); var py...

来源: Laya_示例 发布时间: 20251209

112. list组件里面使用box作为渲染项,在渲染项里面再嵌套一个box,这里面的数据该怎么渲染呢 [ 65%]

...存和数据缓存? 问题状态 最新活动: 2018-07-20 11:21 浏览: 940 关注: 2 人 W • 2018-07-27 15:40 具体怎么获取得到呢,只找到一个itemRender,获取每个单元,得到不到子box Laya_Aaron • 2018-07-27 19:39 box 的var 是你自己命名的,亲测可用 W • 2...

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

113. playByFrame动画监听问题,真不会了。就一个小问题。监听不到动画结束。。。 [ 65%]

...                     anifish.player.playByFrame(0,1.0,2147483647,40,72,30);                         anifish.on(Event.COMPLETE,this,complete)                         function complete(){                             alert(1)                    ...

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

114. 发现了一个资源路径引起得bug,组件Animation得属性source里面得图片不能正确被加载 [ 64%]

...个文件夹,然后重新生成。 流浪地球Gaara • 2017-11-02 17:40 另外我之前还测试过,如果文件夹命名跟res/atlas不一样,那么没有打包的资源在加载的时候,会找不到对应的路径,会出现加载没有打包资源的时候找不到图片。 wudi199553...

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

115. UI-Clip [ 64%]

...er.width) / 2 - 35; counter.y = (Laya.stage.height - counter.height) / 2 - 40; Laya.stage.addChild(counter); } function showTotalSeconds() { var clip = new Clip(clipSkin, 10, 1); clip.index = clip.clipX - 1; clip.pos(counter.x + 60, counter.y); Laya.stage.addChild(clip); } function createController(...

来源: Laya_示例 发布时间: 20251209

116. [LayaAir3]3.3.1+3.3.2 多个后期处理增删会导致webgl报错 [ 64%]

...扫码测试闪屏/黑屏 2.12.2 问题状态 最新活动: 2025-09-28 10:40 浏览: 630 关注: 2 人 哎呀嘛N号 • 2025-09-28 10:14 好嘞,大约多久能处理好啊,今天可以发版吗 layabox • 2025-09-28 10:40 @哎呀嘛N号:应该会的 哎呀嘛N号 • 2025-09-28 10:44 那就是...

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

117. laya.utils.Stat_API3.0 [ 64%]

...Static OpaqueDrawCall OpaqueDrawCall: object Defined in laya/utils/Stat.ts:40 color color: "white" = "white" Defined in laya/utils/Stat.ts:40 mode mode: "average" = "average" Defined in laya/utils/Stat.ts:40 title title: string = "OpaqueDrawCall" Defined in laya/utils/Stat.ts:40 units units: "int" =...

来源: Laya3.0_api 发布时间: 20231115

118. UI-Clip [ 63%]

.../ 2 - 35; this.counter.y = (Laya.stage.height - this.counter.height) / 2 - 40; } showTotalSeconds() { const Clip = Laya.Clip; let clip = new Clip(clipSkin, 10, 1); clip.index = clip.clipX - 1; clip.pos(this.counter.x + 60, this.counter.y); Laya.stage.addChild(clip); } createController() { const Butt...

来源: Laya2.0_示例 发布时间: 20251209

119. 动画-新版骨骼动画 [ 63%]

.../threeDimen/ui/button.png", "切换动作")); changeActionButton.size(160, 40); changeActionButton.labelBold = true; changeActionButton.labelSize = 30; changeActionButton.sizeGrid = "4,4,4,4"; changeActionButton.scale(Laya.Browser.pixelRatio, Laya.Browser.pixelRatio); changeActionButton.pos(Laya.sta...

来源: Laya_示例 发布时间: 20251209

120. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 63%]

...idth:512, //canvas的宽度 canvasHeight:128, //canvas的宽度 font:"40px 'Microsoft Yahei'", //文字样式 text:"请修改掉默认的配置", //需要绘制的文本 color:"#000000", //文字的颜色 backgroundColor:"#ffffff", //背景颜色 }; //将传...

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