大约有 1,441 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0080 秒)
Laya_社区(921) Laya2.0_文档(177) Laya_示例(132) Laya2.0_示例(115) Laya3.0_api(61) Laya3.0_文档(33) laya_api(1) Laya2.0_api(1)
...t.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.Construct(); this.eventListener(); }...
来源: Laya2.0_示例 发布时间: 20241119
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Loader = Laya.Loader; var Particle2D = Laya.Particle2D; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var sp; (function() { // 不支持WebGL时自...
来源: Laya_示例 发布时间: 20241119
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Loader = Laya.Loader; var Particle2D = Laya.Particle2D; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var sp; (function() { // 不支持WebGL时自...
来源: Laya_示例 发布时间: 20241119
...言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(n...
来源: Laya_示例 发布时间: 20241119
... targetY = targetPosition.y; for (var i = 0, len = segments.length; i Laya.stage.width) targetPosition.x = Laya.stage.width; if (targetPosition.y Laya.stage.height) targetPosition.y = Laya.stage.height; } function checkEatFood() { var food; for (var i = foods.length - 1; i >= 0; i--) { food = foods[...
来源: Laya_示例 发布时间: 20241119
...eEvent { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = St...
来源: Laya2.0_示例 发布时间: 20241119
...exture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...
来源: Laya2.0_示例 发布时间: 20241119
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var Geolocation = Laya.Geolocation; var Position = Laya.Position; var Browser = Laya.Browser; var Handler = Laya.Handler; // 百度地图 var map; var marker; var BMap = Browser.window....
来源: Laya_示例 发布时间: 20241119
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var CheckBox = Laya.CheckBox; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var COL_AMOUNT = 2; var ROW_AMOUNT = 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var X_OFFSET = 100; var Y_O...
来源: Laya_示例 发布时间: 20241119
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var RadioGroup = Laya.RadioGroup; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var SPACING = 150; var X_OFFSET = 200; var Y_OFFSET = 200; var skins; (function() { // 不支持WebGL时自动切换至Ca...
来源: Laya_示例 发布时间: 20241119