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

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

651. 鼠标交互-鼠标交互 [ 56%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.createInteractiveTarget(); this.createLogger(); } createInteractiveTarget() { const Event = Laya.Event, Sprite = Laya.Sprite; let rect = new Sprite(); rect.graphi...

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

652. ts项目 模块问题 [ 56%]

...is.height / 2); this.graphics.drawRect(0, 0, this._size, this._size, this._color); } }   //a文件 import player from './player'; // 程序入口 class GameMain { constructor() { Laya.init(640, 960); var stage = Laya.stage; let p1 = new player(); } } new GameMain(); 2018-08-04 添加评论 免费...

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

653. hanzi 正则表达式无效 [ 56%]

...,层级设置无效的问题 (此问题已经无效) 2.0 drawTexture color参数无效 lh文件内meshSprite添加阴影属性无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 matter.js mouseconstraint在微信小游戏中无效 3D动画混合无效 在设计模式里A元素比B元素...

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

654. 分包后, 资源加载问题 [ 56%]

...ask"}}]},{"type":"Text","props":{"y":234,"x":105,"text":"%","fontSize":30,"color":"#008aff"}},{"type":"Text","props":{"y":234,"x":53,"var":"text","text":"0","fontSize":30,"color":"#008aff"}}],"animations":[{"nodes":[{"target":3,"keyframes":{"y":[{"value":192,"tweenMethod":"linearNone","tween":true,"...

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

655. 关于连续碰撞参数设置的一些问题 [ 56%]

...只能固定的值。 laya2.0 3d物理碰撞穿透问题 2.0 drawTexture color参数无效 laya2.2 导出场景物理碰撞问题 Laya3D里的material可以设置flat shading么 问题状态 最新活动: 2018-12-14 15:34 浏览: 2361 关注: 2 人 閑好手游 • 2018-12-14 15:39 我知道这个...

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

656. 0.9.9IDE菜单栏编辑按钮无效 [ 56%]

...器的,用的最新版引擎 (此问题已经无效) 2.0 drawTexture color参数无效 问题状态 最新活动: 2016-05-23 10:34 浏览: 1768 关注: 2 人

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

657. 数据(参数)传递 [ 56%]

...关问题 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲...

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

658. 哪个参数可以查看缓存是否超过50M? [ 56%]

...画失败 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 请教下微信小游戏的内存和数据缓存? 请问下loader如何强制加载一个文件,避免浏览器的缓存 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频...

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

659. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 56%]

... -y --lossy_8bit --lossy_transparent ... Optimizing ... Encoding error 82: color conversion to palette requested while a color isn't in palette Decoding error 82: color conversion to palette requested while a color isn't in palette报错的地方是 zopflipng-bin,我们直接从 LayaAirIDE.app-&g...

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

660. SpotLight介绍(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 56%]

...ene.addChild(new Laya.SpotLight()); //设置聚光灯颜色 this.spotLight.color = new Laya.Vector3(1, 1, 0); //设置聚光灯位置 this.spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); //设置聚光灯方向 var mat = this.spotLight.transform.worldMatrix; mat.setForward(new Laya.V...

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