大约有 59 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0020 秒)
...DE让项目开发更高效。(function() { var Browser = Laya.Browser; var Stat = Laya.Stat; Laya.init(Browser.clientWidth, Browser.clientHeight); Stat.show(Browser.clientWidth - 120 >> 1, Browser.clientHeight - 100 >> 1); })();module laya { import Browser = Laya.Browser; import Stat = Laya.Stat; ex...
来源: Laya_示例 发布时间: 20241124
...= Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var colAmount = 100; var extraSpace = 50; var moveSpeed = 2; var rotateSpeed = 2; var characterGroup; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, ...
来源: Laya_示例 发布时间: 20241124
...ar Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Stat = Laya.Stat; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMod...
来源: Laya_示例 发布时间: 20241124
...ya.Particle2D; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var sp; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...
来源: Laya_示例 发布时间: 20241124
...ya.Particle2D; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var sp; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...
来源: Laya_示例 发布时间: 20241124
...ya.Particle2D; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var sp; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...
来源: Laya_示例 发布时间: 20241124
...aya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/PBRScene/Demo.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Camera"); camera.add...
来源: Laya_示例 发布时间: 20241124
...= Laya.Sprite; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var Rectangle = Laya.Rectangle; var WebGL = Laya.WebGL; var texturePath = "../../res/tinyMaggot.png"; var padding = 100; var maggotAmount = 5000; var tick = 0; var maggots = []; var wrapBounds; var maggotTex...
来源: Laya_示例 发布时间: 20241124
...et = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCurrSkinIndex = 0; (function() { WebGL.enable(); Laya.i...
来源: Laya_示例 发布时间: 20241124
...et = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 200; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCurrSkinIndex = 0; var mFactory2; (function() { Laya.in...
来源: Laya_示例 发布时间: 20241124