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

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

181. [LayaAirIDE3]layaairIde 在mac系统中运行没有界面。mac 版本 10.15.7 ,node 20.11.1,npm 10.2.4, [ 69%]

...b   Expected in: /usr/lib/libSystem.B.dylib   Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed     at n.send (node:electron/js2c/browser_init:165:417)     at b.send (node:electron/js2c/browser_init:161:2494)     at notifyFocusStatus (/...

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

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

...nitialize 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 Connecting to com.layabox.game Capturing and displaying logca...

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

183. 设置滤镜(JavaScript-LayaAir基础篇(JS)-位图) [ 69%]

...ers属性将颜色滤镜效果叠加到位图中。下面我们创建一个Main.js类,编写代码如下: ```javascript (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var ColorFilter = Laya.ColorFilter; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.H...

来源: Laya2.0_文档 发布时间: 20210714

184. Laya3.0.2IDE中,设置tsconfig.json中的paths配置无效 [ 69%]

...请: 与内容相关的链接 提交 1 个回复 Laya_phhh 赞同来自: Main.ts: import observe  from "@observe";   tsconfig: "@observe": ["utils/observe"], 2023-08-07 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发...

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

185. 安卓闪退 有堆栈 [ 69%]

...ir.so [arm64-v8a] 8 #07 pc 0000007efa4060d0 <unknown> 9 java:   # main(1) 1 android.os.MessageQueue.nativePollOnce(Native Method) 2 android.os.MessageQueue.next(MessageQueue.java:328) 3 android.os.Looper.loop(Looper.java:164) 4 android.app.ActivityThread.main(ActivityThread.java:5981) 5...

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

186. 使用命名空间遇到的问题 [ 68%]

...用一个命名空间NameSpace1,里面定义不同的类, 这时候在Main.ts中 new NameSpace1.A();就报错,说找不到命名空间!   如果在命名空间前都加export,那么在Main.ts中就会提示有3个NameSpace1,他们分别对应A.ts、B.ts、C.ts,而且A.ts、B.ts、C.t...

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

187. the server responded with a status of 404 (Not Found) [ 68%]

the server responded with a status of 404 (Not Found) /Unity/LayaScene_Main/Conventional/Main.ls:1 Failed to load resource: the server responded with a status of 404 (Not Found)   我在ide中调试都没问题,但是发布出来后,打开就报错,开始是跨域问题,我放在服务器...

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

188. 动效模板bug [ 68%]

... 何闲 查看源码后我已经找到临时解决方法,在入口类型(Main.ts)里增加类型注册,如 import {ui} from "./ui/layaMaxUI"; Laya.ClassUtils.regClass("ui.effectUI",ui.effectUI);但是感觉是生成的bug,这个应该自动生成在GameConfig里,求修复。。。现在太...

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

189. Laya3D init error,must support webGL [ 67%]

...位牛人的解决方式:在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready")这行上面加一行: this.app.commandLine.appendSwitch("ignore-gpu-blacklist"); 保存,重启IDE再试试(我试过是可以的 ) 2019-04-13 0 1 分享 微博 QZONE 微信 为什...

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

190. LayaAir IDE 语言包的使用? [ 67%]

...t.Loader; import laya.utils.Handler; import laya.webgl.WebGL; public class Main { public function Main() { Laya.init(640, 960, WebGL); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.bgColor = "#eeffcc"; Laya.loader.load("lang.lang",Handler.create(this,onLoaded),null,Loader.JSON); } private func...

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