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

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

261. version management 找图片 [ 55%]

... 没用version management 是没事的 this.ballGame.ball = Laya.Browser.document.getElementById('b_ball'); this.ballGame.ball.src = 'gameUI/ball.png'; 用了后这个 ball.png 变成这样 ball67163cd2.png 就找不到这个 ball.png 请问怎样把这个version management 后的ball.png 更新到...

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

262. 在VIVO小游戏中 输入框无法调用起来手机键盘 [ 55%]

............",input,value) } else { input.target = null; _focusOut(); Browser.document.body.scrollTop = 0; input.blur(); if (Render.isConchApp) input.setPos(-10000, -10000); else if (inputContainer.contains(input)) inputContainer.removeChild(input); } } }   执行此方法的时候小键盘不出来 ...

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

263. 微信小游戏开发数据域在舒适化时会报错 [ 55%]

...据域那个项目就这两句代码会报错 Uncaught TypeError: Browser.document.addEventListener is not a function     at Function.AudioSound._initMusicAudio (index.js:10916)     at Function.Browser.__init__ (index.js:6944)     at Object.Laya.init (index.js:365)     at new Football_public...

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

264. 小游戏的后台切换事件名是什么?? [ 55%]

... 熊猫大侠 赞同来自: https://developers.weixin.qq.com/minigame/dev/document/render/canvas/wx.createCanvas.html 自己去找api 2018-07-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 杰 相关问题 分享:自定义事件派...

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

265. [LayaNative3]laya3List 里面的itemrender会被清掉 [ 55%]

...状态栏遮挡,即使关闭状态栏也不能解决 手机环境下,document.onclick事件接收不到,会被遮挡 webgl的游戏,在ios的微信中运行,切换到后台就会被系统杀掉 2D夹层3D如果上下两层的贴图一样上层的2D显示对象也会被3D遮挡 layanative1....

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

266. 截屏后用img标签显示,截取的区域颜色加深了 [ 55%]

...anvas = htmlC.getCanvas(); var base64Data = canvas.toDataURL("image/png"); document.getElementById('img').src=base64Data;   在微信打开,ios的表现和界面里面显示一致,但是安卓手机图片颜色明显加深了 右面是在安卓显示的内容 附件 : --> 2018-05-11 添加评...

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

267. dialog.removeSelf is not a function [ 55%]

...场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is...

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

268. IDE报错,不知道什么鬼问题 [ 55%]

...re\LayaAirIDE2.0\LayaAirIDE_beta\resources\app [10:19:47] Using gulpfile ~\Documents\myLaya\Test2.0\.laya\compile.js [10:19:47] Starting 'compile'... 出错了: TypeScript error: ../../../node_modules/@types/node/index.d.ts(53,22): Error TS6053: File '../../../node_modules/@types/node/base.d.ts' not...

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

269. layaAir和android studio二次开发 [ 55%]

...面声明的Java的类名匹配. var a=false; // 注册手指按下事件 document.addEventListener("touchstart",function(e){ a=!a;// 实现奇数次打开 偶数次关闭 // b、调用静态函数openlight 参数为a Test.call("openlight",a); }); 2017-12-25 添加评论 免费帖 --> 分享 微博 ...

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

270. index.html没引用到的lib文件夹下的js可以全部删除吗? [ 55%]

...。 as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? 问题状态 最新活动: 2018-04-26 21:43 浏览: 1449 关注: 2 人 Prajna • 2018-04-27 10:08 3Q

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