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

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

31. 请问在objectC中如何调用js [ 76%]

...dd.callWithBack(function(n){alert("2+3="+n);},"operatorWith:and:",2,3); chen541788 • 2018-01-18 10:16 然后objectC才能回调 [[conchRuntime GetIOSConchRuntime] callbackToJSWithObject:self methodName:@"operatorWith:and:" ret:[NSNumber numberWithInt:result]]; chen541...

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

32. laya.device.motion.RotationInfo [ 76%]

...见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 RotationInfo  alpha : Number Z轴旋转角度,其值范围从0至360。 ...

来源: laya_api 发布时间: 20170929

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

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

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

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

35. 其他引擎的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_示例 发布时间: 20251130

36. 区块地图-等角地图 [ 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_示例 发布时间: 20251130

37. 关于使用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

38. 其他引擎的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_示例 发布时间: 20251130

39. 区块地图-等角地图 [ 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_示例 发布时间: 20251130

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

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