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

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

111. js飞机大战报错 请大神看看 [ 65%]

...e:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:688:60)     at ResInfo.__proto.event (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:467:29)     at LoaderManager.__proto._endLoad (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya....

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

112. UI-Clip [ 64%]

...er; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load([buttonSkin, clipSkin, bgSkin], laya.ut...

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

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

...ic uploadUniformNum uploadUniformNum: object Defined in laya/utils/Stat.ts:60 color color: "white" = "white" Defined in laya/utils/Stat.ts:60 mode mode: "average" = "average" Defined in laya/utils/Stat.ts:60 title title: string = "UploadUniformNum" Defined in laya/utils/Stat.ts:60 units units: "int"...

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

114. UI-Clip [ 64%]

...r = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load([buttonSkin, clipSkin, bgSkin], Handler...

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

115. 报错:找不到基类,按照laya社区的解答做了,但是导致了另外一个类和接口出现一样的错 [ 63%]

...lic function HelloLayaBox()         {             Laya.init(600, 300);             var txt:Text = new Text();             txt.text = "HelloLayaBox";             txt.color = "#ff0000";             txt.fontSize = 66;             txt.bold = tr...

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

116. Config_API3.0 [ 63%]

...ocMaxMem Object literals fontFamilyMap Properties Static FPS FPS: number = 60 Defined in Config.ts:16 Static animationInterval animationInterval: number = 50 Defined in Config.ts:26 2D动画 Animation 的默认播放时间间隔,单位为毫秒。 Static defaultFont defaultFont: string = "Arial" D...

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

117. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 63%]

...可以在任意想录屏的点调用该方法。 * @param data{ duration:60} * 这里的60表示为60秒后自动停止录屏, * API里默认最大可设置300秒,如果不设置,默认是10秒。 */ start(data: any = { duration: 60 }): void { //判断是否为字节小游戏环境 if (Browser.o...

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

118. 在Laya中使用Matter.js的最简示例 (JS) [ 62%]

...s.rectangle(450, 50, 80, 80); var ground = Bodies.rectangle(400, 500, 810, 60, { isStatic: true }); // add all of the bodies to the world World.add(engine.world, [boxA, boxB, ground]); // run the engine Engine.run(engine); // run the renderer Render.run(render);显示效果如下 但是这还没有...

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

119. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 62%]

...试我们的旋转和 **缩放** 变换。我们对克隆体1 按Y轴旋转60度,克隆体3设置他的缩放值为(0.1,0.1,0.1)。再看下效果。(本次缩放使用的是局部缩放,世界缩放与局部缩放的原点相同,缩放参考的坐标系不同,且世界缩放的倍...

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

120. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 62%]

...注: 3 人 aidimiebear • 2017-11-07 16:08 我加了一行this.ape.size(60, 60);可以移动了,但是移动起来还是有点问题,只能点击圆圈的上半部分进行移动。这里我再调整一下吧!谢谢了! ymsdandan • 2017-11-07 16:25 嗯嗯,希望我的建议能帮到您...

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