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

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

31. 分包分出来的JS代码调试起来不是很方便,有无办法改进 [ 76%]

...可以有,学习了。 15068753667 • 2016-12-08 14:49 '//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead.

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

32. "Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 76%]

...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

33. 其他引擎的Demo-Example_23 [ 74%]

...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

34. 区块地图-等角地图 [ 73%]

...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

35. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 73%]

...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

36. 其他引擎的Demo-Example_23 [ 73%]

...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

37. 区块地图-等角地图 [ 73%]

...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

38. 苹果上架直接导致账号被调查。。。 [ 72%]

... 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

39. 为什么字符串不能连接? [ 72%]

为什么字符串不能连接? 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

40. TileMap有明显的bug [ 72%]

...板,新建一个图块:图像选择Tiled/examples下的isometric_grass_and_water.png;块宽度填64,块高度64。然后就可以点击完成。 3、在图块面板上,刚才的图块应该都显示出来了,选择图块集左上角的第一个,也就是全是草的那个图块,在4x...

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