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

大约有 546 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)

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

...olor = "#232628"; showApe(); })(); function showApe() { // 方法1:使用loadImage var ape = new Sprite(); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function...

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

532. Laya.loader.clearTextureRes引起的内存泄露以及恢复图片显示闪烁 [ 44%]

Laya.loader.clearTextureRes引起的内存泄露以及恢复图片显示闪烁 1、引擎和ide版本都是2.1.2 2、点击屏幕会绘制一个光圈特效 3、点击第1次加载资源使用后释放调用Laya.loader.clearTextureRes 4、再点第2次      1、图片代码中指示出必然会...

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

533. 分享:自己个人开发的H5游戏《西游战》 [ 44%]

...回复问题请先登录 发起人 daohu 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 写个捕鱼游戏练练手 招聘:H5游戏开发 坐标:...

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

534. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 44%]

...tion.Laya3D._getSprite3DHierarchyInnerUrls (libs/laya.d3.js:1837)     at Loader.Laya3D._onHierarchylhLoaded (libs/laya.d3.js:1933)     at EventHandler.__proto.runWith (libs/laya.core.js:1628)     at Loader.__proto.event (libs/laya.core.js:1384)     at Loader.__proto.complete (libs/laya.core....

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

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

...Ball.cached){ Ball.cached = true; this.body = new Laya.Sprite(); this.body.loadImage("war/ball.png"); this.body.pivot(12,12); } this.addChild(this.body); Laya.timer.frameLoop(1,this,this.animate); } private animate(e):void{ this.body.rotation += 10; } } class Main{ private ball:Ball; private target...

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

536. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 44%]

...页 I/LayaBox: found the file in the package:scripts/async.js I/LayaBox:  loadApp:http://happiness.joyleafs.com/ncapi/client/app*/index.json I/LayaBox: setCachePath:/data/user/0/com.layabox.run.*//LayaCache//appCache/     read index:/data/user/0/com.layabox.run.*//LayaCache//appCache/da25d557/fil...

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

537. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 43%]

...'I like ' + '' + 'cheese' + '' + '' + ''; var sp:Sprite = new Sprite(); sp.loadImage(data,0,0,200,200); Laya.stage.addChild(sp); } } } ``` 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数不仅仅接收地址形...

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

538. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 43%]

...nObject>' + '</svg>'; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数不仅仅有接收地址的url...

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

539. 苹果上架问题, [ 41%]

...you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method...

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

540. 1.0 骨骼drawcall优化猥琐方法 [ 40%]

...ncil功能 请问粒子,shader,动画缓存的优化应该如何选择 load方法的progress回调进的次数太少了。是我哪里设置有问题么 关于引擎对于骨骼动画骨骼形变支持的问题 问题状态 最新活动: 2020-10-13 14:08 浏览: 1654 关注: 5 人

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