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

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

201. 照着官方文档写的 Dialog 报错? [ 69%]

...r bgImg = new Image("res/ui/dialog.png"); dialog.addChild(bgImg); // bgImg.size(400, 458); var button = new Button("res/ui/close.png"); button.size(50, 50); button.name = Dialog.CLOSE; button.pos(bgImg.width - button.width - 5, 5); dialog.addChild(button); dialog.dragArea = "0,0," + bgImg.width + ",...

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

202. 代码和ide编辑器添加遮罩浏览器警告 [ 69%]

...s的宽高是0,0,只要设置了mask,chrorme就会警告cache bitmap size larger than 2048,cache ignored 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你遮罩的容器宽...

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

203. laya编译无报错,微信开发者工具报错 [ 69%]

...信开发者工具报错 VM185:1 gameThirdScriptError Maximum call stack size exceeded RangeError: Maximum call stack size exceeded     at loadProgress (http://127.0.0.1:24481/game/li ... 224:34)     at Handler.runWith (http://127.0.0.1:24481/game/li ... 850:38)     at loadProgress (http://127...

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

204. CONTEXT_LOST_WEBGL 错误 骁龙625,626机型常见 [ 69%]

...:     [.Offscreen-For-WebGL-0xbd27ec00]GL ERROR :0x0505 : glTexImage2D, size:89,121, pixels_size:43076: <- error from previous GL command WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost [.Offscreen-For-WebGL-0xbc27cd00]GL ERROR :0x0505 : glFramebufferTexture2D: <- error from previous G...

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

205. laya.d3.resource.SolidColorTexture2D [ 69%]

...exture repeat : Boolean 是否使用重复模式纹理寻址 BaseTexture size : Size[read-only] 获取尺寸。 BaseTexture  source : *[override] [read-only] SolidColorTexture2D width : int[read-only] 获取宽度。 BaseTexturePublic Methods  MethodDefined By  SolidColorTexture2D(color:Vect...

来源: laya_api 发布时间: 20170929

206. Uncaught RangeError:Array buffer allocation failed [ 68%]

...买技术服务看看,这样可以私信发demo     The maximum heap size you can try is 2048MB - 16MB = 2032MB. Browsers currently don't support allocating anything larger than that. If you are running on a 32-bit browser, a HEAP size of 512MB or 768MB is about the maximum that is possible.   ...

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

207. Cannot enlarge memory arrays. [ 68%]

...216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 lay...

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

208. 如何在animation动画中添加事件影响动画,比如说按键或点击鼠标让动画位移? [ 68%]

... 2 个回复 Monica - 知识达人 赞同来自: 给AniMation设置一个size值(也就是宽高),然后给它添加鼠标点击事件或者是键盘事件即可 2017-05-27 0 7 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自:   2017-10-16 0 0 分享 微博 QZONE 微信 为什么...

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

209. 预加载进入游戏界面 [ 68%]

...数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。          * @param    complete    加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源...

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

210. vbox动态添加子项目问题 [ 68%]

...ge = new Image(); image.skin = "rank/132.jpg"; vbox.addChild(image); image.size(100,100); var image2:Image = new Image(); image2.skin = "rank/132.jpg"; vbox.addChild(image2); image2.size(100,100); 2018-08-29 0 5 分享 微博 QZONE 微信 辉先生 赞同来自: 请问,设置了VBox的宽高,也...

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