大约有 160 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(126) Laya2.0_文档(11) Laya3.0_文档(5) Laya3.0_api(5) Laya2.0_示例(4) Laya_示例(4) Laya2.0_api(3) laya_api(2)
为什么字符串不能连接? private getRandomColor():String { let arr:Array<String>=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"]; let str:String="#"; for(let i:number=0;i<6;i++){ let index:number=arr.length*Math.random(); str+=arr[index];//在IDE里面这句报...
来源: Laya_社区 发布时间: 20171118
...板,新建一个图块:图像选择Tiled/examples下的isometric_grass_and_water.png;块宽度填64,块高度64。然后就可以点击完成。 3、在图块面板上,刚才的图块应该都显示出来了,选择图块集左上角的第一个,也就是全是草的那个图块,在4x...
来源: Laya_社区 发布时间: 20190102
...not broken. The problem with IE is that it pre-mutliplies colors by alpha, and then divides back, ignoring UNPACK_PREMULTIPLY_ALPHA_WEBGL being false. Closer your alpha to 0, more precision loss occurs on IE. Try separating color and alpha to different textures. 2018-04-14 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180414
...本:1.7.16) 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 分享:适配LayaAir版本的PureMVC框架 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 分享:打地鼠 AS、JS、TS版本 Demo! 求问s...
来源: Laya_社区 发布时间: 20200831
...出的场景在手机上提示"request:fail invalid url" FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header...
来源: Laya_社区 发布时间: 20180105
构建andorid工程后,在AndoridStuido中模拟器调试运行出现如下问题,然后打不开APP Waiting for device. Target device: emulator-5554 Uploading file local path: E:\Laya\shjy3Android\AndroidStudio\Shjy3Android\app\build\outputs\apk\app-debug.apk remote path: /data/local/tmp/com.m...
来源: Laya_社区 发布时间: 20170215
...m/dev/cn/mini-app/develop/developer-instrument/developer-instrument-update-and-download](https://microapp.bytedance.com/dev/cn/mini-app/develop/developer-instrument/developer-instrument-update-and-download) > 注意,这里要使用本篇文档给的下载地址(或者在字节小程序文档中...
来源: Laya2.0_文档 发布时间: 20210714
...in both /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore and /private/var/mobile/Containers/Bundle/Application/6815AAA5-5DD9-4F5E-B035-86F46C8BD87F/layabox.app/layabox. One of the two will be used. Which one is undefined. 2017-11-27 16:20:55.044 layabox[644:298297] 当前应用软...
来源: Laya_社区 发布时间: 20171127
...影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersionLoaded() { //激活大小图映射,加载小图的时候,如果发现小图在大图合集里面,则优...
来源: Laya_社区 发布时间: 20201110
...er.create({ element: document.body, engine: engine }); // create two boxes and a ground var boxA = Bodies.rectangle(400, 200, 80, 80); var boxB = Bodies.rectangle(450, 50, 80, 80); var ground = Bodies.rectangle(400, 500, 810, 60, { isStatic: true }); // add all of the bodies to the world World.add(e...
来源: Laya_社区 发布时间: 20170905