大约有 99 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0020 秒)
...ts();module laya { import Browser = Laya.Browser; import Stat = Laya.Stat; export class Debug_FPSStats { constructor() { Laya.init(Browser.clientWidth, Browser.clientHeight); Stat.show(Browser.clientWidth - 120 >> 1, Browser.clientHeight - 100 >> 1); } } } new laya.Debug_FPSStats();package { import ...
来源: Laya2.0_示例 发布时间: 20241117
... Laya.Rectangle; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class TiledMap_PerspectiveWall { private tiledMap: TiledMap; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_...
来源: Laya2.0_示例 发布时间: 20241117
...import Stat = Laya.Stat; import WebGL = Laya.WebGL; import URL = Laya.URL; export class Particle_T1 { private sp: Particle2D; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...
来源: Laya2.0_示例 发布时间: 20241117
...import Stat = Laya.Stat; import WebGL = Laya.WebGL; import URL = Laya.URL; export class Particle_T2 { private sp: Particle2D; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...
来源: Laya2.0_示例 发布时间: 20241117
...import Stat = Laya.Stat; import WebGL = Laya.WebGL; import URL = Laya.URL; export class Particle_T3 { private sp: Particle2D; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...
来源: Laya2.0_示例 发布时间: 20241117
...ya.TiledMap; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class TiledMap_AnimationTile { private tiledMap: TiledMap; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_...
来源: Laya2.0_示例 发布时间: 20241117
...andler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class PerformanceTest_Cartoon { private colAmount = 100; private extraSpace = 50; private moveSpeed = 2; private rotateSpeed = 2; private characterGroup: Array; constructor() { // 不支持WebGL时自动切换至Canvas...
来源: Laya2.0_示例 发布时间: 20241117
...r = Laya.Loader; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Animation_Altas { private AniConfPath: string = "res/fighter/fighter.json"; constructor() { // 不支持eWebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.align...
来源: Laya2.0_示例 发布时间: 20241117
...ge = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Animation_SWF { private SWFPath: string = "res/swf/dragon.swf"; private MCWidth: number = 318; private MCHeight: number = 406; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWid...
来源: Laya2.0_示例 发布时间: 20241117
... Stage = Laya.Stage; import Image = Laya.Image; import WebGL = Laya.WebGL; export class UI_Image { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...
来源: Laya2.0_示例 发布时间: 20241117