大约有 24 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0043 秒)
... 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_示例 发布时间: 20250220
...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_示例 发布时间: 20250220
加载TiledMap 不显示 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 WebGL = Laya.WebGL; export...
来源: Laya_社区 发布时间: 20201230
...ha? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 请问下加载TFF字体要怎么加载呢? 问题状态 最新活动: 2018-05-28 1...
来源: Laya_社区 发布时间: 20180510
...题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 请问一下 ProtoBuf 支持 as3 版本吗? 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下...
来源: Laya_社区 发布时间: 20180808
...adImage加载图片怎么设置要显示的x,y坐标和宽高? 代码: import TiledMap = Laya.TiledMap; class GameMain{ private tMap:TiledMap; constructor() { Laya.init(935, 224, Laya.WebGL); this.tMap = new TiledMap(); var viewRect: Laya.Rectangle = new Laya.Rectangle(0, 0, Laya.stage.width, La...
来源: Laya_社区 发布时间: 20190214
...  (图6) #### 2.1.2 创建地图示例 ```java package { import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Browser; import laya.webgl.WebGL; public class TiledMapDemo { private var tMap:TiledMap; public function TiledMapDemo() { //初始化舞台 Laya.init(Br...
来源: Laya2.0_文档 发布时间: 20210714
...ngjingmeng - Tink 赞同来自: 我新写了个例子,发现个新问题 import Sprite = Laya.Sprite; class Test extends Sprite{ constructor(){ super(); this._initView(); } private _initView():void { let sprite:Sprite = new Sprite(); sprite.loadImage("res/scene/1001/layer1/qiang.jpg", 100, 100, 10...
来源: Laya_社区 发布时间: 20180308
...题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编...
来源: Laya_社区 发布时间: 20171012
...数 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 关于发布oppo、vivo快游戏,无法生成Rpk问题 两个问题 有元件支援视频流渲染吗? Image元件读不了资...
来源: Laya_社区 发布时间: 20200111