大约有 2,261 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1668) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(52) Laya_示例(48) Laya2.0_示例(42)
...文档看是 "没有时间限制". 大小有什么限制吗?比如存了 x M你们会自动清除. 2 支持情况? 另外这个Support参数. 什么情况会发生失败? 用户安装拒绝本地存储权限? 还是某些平台不支持? 可否举几个可能发生失败的例子? 2017-01-19 添加...
来源: Laya_社区 发布时间: 20170119
...ZONE 微信 nothing 赞同来自: 2020-12-10 19:03:43.642443+0800 layabox[1694:38272] xhr.get url=http://192.168.31.159:8900/bin/prefab/DropBox.json 2020-12-10 19:03:43.649089+0800 layabox[1694:38272] found the file in the package:b2c6176d 2020-12-10 19:03:47.362020+0800 layabox[1694:38272] --...
来源: Laya_社区 发布时间: 20201209
...; lastTimestamp = new Date().getTime(); count++; totale += deltaTime; this.x += this.speed_x*deltaTime; this.y += this.speed_y*deltaTime; });用以上代码移动一个继承Sprite的对象,边缘出现闪烁;请大家帮忙看看,谢谢 var Tank = (function () { function tankSprite() { thi...
来源: Laya_社区 发布时间: 20170920
...直接对接? 我尝试使用如下方式分包导出 https://ask.layabox.com/question/329 然后通过如下教程分包加载 https://developers.weixin.qq.com/minigame/dev/tutorial/base/subpackages.html 1. 发现加载其他js,有引用Laya的地方,都报Laya未定义, 2. 加载主...
来源: Laya_社区 发布时间: 20180621
...0, 100, 300, "#ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffff...
来源: Laya_社区 发布时间: 20190722
...么克隆一个对象啊? 在下面的“ tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) { let tempSpr: Sprite = new Sprite(); let tempImg: Laya.I...
来源: Laya_社区 发布时间: 20170508
...相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_XS 赞同来自: 引擎中没有提供拖尾的效果代码吧,代码是你做的吧,是不是你的实现方式存在问题,你可以说下你的实现方式 2018-08-22 0 3 分享 微博 QZONE 微信 承 赞同来自: ...
来源: Laya_社区 发布时间: 20180816
...Elem = document.documentElement var win = document.defaultView var clientBox = Browser._container.getBoundingClientRect() this._point.setTo((e.pageX || e.clientX)-clientBox.x - win.pageXOffset - docElem.clientLeft,(e.pageY || e.clientY)-clientBox.y - win.pageYOffset - docElem.clientTop); // this._po...
来源: Laya_社区 发布时间: 20191227
list 数据不会及时渲染 refreshCard(0,[xxxxxx]); public function refreshCard(index:int,cardArr:Array):void{ var cardList:List = _homeSeceneView["myCard_"+index]; if(cardList){ if(!cardList.visible){ ...
来源: Laya_社区 发布时间: 20170310
...的一个页面引入,能打包之后放到android studio里面访问index.html不? mPlugin.game_plugin_set_option("gameUrl", "http://192.168.x.x:8900/bin/index.html"); 这种方式能够访问到index.html,有没有直接把layaAir打包直接放在android Studio 里面,然后直...
来源: Laya_社区 发布时间: 20171224