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

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

211. 官方DynamicBatchTest照做为什么动态合不了批? [ 55%]

...;   Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); var radMatrix = new Laya.Matrix4x4(); var circleCount = 50;   var boxMesh = Laya.PrimitiveMesh.createBox(0.02, 0.02, 0.02); var boxMat = new Laya.BlinnPhongMater...

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

212. 【字节小游戏】游戏中播放视频 [ 54%]

...位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement, reference, 0, 0, reference.width, reference.height]); } } new DOM_Video(); 2020-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

213. 打包后启动游戏后报错 [ 54%]

... public function send(type:String,url:String,callbackName:String):void { this.type = type; //发送请求 var script:* = Browser.createElement("script"); script.id = "serverlist"; Browser.document.head.appendChild(script); script.src = url; script.type = "get"; Browser.window[callbackName] = callbac...

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

214. Android替换游戏启动logo看不到设置的图片 [ 54%]

...er.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 var testView:TestView = new TestView(); Laya.stage.addChild(testView); __JS__("if(window.conch)") { dd=__JS__("window.loadingView"); dd.loading(100); } }...

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

215. prop 识别不到 [ 54%]

...      onAwake() {         console.log("场景渲染完成", this.speed);     } }   IDE中报错: [15:26:34] Working directory changed to E:\LayaAirIDE\resources\app   [15:26:35] Using gulpfile E:\myLaya\demo2\.laya\compile.js   [15:26:35] Starting 'compile'...   [15:26:38] '...

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

216. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 53%]

...时 这句话会导致 mask 的尺寸超过2048导致引发上面的问题 this.mask.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000");

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

217. LayaAir开发笔记(1)五十音图连连看 [ 53%]

...true; copyright.pos(20, g_stat_heiht - 35); copyright.on(Laya.Event.CLICK, this, function() { window.location.href = "http://www.coderluan.com"; }); Laya.stage.addChild(copyright); 3.设置积分板和开始菜单 右下弄了个“点击开始游戏”的文本,点击只会游戏开始,这个...

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

218. laya2.0调试时候Error: "abort Cannot enlarge memory arrays.这个问题定位到了Physics3D,要怎么解决呀 [ 52%]

...回复吧,打开 laya.d3.js (2.1.1beta的版本在13790行),这样 this._defaultPhysicsMemory=512;

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

219. 使用webgl之后toDataUrl返回黑色的图像 [ 51%]

...L); Stat.show(); Laya.stage.bgColor = "#ffcccc"; Laya.stage.on(Event.CLICK,this,onClick); sp= new Sprite(); sp.name='base'; sp.loadImage("logo.png"); Laya.stage.addChild(sp); } private function onClick():void { var htmlsss:String=(Laya.stage.getChildAt(0) as Sprite).drawToCanvas(100,100,0,0).getCanv...

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

220. 构建apk后,java报错 [ 44%]

...ed 2018-11-26 18:31:45.575 1505-1538/? E/PackageManager.DexOptimizer: Well this is awkward; package null had UID -1     java.lang.Throwable         at com.android.server.pm.PackageDexOptimizer.performDexOptLI(PackageDexOptimizer.java:149)         at com.android.server.pm.PackageDexOptimize...

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