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

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

1711. animation在自定义box节点下不显示 [ 52%]

... 在stage上面也能显示吗? Laya_Aaron • 2018-07-20 10:35 在哪里addchild的。 135*****576 • 2018-07-20 10:40 在主循环里面添加的 Laya_Aaron • 2018-07-20 10:41 @135*****576:加给谁了,那个父节点有加进舞台吗 135*****576 • 2018-07-20 10:43 加给自己创建的...

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

1712. 求问sprite放大后,graphics绘制的图像位置偏移 [ 52%]

...#fff333"); //位置正确 sprite.scale(scaleRatio, scaleRatio); Laya.stage.addChild(sprite); console.log(sprite.width); console.log(sprite.height); 比如我在一个sprite的中心画一个圆,用scale放大后,圆偏离中心。 必须在原位置减去位置除以缩放比才能达到想要...

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

1713. [LayaAir3]3D场景里面鼠标感应区域 3.2.1跟3.3不同 [ 52%]

...e.texture.sourceHeight = Laya.stage.height; //添加2D精灵, this.owner.addChild(this.spRole); this.spRole.pos(0, 0); this.spRole.size(Laya.stage.width, Laya.stage.height); }); 2025-01-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无...

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

1714. 如何从代码中创建UI,progressbar [ 52%]

.../anniu05a.png" progressBar.pos(100,100); progressBar.value=0.5; Laya.stage.addChild(progressBar); 后台: Failed to load resource: net::ERR_FILE_NOT_FOUND(FILE///..../bin/commonUI/anniu05a$bar.png) [warn]Retry to load:/......./bin/commonUI/anniu05a$bar.png 但能显示出来, 2.skin这个属性...

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

1715. laya.d3.core.Sprite3D [ 52%]

...更新 Sprite3D  _updateConch(state:RenderState):void 更新 Sprite3D  addChild(node:Node):Node[override] 添加子节点。 Sprite3D  addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node  a...

来源: laya_api 发布时间: 20170929

1716. Uncaught unknown animationClip version. [ 52%]

....create(this, function (s: Laya.Scene3D): void { var scene = s; Laya.stage.addChild(scene);         }));   加载代码 2019-03-13 0 0 分享 微博 QZONE 微信 Zong 赞同来自: 断点调试显示clip.version = "LAYAANIMATION:04" 2019-03-14 0 0 分享 微博 QZONE 微信 Zong 赞同来...

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

1717. 动态加载的 animation第二次加载的时候不显示 [ 52%]

...60+(i-1)*120; item.y=y; item.size(80,80); item.name=aniname; this.doworkui.addChild(item);   2017-11-06 0 0 分享 微博 QZONE 微信 ysshao 赞同来自: 实际上这些animation是存在的,我可以通过play播放的,但是就是看不叫! 2017-11-06 0 0 分享 微博 QZONE 微信 ysshao 赞...

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

1718. 如何改变text部分字的颜色或两个不同颜色的text如何拼接看起来像一个文本? [ 52%]

...t;/span><span color="#FFFF00">嘻嘻嘻</span>'; Laya.stage.addChild(htmlDiv); 2017-05-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 daohu 相关问题 两个对象new了一个相同的对象,调用第一个的一个...

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

1719. laya.d3.core.BaseCamera_API3.0 [ 52%]

...nderer timer transform url Methods _initialize _processActive addAllLayers addChild addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent...

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

1720. layaAirIDE 打包APK 后 真机运行报错 [ 52%]

...n.js:1: ReferenceError: createApes is not defined i=new RunGame;Laya.stage.addChild(i)}!function(){createApes()}(function(){function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (http://stand.alone.version/main.min.js:1...

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