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

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

1. 区块地图-等角地图 [ 100%]

... 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_示例 发布时间: 20240930

2. 区块地图-等角地图 [ 99%]

...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_示例 发布时间: 20240930

3. 加载TiledMap 不显示 [ 94%]

加载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

4. 请问如何使用laya.d3.core.Layer实现渲染剔除 [ 89%]

...ha? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 请问下加载TFF字体要怎么加载呢? 问题状态 最新活动: 2018-05-28 1...

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

5. 请问Tiledmap怎么取到指定格子的属性值 [ 80%]

...题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 请问一下 ProtoBuf 支持 as3 版本吗? 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下...

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

6. sprite.loadImage加载图片怎么设置要显示的x,y坐标和宽高? [ 74%]

...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

7. 用LayaAir引擎解析Tiled Map地图(ActionScript-2D进阶篇(AS3)-扩展模块) [ 71%]

... ![图6](img/6.png) (图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

8. Sprite用graphics绘制图形后,mouse_over触发scale显示有问题 [ 69%]

...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

9. 如何使用javascript版本的加载模式 [ 68%]

...题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编...

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

10. 同时用两个摄像机,一个摄像机作为另一个摄像机的子对象渲染内容无法显示,作为同级的就可以显示 [ 67%]

...数 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 关于发布oppo、vivo快游戏,无法生成Rpk问题 两个问题 有元件支援视频流渲染吗? Image元件读不了资...

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