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

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

2461. list在panel中时,list里内容没有被遮罩住,在手机上出现,在电脑上没问题 [ 48%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 请问layaair2.0-js 怎么用程序在list中添加多元素的item FD 宏编译时 出现 试图访问该方法时失败 播放背景音乐...

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

2462. laya.utils.Handler_API3.0 [ 48%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Handler" Handler Class Handler Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用后,...

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

2463. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 48%]

...如何让他每次累加的同时清空上次的路径 var sp; var x = 0; export default class Scene extends Laya.Sprite{ constructor(){ super(); Laya.init(500, 300, Laya.WebGL); var bg = new Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); /...

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

2464. UI-Label [ 48%]

... Stage = Laya.Stage; import Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...

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

2465. 我用layaIDE 2.0构建了一个Android Studio原生APP,构建的时候选择的单机版,构建成功后,我运行项目,提示加载游戏失败,可能由于您的网络不稳定,请退出重进,可是我的是单机版的啊 [ 48%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket FD 宏编译时 出现 试图访问该方法时失败 打包android版本 点击返回...

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

2466. 解决LayaAirAs3项目中使用JS版本的protobuf通讯框架无法发布flash版本的解决方案 [ 48%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-04-03 12:53 浏览: 4321 关注: 10 人 cuixueying • 2016-12-14 18:25 用最新版本即可,没有版本限制,如果遇到问题我们可以随时沟通! wt1993113 • 2016...

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

2467. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 48%]

...题,位置定位是没错,而且都是整数的移动地图的。   export default class MapSprite extends Laya.Image{ isShow:boolean = false; name:string = ""; constructor() { super(); }  loadImageAndPos(name:string,posX:number,posY:number):void { this.name = name; this.anchorX = 0; this.anch...

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

2468. layabox3.07版本使用纹理压缩色彩很大 [ 48%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) LayaTree v1.0.5版本更新(2021.11.17) 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在...

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

2469. laya.d3.math.Viewport_API3.0 [ 47%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Viewport" Viewport Class Viewport Viewport 类用于创建视口。 Hierarchy Viewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods clo...

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

2470. laya.d3.core.particleshuriken.module.FrameOverTime_API3.0 [ 47%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/FrameOverTime" FrameOverTime Class FrameOverTime FrameOverTime 类用于创建时间帧。 Hierarchy FrameOverTime Implements IClone Index Constructors constructor A...

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