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

大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)

601. 新人求助!FD为什么会出现这个问题 [ 74%]

...档类 但是入口还是默认那个? 我就改了 <compileTargets> <compile path="src\LayaSample.as" /> </compileTargets>         2017-08-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

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

... = 200; this.dragRegion = new Rectangle(Laya.stage.width - dragWidthLimit >> 1, Laya.stage.height - dragHeightLimit >> 1, dragWidthLimit, dragHeightLimit); //画出拖动限制区域 Laya.stage.graphics.drawRect( this.dragRegion.x, this.dragRegion.y, this.dragRegion.width, this.dragRegio...

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

603. 动态图集 · LayaAir3.4 · 引擎文档 · LAYABOX [ 74%]

...nager对象: //接口 constructor(config?: Partial<DynamicAtlasConfig>, autoReplace: boolean = true) 参数说明: config是创建动态图集需要的配置参数,各项参数内容如下: 参数 类型 默认值 说明 largeTextureSize [number, number] [1024, 1024] 大纹理尺寸 [...

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

604. 在线急等,发现你们这个编译器一个bug,不能实现负负得正 [ 74%]

...= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.stageHeight ||this.ball.y + this.vy <= 0) { this.vy = -this.vy; } if (this.ball.x + this.vx >= this.stageWidth ||this.ball.x + this.vx <= 0) { this.vx = -this.vx; }   2017-11-07 0 1 分享 微博 QZONE 微...

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

605. [LayaAirIDE3]打包原生安卓 , 运行错误 , 我不清楚是不是我自己的问题. [ 74%]

...'-' : '';          // 简单的单位转换         if (absValue >= 1e9) {             return sign + (absValue / 1e9).toFixed(2).replace(/\.00$/, '') + 'B';         } else if (absValue >= 1e6) {             return sign + (absValue / 1e6).toFixed(2).replace(/\.00$/, '')...

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

606. 2D自由形态光 · LayaAir3.4 · 引擎文档 · LAYABOX [ 74%]

...绍在灯光基类文档中,如未阅读,请点击此处查看:<>2d灯光与网格>。 一、应用场景 2D自由形态光(FreeformLight2D) 是一种支持自定义光源形状的2D灯光类型。通过设置多个顶点位置,开发者可以自由定义光源的几何形态,...

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

607. 克隆sprite [ 74%]

...     let tempImg: Laya.Image;             let arr: Array<object> = <Array<object>>data.items;             let element: any;             let maxY: number = 0 | 0;             for (let i: number = 0; i < arr.length; i++) {                 element ...

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

608. 缓动画Bug,给了回调函数之后是直接过时间后执行回调函数,但是之前的缓动画不会执行 [ 74%]

... 0; this.bir.y = 0; Laya.Tween.to(this.bir, { x: 200, y: 200 }, 2000, () => { }, Laya.Handler.create(this, this.change));     这里面会直接过两秒执行this.change,而前面x:0->200  y:0->200不会执行  是什么原因??????     2017-08-09 添加评论 免费帖 -...

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

609. 关于jsfile中JS标签自动生成的问题 [ 74%]

...在src目录中,这样,在INDEX.HTML中会在<!--jsfile--startTag-->中生成对应的JS的<script>标签,这样挺不错的。 但是有时候项目中要有多个页面的时候就不知道咋办了。 比如,我有a.js  b.js  c.js  d.js 4个JS文件, 有 index.html  simp...

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

610. 新的安卓闪退 [ 74%]

...8n0CAtog==/lib/arm64/liblayaair.so (v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)+40) [arm64-v8a] 4 #03 pc 000000000043f9f4 /data/app/com.mylafe.game.handsomecat-HnSTBrLpuwmUdM8n0CAtog==/lib/arm64/liblayaair.so (laya::JSObjBaseV8::ReleaseRefArray()+92) [arm64-v8a] 5 #04 p...

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