大约有 151 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0033 秒)
Laya_社区(120) Laya2.0_文档(11) Laya3.0_api(5) Laya2.0_示例(4) Laya_示例(4) Laya2.0_api(3) laya_api(2) Laya3.0_文档(2)
...可以有,学习了。 15068753667 • 2016-12-08 14:49 '//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead.
来源: Laya_社区 发布时间: 20161208
...to 'ws://192.168.0.8:8102/' failed: Invalid frame header FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Array buffer allocation failed FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory httpRequest send返回Request failed Status:0 ...
来源: Laya_社区 发布时间: 20180205
...animate() { if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions var laser = new Sprite(); laser.loadImage("../../res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; var pos1; var pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHe...
来源: Laya_示例 发布时间: 20241001
...aya.TiledMap; var Point = Laya.Point; var Rectangle = Laya.Rectangle; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var tiledMap; var layer; var sprite; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(1600, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.align...
来源: Laya_示例 发布时间: 20241001
...content = readcontentfromfile(filepath, backuporiginalfile) if pos != None and pos > 0: content = content[:pos] + '\n' + add_content + '\n' + content[pos:] savefilewithnewcontent(content, filepath) return pos = content.find(probe) if pos != -1: if tofront: content = content[:pos] + add_content + ...
来源: Laya_社区 发布时间: 20170418
...uctor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(viewWidth, viewHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOW...
来源: Laya2.0_示例 发布时间: 20241001
...ap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/isometric_grass_and_water.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Laya.Handler.create(this, this.mapLoaded), null, new Point(1600, 800)); } onStageClick() { let p = new Laya.Point(0, 0); // 通过屏幕坐标来获...
来源: Laya2.0_示例 发布时间: 20241001
... app or service - Misleading app content - Engaging in inauthentic ratings and reviews manipulation - Providing misleading customer support responses - Providing misleading responses in Resolution Center - Engaging in misleading purchasing or bait-and-switch schemes - Engaging in other dishonest or ...
来源: Laya_社区 发布时间: 20191108
为什么字符串不能连接? 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