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

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

271. LayaFlash如何使用chrome调试问题? [ 67%]

...rite; import flash.events.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目...

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

272. timeline播放完成Bug [ 67%]

...layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.graphics.drawTexture(monkey, 0, 0); var tl = new Laya.TimeLine(); tl.once('complete', this, function() { ap...

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

273. 在运行时,随机出现黑屏,没有报错 [ 67%]

...报错 window is not defined 导微信小程序报错window.focus is not a function 我这样载入场景问题出现在哪呢?? laya2 发布微信开放域工程,用微信开发者工具打开报错 发布H5后通过网页打开出现左上角的那个图标是什么东东 怎么去掉 问题...

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

274. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 67%]

...示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conne...

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

275. as编译器1.7.5beta的问题 [ 67%]

...代码片段,感觉是编译器的问题。。麻烦解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String...

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

276. 3.0的HTMLDivElement中,img页签报错 [ 67%]

...i的富文本xml解析报错 导微信小程序报错window.focus is not a function 本地调试加载本地图片都报错 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2023-02-28 19:24 浏览: 4163 关注: 2 人

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

277. 发布报错[xmldom error] element parse error: Error: invalid tagName: [ 67%]

...ollisionObject' of undefined 导微信小程序报错window.focus is not a function 重力感应 Accelerator 发布微信游戏后失效。是因为什么? 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 小游戏项目 加载有中文的json文...

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

278. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 66%]

... 想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一次 Laya.stage.destro...

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

279. 报错:3594: XXXX不是动态类 XML 的可识别方法。 [ 66%]

...下怎样动态加载prefab 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-03-14 17:15 浏览: 769 关注: 1 人

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

280. 隐藏默认的虚拟键、屏蔽APP窗口弹出脚本错误信息 的问题 [ 66%]

...藏默认的虚拟键、屏蔽APP窗口弹出脚本错误信息 的问题 (function () { (() => { //初始化屏幕 宽高 使用WebGL渲染 Laya.init(640,960,Laya.WebGL); //屏幕缩放模式 stage 舞台 Laya.stage.scaleMode= Laya.Stage.SCALE_NOSCALE ; //水平对齐方式 Laya.stage.alignH = L...

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