大约有 734 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)
...file协议。如何处理 laya.core.js:18284 Access to XMLHttpRequest at 'file:///E:/Game-SuperMary/SuperMary/release/web/res/atlas/option.atlas' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension...
来源: Laya_社区 发布时间: 20200107
...须知-版本更新-问题解答(最新版本:1.7.16) Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 Layaair IDE的帧属性面板不见了 TS项目使用ma...
来源: Laya_社区 发布时间: 20161214
...一样的代码,提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20171111
this.bitmap.activeResource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = n...
来源: Laya_社区 发布时间: 20200618
...都不出这个问题! gameThirdScriptErrorexpected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f) errorReport @ WAGame.js:1 thirdErrorReport @ WAGame.js:1 (anonymous) @ WAGame.js:1 f @ WAGameSubContext.js:1 (anonymous) @ WAGameSubContext.js:1 ...
来源: Laya_社区 发布时间: 20190621
...r: #000000; background-color: rgba(0, 0, 0, 0.9)} span.s1 {font-variant-ligatures: no-common-ligatures} yaotekejirigala:~ root# npm install layacmd -g/usr/local/bin/layacmd -> /usr/local/lib/node_modules/layacmd/layacmd.js > electron@1.8.6 postinstall /usr/local/lib/node_modules/layacmd/node_m...
来源: Laya_社区 发布时间: 20180508
...修改.as3proj文件相应标签如下 <compileTargets> <compile path="src\HelloWorld.as" /> </compileTargets> 3. 运行后依然编译执行默认生成的LayaSamples.as 2018-09-14 添加评论 已悬赏1元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180914
1整天了,还是没解决加载本地文件问题 Access to Image at 'file:///E:/layawork/myLaya12/bin/h5/war/background.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 加载本地文件总是报错, chrome 浏览器快...
来源: Laya_社区 发布时间: 20170830
...E 微信 cuixueying 赞同来自: Tween.to(sp,{x:400},1000,null,Handler.create(this,onTweeed)) onTween就是你的缓动完成后的回调function 2017-01-04 0 2 分享 微博 QZONE 微信 匿名用户 赞同来自: function begingame(){ console.log("开始游戏"); var Tween = Laya...
来源: Laya_社区 发布时间: 20170104
...场景1的资源丢弃。 做法1.两个场景的Scene2D属性Auto Destroy At Closed 都勾选 场景1跳转场景2的代码 private onynYesBtn(evt: Laya.Event): void { console.log("[BtnClick] [onynYesBtn!]"); //this.yn_board_Cc.selectedIndex = 0; //跳...
来源: Laya_社区 发布时间: 20230517