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

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

2421. 使用Laya.URL.basePath后,拼接的UI就加载不了一些本地图片了,wxlocal文件夹要怎么用? [ 64%]

使用Laya.URL.basePath后,拼接的UI就加载不了一些本地图片了,wxlocal文件夹要怎么用? 我使用Laya.URL.basePath后,拼接的UI就加载不了一些本地图片了,wxlocal文件夹要怎么用?我将拼接的ui使用本地的图集放在wxlocal文件夹下,然后进...

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

2422. mac安装typescript的问题 [ 64%]

...fstream_path: '/usr/local/lib/node_modules/typescript', npm ERR! fstream_class: 'DirWriter', npm ERR! fstream_stack: npm ERR! [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:35:25', npm ERR! '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:47:53', npm ERR! 'FSR...

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

2423. 在安卓手机上drawToTexture不能正确返回纹理对象,是HTMLCanvas [ 64%]

...在安卓手机上drawToTexture不能正确返回纹理对象,是HTMLCanvas 浏览器上 是能返回正确值,在layaNative模式出包。手机上调用此方法返回的对象类型不对    private _agentTexture: any; private _agent:Laya.Sprite;    public startDrag(dragCom: Laya.Sprite, ...

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

2424. 关于适配noborder模式(个人适配分享及建议) [ 64%]

...么说 理解了么~~~~  现在我不知道laya有没有提供当前canvas相对于屏幕窗口的裁切值 所以我自己谢了一个方法来实现 如下 AppConfig.viewRect = {};var divWidth = window.innerWidth; var divHeight = window.innerHeight; var devicePixelRatio = Laya.Browser.pixelRatio;...

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

2425. 1.7版本要初始化后有些代码才能用了 [ 63%]

...new laya.display.Text(); // in this line is error , so you can't defined class before "Laya.init" Laya.init(800,600); //test.text = new laya.display.Text(); // in this line is right test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.text); </script> 2017-03-0...

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

2426. LayaAir 寻路库,寻路路径错误 [ 63%]

...yaAir 寻路库,寻路路径错误 已解决: http://yyztom.com/search/astar  也是基于 Brian Grinstead的js版本写的as3版本,相当快速 http://www.briangrinstead.com/ ... dated 拿走不谢 (附件) --------------------------------------------------------------------var arr:Arr...

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

2427. native下使用ttf字体的问题 [ 63%]

...ve下使用ttf字体的问题 尝试了https://ldc.layabox.com/doc/?nav=zh-as-7-2-10 也尝试了https://ask.layabox.com/question/1645 也尝试直接使用ttfloader 然而在安卓机上依然一直都是黑体,确认字体已经加载到了,同时在使用ttfloader的时候,网页上观察...

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

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

...pplications/LayaAirIDE.app/Contents/Resources/node_modules/sharp/build/Release/../.././vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib   Expected in: /usr/lib/libSystem.B.dylib   dyld: Symbol not found: _pthread_jit_write_protect_supported_np   Referenced from: /Applications/LayaAirIDE.app/Cont...

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

2429. LayaAirIDE2.7版本导出类名不正确问题 [ 63%]

...ditor\renders\laya.editorUI.xml文件中取出类名对应XML节点的runClass属性值作为TS导出的类名,那么很显然在这XML里的runClass全部都是小写的laya命名空间   那么临时的解决方案就是修改刚才截图中提到的layabuilder.max.js文件(文件完整路径...

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

2430. layaFlash 无法使用 Loader 加载外部SWF和图片 [ 63%]

layaFlash 无法使用 Loader 加载外部SWF和图片 2015-12-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: willber1245 hello!!willber1234   Loader加载外部的SWF文件以及...

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