大约有 51 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
Laya_社区(29) Laya2.0_示例(7) Laya_示例(7) Laya2.0_文档(3) Laya3.0_api(2) laya_api(1) Laya2.0_api(1) Laya3.0_文档(1)
...(function() { var Animation = Laya.Animation; var Stage = Laya.Stage; var Rectangle = Laya.Rectangle; var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var AniConfPath = "../../res/fighter/fighter.json"; (function() { // 不支持WebGL时自动...
来源: Laya_示例 发布时间: 20241117
...是图集乱了 package { import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaSample { private var tMap:TiledMap; public function LayaSample() { //初始化引擎 Laya.init(1136, 640,WebGL); //创...
来源: Laya_社区 发布时间: 20180428
...te; import laya.display.Stage; import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Handler; public class LayaAirDemo { private var tiledMap:TiledMap; public function LayaAirDemo() { // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800); Laya.stage.alignV = Stage.ALIGN_M...
来源: Laya_社区 发布时间: 20170419
... Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Rectangle = Laya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2.png"; var ape, dragRegion; (function() { // 不支...
来源: Laya_示例 发布时间: 20241117
...graphics.drawRect(0, 0, w, h, "#FF7F50"); var rect = new Rectangle(0,0,200,200); bimgBox.scrollRect = rect; bimgBox.optimizeScrollRect = true; 这是我的调用方法,麻烦知道的高手指点一下 谢谢 2017-05-26 0 0 分享 微博 Q...
来源: Laya_社区 发布时间: 20170526
...aya { import Animation = Laya.Animation; import Stage = Laya.Stage; import Rectangle = Laya.Rectangle; import Loader = Laya.Loader; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Animation_Altas { private AniConfPath: string = "res/fighter/fighter.json"; constructor() { // ...
来源: Laya2.0_示例 发布时间: 20241117
...e.on(Event.MOUSE_DOWN, this, this.onStartDrag); } showDragRegion() { const Rectangle = Laya.Rectangle; //拖动限制区域 let dragWidthLimit = 350; let dragHeightLimit = 200; dragRegion = new Rectangle(Laya.stage.width - dragWidthLimit >> 1, Laya.stage.height - dragHeightLimit >> 1, dragWidthLimit...
来源: Laya2.0_示例 发布时间: 20241117
...rt Browser = laya.utils.Browser import TiledMap = laya.map.TiledMap import Rectangle = laya.maths.Rectangle import Stat = laya.utils.Stat import TextFiled = laya.display.Text import LocalStorage = laya.net.LocalStorage 2018-01-16 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20180116
...ge = Laya.Stage; var Event = Laya.Event; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var mLastMouseX = 0; var mLastMouseY = 0; var mX = 0; var mY = 0; (function() { /...
来源: Laya_示例 发布时间: 20241117
...at.show(); } // 创建地图 createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle, Handler = Laya.Handler, Browser = Laya.Browser; mX = mY = 0; // 创建地图对象 this.tiledMap = new TiledMap(); // 创建地图,适当的时候调用destory销毁地图 this.tiledMap.createMap...
来源: Laya2.0_示例 发布时间: 20241117