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

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

21. 技术文档svg不可以使用 [ 68%]

..."#ffcccc";var data = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +'<foreignObject width="100%" height="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' +'<em>I</em> like ' +'<span style="colo...

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

22. 借助AMD来解决HTML5游戏开发中的痛点 [ 67%]

...件,目前的最新版本是2.3.4,这是下载链接[http://requirejs.org/docs/rele ... re.js][lib]。把下载的库文件放入`./bin`目录,并且在index.html增加文件引用以及游戏入口模块的启动。 ```html <script data-main="js/GameMain" src="./require.js" defer async="tr...

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

23. 服务器websocket c++发送二进制类型包,客户端没有任何事件响应 [ 66%]

...   客户端: socket = new Socket(); //socket.connect("echo.websocket.org", 80); //socket.connectByUrl("ws://echo.websocket.org:80"); socket.connectByUrl('ws://127.0.0.1:88');// //output.endian = Byte.LITTLE_ENDIAN;//这里我们采用小端; output = socket.output; //socket.endian = Byte.LITTL...

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

24. 搭建开发环境(TS代码编译器)(TypeScript-LayaAir基础篇(TS)-快速上手) [ 65%]

...可,推荐LTS版本,如图1-2所示,URL地址为:[https://nodejs.org/en/](https://nodejs.org/en/) ![图1-2](img/1-2.png) (图1-2)上图仅作为参照使用,打开链接直接下载LTS版本即可。 > 注意:默认链接打开的是window(x64),非64位的电脑,可以点击Other...

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

25. layacmd安装失败 [ 64%]

...m-cli.js" "install" "-g" "layacmd" "--registry=https://registry.npm.taobao.org" 5902 verbose node v8.9.2 5903 verbose npm  v5.5.1 5904 error code ELIFECYCLE 5905 error errno 1 5906 error electron@1.7.9 postinstall: `node install.js` 5906 error Exit status 1 5907 error Failed at the electron@1.7.9 p...

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

26. LayaAir打包发布PC或MAC平台的桌面应用程序 [ 63%]

...n-builder": "^22.9.1" }, "electronDownload":{ "mirror":"https://npm.taobao.org/mirrors/electron/" }, "build": { "appId": "com.lear.game1", "copyright":"Lear", "productName":"game1", "mac": { "target": [ "dmg", "zip" ] }, "win": { "target": [ "nsis", "zip" ] } } } 复制代码[/code] 由于官方镜...

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

27. LayaAir 2.6.1 beta, lib 类库中导入的的 js 文件中有 export 和 import 关键字,编译运行之后报错 不支持ES6 ? [ 62%]

...使用。 关于浏览器支持性请参考MDN https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/export https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/import 2020-04-30 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

28. Byte二进制读写(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 61%]

...扩展自己的项目的应用。 - [DataView](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/DataView)视图提供了一个与平台中字节在内存中的排列顺序(字节序)无关的从[`ArrayBuffer`](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Re...

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

29. Byte二进制读写(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 61%]

...扩展自己的项目的应用。 - [DataView](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/DataView)视图提供了一个与平台中字节在内存中的排列顺序(字节序)无关的从[`ArrayBuffer`](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Re...

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

30. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 61%]

...下: https://developer.apple.com/streaming/。 https://developer.mozilla.org/zh_CN/docs/Web/API/MediaSource。 https://github.com/nickdesaulniers/netfix https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement 上面的例子我们使用hls+plyr来进行播放。其他的方法请开发...

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