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

大约有 17 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0030 秒)

1. 文本-位图字体 [ 100%]

....height - txt.height >> 1); Laya.stage.addChild(txt); } })();module laya { import BitmapFont = Laya.BitmapFont; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { private fontName...

来源: Laya_示例 发布时间: 20240929

2. 文本-位图字体 [ 99%]

...a.stage.height - txt.height >> 1); } } new Text_BitmapFont();module laya { import BitmapFont = Laya.BitmapFont; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { private fontName...

来源: Laya2.0_示例 发布时间: 20240929

3. 网络和格式-ProtocolBuffer [ 94%]

...s, there is also encodeDelimited and decodeDelimited. } })();module laya { import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer { private ProtoBuf:any = Browser.window.protobuf; constructor() { Laya.init(550, 400); this.ProtoB...

来源: Laya_示例 发布时间: 20240929

4. 网络和格式-ProtocolBuffer [ 94%]

...s, there is also encodeDelimited and decodeDelimited. } })();module laya { import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer { private ProtoBuf:any = Browser.window.protobuf; constructor() { Laya.init(550, 400); this.ProtoB...

来源: Laya2.0_示例 发布时间: 20240929

5. 区块地图-等角地图 [ 94%]

... 0, radiusY * 2, color); Laya.stage.addChild(sprite); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handler; import Web...

来源: Laya_示例 发布时间: 20240929

6. 区块地图-等角地图 [ 94%]

...age.addChild(this.sprite); } } new TiledMap_IsometricWorld();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handler; import Web...

来源: Laya2.0_示例 发布时间: 20240929

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

...e,                        /* Do not emit outputs. */     // "importHelpers": true,                 /* Import emit helpers from 'tslib'. */     // "downlevelIteration": true,            /* Provide full support for iterables in 'for-of', spread, and destructuring when ta...

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

8. rev-path的nodejs库被修改了,导致版本管理失效 [ 88%]

...) 请问2.0的版本开始,我用ts编写的相关内容,都要使用importexport吗? 问题状态 最新活动: 2020-09-01 10:57 浏览: 2414 关注: 2 人 liangzhch108 • 2020-09-01 09:23 官方链接 - https://github.com/sindresorhu ... ex.js 'use strict'; const modifyFilename = requi...

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

9. 请问在objectC中如何调用js [ 87%]

...API 请问2.0的版本开始,我用ts编写的相关内容,都要使用importexport吗? 请问下加载TFF字体要怎么加载呢? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 请问有人遇到oppo小游戏字体...

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

10. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 77%]

...e : TextFilePatchTools.py # @Date : 2017-03-14 18:45 # @Author : DebuggerX import sys import shutil def readcontentfromfile(filepath, backuporiginalfile=True): editfile = open(filepath, "r") content = editfile.read() editfile.close() if backuporiginalfile: shutil.copy(filepath, filepath + ".bak") re...

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