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

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

481. 各位大佬,帮我看看 tiledMap 中获取不到自定义属性 [ 83%]

...rByIndex(3).getTileData(tileX, tileY); // console.log(data) // console.log(Laya.Keyboard.RIGHT) switch (e.keyCode) { //右边 case 39: { this.player.x += 16 break; } case 37: { //左边 this.player.x -= 16 break; } case 38: { //上 this.player.y -= 16  break; } case 40: { //下 this.player.y += 16 ...

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

482. laya.filters.webgl.ColorFilterActionGL [ 83%]

...ndex | Frames No Frames ColorFilterActionGLProperties | Methods Packagelaya.filters.webglClasspublic class ColorFilterActionGLInheritanceColorFilterActionGL FilterActionGL ObjectImplements IFilterActionGLPublic Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

来源: laya_api 发布时间: 20170929

483. 摄像机不在原点的时候3D空间转2D空间会失效? [ 83%]

...现了一下3D坐标转2D坐标,过程如下: this.point.elements[0] = Laya.stage.mouseX; this.point.elements[1] = Laya.stage.mouseY; this.camera.viewportPointToRay(this.point, this.ray); Laya.Physics.rayCast(this.ray, this._outHitInfo) 然后: this.camera.viewport.project(this._outHitInfo.pos...

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

484. laya的hitTestPoint没有第三个参数吗,只检测到矩形碰撞?惨了我as3人物的精确碰撞都靠第三个参数 怎么改装成h5? [ 83%]

laya的hitTestPoint没有第三个参数吗,只检测到矩形碰撞?惨了我as3人物的精确碰撞都靠第三个参数 怎么改装成h5? public hitTestPoint( x:number,y:number ,shapeFlag:boolean ):boolean 计算显示对象,以确定它是否与 x 和 y 参数指定的点重叠或相...

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

485. timeline 类动作节点回调 [ 83%]

...与内容相关的链接 提交 2 个回复 callback 赞同来自: https://layaair.ldc.layabox.com/demo/?category=2d&group=Tween&name=TimeLine   function createTimerLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0...

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

486. 分享一个Shader版的CoolDown实现 [ 83%]

分享 分享一个Shader版的CoolDown实现 Laya的Pie做Mask在native下有bug,不能正常显示。就研究了下laya的custom shader,在没有详细文档的情况下搞出来了,但又发现无法在Native下使用。。。真是X了  既然无法使用,就分享出来,大家有...

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

487. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 83%]

# Tree 组件参考 ## 一、通过LayaAirIDE创建Tree组件 ​ Tree 组件用来显示树状结构。用户可以查看排列为可扩展树的层次结构数据。 ​ Tree 组件的脚本接口请参考 [Tree API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=...

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

488. 鼠标交互-拖动 [ 83%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

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

489. laya.display.Sprite_API3.0 [ 83%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不...

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

490. Cannot enlarge memory arrays. [ 83%]

...o return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 laya.physics3D.js:308 Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtim...

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