大约有 386 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)
Laya_社区(274) Laya2.0_文档(23) Laya3.0_api(19) Laya2.0_api(17) Laya2.0_示例(15) Laya3.0_文档(14) Laya_示例(13) laya_api(11)
...fairy的GUI实例化之前导入字体,就可以正常显示 { url: 'res/font/Symbol.ttf', type: Loader.TTF } 这里特别说明 1.有些ttf特别的大,所以最好是自己做一个ttf 比如数字专门使用的 这样会小很多 具体制作方式可以百度 做出来大概2到3kb 2.编辑...
来源: Laya_社区 发布时间: 20180119
...ype 文件类型(image、text、json、xml、arraybuffer、sound、atlas、font) * @param callBack 文件加载回调,回调内容[errorCode码(0成功,1失败,2加载进度) * @param encoding 文件编码默认 ascill,非图片文件加载需要设置相应的编码,二进制编码为空字符...
来源: Laya2.0_文档 发布时间: 20210714
...跑起来。 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 19.0px; font: 13.0px 'Helvetica Neue'; color: #000000} 游戏在后台放置一段时间(大约一两个小时后)会黑屏,然后要等好长的一段时间才响应过来,我看log此时JS逻辑都没跑了。 苹果虽然不...
来源: Laya_社区 发布时间: 20190609
...解决方案 Laya_Aaron • 2018-08-06 16:09 webglcharimage.as 里面 var sFont:String = "normal 100" + nFontSize +"px Arial"; 改为 var sFont:String = "normal 100 " + font; ggg333 • 2018-08-06 16:39 依然会出问题,然而我没办法给你demo,小demo出不...
来源: Laya_社区 发布时间: 20180803
..._namemap={}; namemap[0x1]="ALPHA"; namemap[0x2]="fillStyle"; namemap[0x8]="font"; namemap[0x100]="lineWidth"; namemap[0x200]="strokeStyle"; namemap[0x2000]="_mergeID"; namemap[0x400]=namemap[0x800]=namemap[0x1000]=; namemap[0x4000]="textBaseline"; namemap[0x8000]="textAlign"; namemap[0x10000]="_nBle...
来源: Laya_社区 发布时间: 20171104
...CHY 层级资源,比如:场景ls文件与预制体lh文件 Laya.Loader.FONT font 位图字体类型 Laya.Loader.TTF ttf TTF字体类型 Laya.Loader.MESH MESH Mesh资源 Laya.Loader.MATERIAL MATERIAL Material资源 Laya.Loader.TEXTURE2D TEXTURE2D Texture2D资源 Laya.Loader.TEXTURECUBE TEXTURE2D ...
来源: Laya3.0_文档 发布时间: 20251010
...52.710235+0800 qimiaomuchanIOS[5815:1707048] found the file in the package:font/layabox.ttf 2018-01-28 23:29:52.934096+0800 qimiaomuchanIOS[5815:1707048] JCFileRes::onDownloadError file error[1]:file:///var/mobile/Containers/Data/Application/D4FEBBF4-3A6D-4197-98CE-3671577EAE95/Library/Caches/locals...
来源: Laya_社区 发布时间: 20180129
...xt = new Laya.Text(); this.displayText.color = "#ffffff"; this.displayText.font = "Arial"; this.displayText.fontSize = 24; this.displayText.bold = true; this.displayText.x = 10; // 例如,设置在屏幕左上角 this.displayText.y = 10; this.owner.scene.addChild(this.displayText); // 在场景中...
来源: Laya3.0_文档 发布时间: 20251010
... var size; var style=this.style; var fontStr=style.font; var startX=0; for(var i=0,l=w.length;i<l;i++){ size=Utils.measureText(w[i],fontStr); var tHTMLChar=words[i]=new HTMLChar(w[...
来源: Laya_社区 发布时间: 20180517
...ht: 300px;margin: 10% auto 0;background: #ccc;position: relative;} .msgDiv{font-size: 30px;color: #fff;text-align: center;padding-top: 30px;} </style> </head> <body> <div class="layaDiv"></div> <div class="msgDiv">日志</div> </body> <script src="h...
来源: Laya_社区 发布时间: 20170427