大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...监听一个计时器,对Animation的播放帧数进行判断,譬如 if(ani.index==200) { 延迟执行; } 2017-04-05 0 0 分享 微博 QZONE 微信 playa 赞同来自: 请问多个ani播放有例子吗 2017-12-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...
来源: Laya_社区 发布时间: 20170404
...re_ps并没有对alpha进行处理; texture_ps中有以下片段: if(v_useTex<=0.)color = vec4(1.,1.,1.,1.); color.a*=v_color.w; //color.rgb*=v_color.w; color.rgb*=v_color.rgb; gl_FragColor=color; 不知道引擎是否支持dxt5? 附件 : --> 2021-12-20 添加评...
来源: Laya_社区 发布时间: 20211220
...咨询String转XML的相关问题 var xml:*; __JS__('if(window.ActiveXObject)') __JS__('{') __JS__('xml=new ActiveXObject("Microsoft.XMLDOM");') __JS__('xml.loadXML(value);') __JS__('}') ...
来源: Laya_社区 发布时间: 20170221
...ous behavior and can lead to removal from the Apple Developer Program. Specifically, your app contains functionality to load a webview of external content within the app for the purpose of third-party game streaming. If you feel that we have misunderstood how your app functions and that your app is ...
来源: Laya_社区 发布时间: 20190730
...e(this,this.loadConfigCallBack)) } public loadConfigCallBack(str:boolean){ if(str){ var config; config=laya.net.Loader.getRes("res/config/playerCard.json"); PlayerCardManager.instance.initConfig(config); } } 加载到,但是发布为小游戏的话,会报错 2018-01-17 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20180117
...t = function () { let source = img.source; if (source) { //Math.max是左边的效果,min是右边的效果 let ratio = Math.max(source.width, source.height) / 100; img.width = source.width / ratio; ...
来源: Laya_社区 发布时间: 20180514
...清除开放域数据 */ function clearDrawOpenData(layout: Laya.Sprite) { if (layout) { layout.destroyChildren(); } } 你这报的错很可能是JSON错了 2019-03-28 0 0 分享 微博 QZONE 微信 小仙男 赞同来自: 不知道是哪里的问题啊 就是报错问同事了说是因为微信...
来源: Laya_社区 发布时间: 20190328
...e.pos(0, 0); var texture:Texture=new Texture(Browser.window.sharedCanvas); if (texture) { // texture.bitmap.alwaysChange=true; //小程序使用,非常费,这个参数可以根据自己的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0...
来源: Laya_社区 发布时间: 20180725
...戏的显示区域 1600,则将背景1的x轴坐标,向右移动 1600*2. if (this.moveX - this.bg1.x >= this.BG_WIDTH) { this.bg1.x += this.BG_WIDTH * 2; } //当背景2向左移动出游戏的显示区域 1600,则将背景2的x轴坐标,向右移动 1600*2. if (this.moveX - this.bg2.x >= th...
来源: Laya_社区 发布时间: 20160722
...代码或者跳过那段编译错误 w1114367261 • 2018-04-13 12:04 你if判断失败就是不执行啊 itachi1d • 2018-04-13 12:06 @w1114367261:大哥是编译期报的错不是运行期啊。。。。
来源: Laya_社区 发布时间: 20180412