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

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

111. 怎么上传并获取图片? [ 58%]

... 手机端h5,在Laya里怎么上传并获取图片? 另外,用原生inputtype="file"】获取的图片怎么交给Laya呢? 附件 : --> 2017-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueyi...

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

112. 如何使用h5打开本地文件的浏览窗口? [ 58%]

...家可以参考! /*[IF-SCRIPT-BEGIN]('var file= document.createElement("input")');('file.type = "file"'); ('document.body.appendChild(file)'); ('file.style.zIndex = 999999'); ('file.style.position = "absolute"'); ('file.style.top = 20'); ('document.body.appendChild(file);') [IF-SCRIPT-END]*/ 2016-...

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

113. Laya中使用shader的问题 [ 57%]

... xy: current (if MLB down), zw: click uniform samplerXX  iChannel0..3; // input channel. XX = 2D/Cube  uniform vec4 iDate; // (year, month, day, time in seconds)   2017-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

114. 使用typescript开发项目,解决文件引用顺序问题 [ 57%]

...n-typescript'; import uglify from 'rollup-plugin-uglify'; export default { input: './src/main.ts', output: { file: './bin/js/main.js', format: 'iife' }, plugins: [ typescript(), uglify() ] }在终端输入rollup指令编译代码,把typescript编译成es5并打包成一个文件并压缩rollup -c...

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

115. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 56%]

... "src",                       /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */     // "removeComments": true,                /* Do not emit comments to output. */     // "noEmit": true,                    ...

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

116. 分享:LayaAir(as3)作品《斯巴鲁·森林人·20周年》微信H5 [ 55%]

...周年》微信H5 我在这个作品中主要用到了原生js上传功能(input[type=file]),同时原生js和laya.js之间进行数据交互,这其间有过几次技术碰壁,感谢 @cuixueying 的技术支持,也真挚地期望LayaAir能够有自己的上传功能,加油! 附件 : --> ...

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

117. Array buffer allocation failed [ 55%]

...ype 'Array' 求助!华为快游戏发布后报错 Unexpected end of JSON input Failed to load: 调试工具正常,真机报错:Request failed Status:0 text( 加载场景失败) HttpRequest在ios系统出现Request failed Status:0 text:,安卓没事 scriptEngine 0xc30edooo loadScriptStrin...

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

118. 密码输入框的文字怎么不见了 [ 55%]

...复问题请先登录 发起人 135*****276 相关问题 怎么获得laya.input输入框里面的值 请问如何让textinput组件输入密码的时候显示*号? Button 中的文字无法垂直居中 文字镜像不见了 请教下textarea如何设置滚动条,现在文字量多一点话就不...

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

119. socket大型项目回调 [ 55%]

...onMessage"+event); // var byte:Laya.Byte = new Laya.Byte(); // this.socket.input.readBytes(byte); if (event instanceof ArrayBuffer){ var byte:Laya.Byte = new Laya.Byte(event); this.socket.input.clear(); this.processPackage(this._package.decode(byte)); } } private sendMessage(reqId, route, msg) { var...

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

120. Array buffer allocation failed [ 54%]

...ype 'Array' 求助!华为快游戏发布后报错 Unexpected end of JSON input Failed to load: 调试工具正常,真机报错:Request failed Status:0 text( 加载场景失败) HttpRequest在ios系统出现Request failed Status:0 text:,安卓没事 scriptEngine 0xc30edooo loadScriptStrin...

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