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

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

161. 引擎 TiledMap 居然不支持图块翻转 [ 41%]

...ection === 0) {                                 gridSprite.graphics.drawImage(tTileTexSet.texture, tX + tTileTexSet.offX, tY + tTileTexSet.offY);                                 // }                                 // else {                   ...

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

162. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 39%]

...的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); Laya.stage.addChild(sprite); }); } }开发数据域:public class LayaUISample { public function LayaUISample() { //微信小游戏适配库初始化 MiniAd...

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

163. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 37%]

...re = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:Sprite = new Sprite(); sp....

来源: Laya2.0_文档 发布时间: 20210714

164. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 34%]

...,也包括我(!嘻嘻) var a: Laya.Sprite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console...

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