大约有 1,204 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0050 秒)
Laya_社区(690) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(59) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
...ints2[i] tpoint3[i]) { tpoint3[i] = tpoint3[i] + 1; } if (points3[i] = []; private points2:Array = []; private points3:Array = []; private tpoint1:Array = []; private tpoint2:Array = []; private tpoint3:Array = []; private balls:Array = []; constructor() { // 不支持WebGL时自动切换至Canvas L...
来源: Laya_示例 发布时间: 20241123
...ints2[i] tpoint3[i]) { tpoint3[i] = tpoint3[i] + 1; } if (points3[i] = []; private points2:Array = []; private points3:Array = []; private tpoint1:Array = []; private tpoint2:Array = []; private tpoint3:Array = []; private balls:Array = []; constructor() { // 不支持WebGL时自动切换至Canvas L...
来源: Laya2.0_示例 发布时间: 20241123
... /* * 位图字体; */ class BPFont extends Laya.Sprite{ // 文本内容 private _text: string; // json数据 private _jsonData: any; // 图片数据 private _imageData: Laya.Texture; // 文本字间距 private _padding: number = 0; // 所有元素; private charSprites: Laya.Sprite; // 位置类...
来源: Laya_社区 发布时间: 20161014
... WebGL = Laya.WebGL; export class TiledMap_IsometricWorld { private tiledMap: TiledMap; private layer: MapLayer; private sprite: Sprite; constructor () { // 不支持WebGL时自动切换至Canvas // Laya.init(1...
来源: Laya_社区 发布时间: 20201230
...c _box: GunBox; // toset: /** 飞行的范围, 用于计算飞行路径 */ private _fly_site:Site = new SiteEntity( 10, 10, -1, 400 ); public static _ani_cached:boolean = false; // toset: /** 飞行物的中心点, 参照物为魔鬼, 用于确定瞄准点和整体的中心点 */ private _pivot_...
来源: Laya_社区 发布时间: 20180515
...Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_NOSCALE { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); ...
来源: Laya_示例 发布时间: 20241123
...prite; import Stage = Laya.Stage; export class SmartScale_Scale_NOBORDER { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite();...
来源: Laya_示例 发布时间: 20241123
...quest;import laya.net.Loader;import laya.utils.Browser; public class Main{private var AudioContext:Object;private var audioContext:Object;private var analyser:Object;private var audioBufferSourceNode:Object;public function Main(){Laya.init(500,500);AudioContext =Browser.window.AudioContext || Brows...
来源: Laya_社区 发布时间: 20181023
...prite; import Stage = Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); ...
来源: Laya_示例 发布时间: 20241123
...te; import Stage = Laya.Stage; export class SmartScale_Scale_EXTRACT_FIT { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite();...
来源: Laya_示例 发布时间: 20241123