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

大约有 2,831 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0348 秒)

2291. [LayaAirIDE3]laya3.3 使用Mesh2DRender会导致ColorFilter影响其他对象 [ 51%]

...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 微信小游戏如何使用ttf字体? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的...

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

2292. Mac上使用layaide2.0.1,F5调试错误 [ 51%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小游戏如何使用ttf字体? LayaAir...

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

2293. 如何设置title?用document.title设置的话,必须加载完成才行,我需要在加载过程中就使用指定标题 [ 51%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有...

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

2294. 分享:SWF LABEL标签的使用! [ 51%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 分享:打地鼠 AS、JS、TS版本 Demo! 微信小游戏如何使用ttf字体? 问题状态 最新活动: 2017-07-18 22:51 浏览: 1953 关注: 5 人

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

2295. workerLoader问题 [ 51%]

...载首先worker.js就有问题 onmessage里面 var e = t.data; switch (e.type) { case "load": loadImage2(e); } e是url字符串,改好之后可以加载了,回调方法this指向有问题, (this as any as WorkerLoader).workerMessage(evt.data); 这里this指向的worker,而不是WorkerLoader de...

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

2296. playSound和playMusic结束时候有异常抛出 [ 51%]

...时候有异常抛出 1. loader加载了{url:"res/music/Music_start.mp3",type:Laya.Loader.SOUND}资源 2. 加载结束后,调用Laya.SoundManager.playSound("res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceNode){ try {sourceNode.buffer...

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

2297. [LayaNative2]pad外设键盘无法捕获到KEY_DOWN,KEY_UP,KEY_PRESS事件 [ 51%]

...件 你好,发现一个bug,打包app后手机、pad外设(蓝牙或type C连接)键盘无法捕获到KEY_DOWN,KEY_UP,KEY_PRESS事件,在浏览器上就没问题,请问该如何解决?   以下事件无法触发: Laya.stage.on(Laya.Event.KEY_PRESS, this, this.handleKeypress); Lay...

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

2298. 使用添加第三方的JS类库方法存在的bug。 [ 51%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? LayaAirIDE下如何使用mask? TypeScript下HttpRequest...

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

2299. Laya下的图片上传示例(完整版) [ 51%]

...eight:100px;background:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/jpg";//设置文件的格式为png; file.style.position ="absolute"; // file.style.zIndex = 999; Laya.Browser.document.body.appendChild(fil...

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

2300. laya.display.Graphics [ 51%]

...ture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics  getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Gra...

来源: laya_api 发布时间: 20170929