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

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

471. 微信小游戏中iPhoneX的适配问题 [ 43%]

...te(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); })); kezhiyu • 2018-06-04 14:38 另外说下你的压缩包如果不是可以用laya 的ide打开的话 他们是不会管的 夏末 • 2018-06-04 14:02 demo已经添加到附件里面了,麻烦您看一下 159*...

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

472. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...消耗一定CPU。假如一个Scene里有两个子界面,每个界面有200个子节点,那么更建议每个界面分别打开DrawCall优化,而不是直接在Scene节点上打开DrawCall优化。 2)物体移动,重绘等会引发重新合批,所以静态界面要比动态界面合批...

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

473. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 43%]

...整个页面奔溃了,卡滞了 代码类似下面这样 Laya.timer.loop(200, this, showframe); function showframe() {     var url = getimage();     this.sp_video.loadImage(url);     }   2017-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

474. 图片遮罩大小跟设置不一致 [ 43%]

...Y = 1 ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0);           let sp = new Sprite()           sp.graphics.drawRect(0, 0, 50, 50, '#ffff000')           ape.mask = sp })); } })(); 右边的形状明显不是正方形 附件 : --> 2017-12-20 添加评论 ...

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

475. 骨骼动画-换装 [ 42%]

...、LayaAirIDE让项目开发更高效。let mFactory, mArmature, mStartX = 200, mStartY = 500, mCurrIndex = 0, mSkinList = ["goblin","goblingirl"], mCurrSkinIndex = 0; class Skeleton_ChangeSkin { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, ...

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

476. 一个简单的跑酷曲面shader分享 [ 42%]

....0, 0.0, 0.0); this.xoffset = 15.0; this.yoffset = -15.0; this.zdistance = 200.0; } public static initShader() { var attributeMap: object = { "a_Position": Laya.VertexMesh.MESH_POSITION0, "a_Normal": Laya.VertexMesh.MESH_NORMAL0, "a_Textcoord": Laya.VertexMesh.MESH_TEXTURECOORDINATE0, "a_Textcorrd1"...

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

477. layaUI.max.all.js 这个文件怎么生成的? [ 42%]

..."select1,select2,selecte3","selectedIndex":1,"sizeGrid":"4,20,4,4","width":200,"height":23,"var":"combobox"},"type":"ComboBox"},{"props":{"x":220,"y":96,"skin":"comp/tab.png","labels":"tab1,tab2,tab3","var":"tab"},"type":"Tab"},{"props":{"x":259,"y":223,"skin":"comp/vscroll.png","height":150},"type"...

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

478. destination-out 叠加模式问题 [ 42%]

... sp.y=Laya.stage.mouseY; sp.graphics.clear(); sp.graphics.drawCircle(0, 0, 200,"#0ef604"); } li970704928 • 2017-12-13 19:08 @Laya_Aaron:可以吗这样复制过来的 Laya_Aaron • 2017-12-13 19:19 这么看 this.addChild(guideContainer); 这一行 区别于文档 是Laya.stage.addChild...

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

479. 请大家帮助优化一下这个抛物线的代码 [ 42%]

...all.x; // let dy:number = this.targetY - this.ball.y; var ps = [{ x: 0, y: 200 }, { x: 300, y: 0 },{ x: 700, y: 300 }]; this.points = CreateBezierPoints(ps,20); this.i = 0; // let distance:number = Math.sqrt(dx*dx+dy*dy)/2; //中心点的距离 两点距离/2 // this.angle2 = Math.atan2(dy,dx); //...

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

480. laya.d3.math.BoundFrustum_API3.0 [ 42%]

...rns Plane right get right(): Plane Defined in laya/d3/math/BoundFrustum.ts:200 右平面。 Returns Plane top get top(): Plane Defined in laya/d3/math/BoundFrustum.ts:207 顶平面。 Returns Plane Methods clone clone(): BoundFrustum Defined in laya/d3/math/BoundFrustum.ts:499 Returns BoundFrustum c...

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