大约有 459 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0059 秒)
Laya_社区(250) Laya2.0_示例(90) Laya_示例(69) Laya2.0_文档(37) Laya3.0_文档(9) Laya3.0_api(2) laya_api(1) Laya2.0_api(1)
... Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; if (Laya.Browser.onPC) { //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; ...
来源: Laya_社区 发布时间: 20181202
...开发更高效。class TiledMap_PerspectiveWall { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.sc...
来源: Laya2.0_示例 发布时间: 20241124
...t ROTATE = "rotate"; class Interaction_CustomEvent { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.align...
来源: Laya2.0_示例 发布时间: 20241124
...vivo y75,opp r11,opp r15等 user_agent来看有蛮多是 66.0.3359.126 MQQBrowser,如: Mozilla/5.0 (Linux; Android 8.0.0; SM-G9550 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/66.0.3359.126 MQQBrowser/6.2 TB Mozilla/5.0 (Linux; Android 8.0.0; STF-AL10 Build/HUAWEISTF...
来源: Laya_社区 发布时间: 20181208
... var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var txt; var prevX = 0; var prevY = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...
来源: Laya_示例 发布时间: 20241124
... var Gyroscope = Laya.Gyroscope; var RotationInfo = Laya.RotationInfo; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var Event = Laya.Event; var compassImgPath = "../../res/inputDevice/kd.png"; var compassImg; var degreesText; var directionIndicator; var firstTime =...
来源: Laya_示例 发布时间: 20241124
...Laya.Text; var Event = Laya.Event; var HttpRequest = Laya.HttpRequest; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var hr, logger; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya...
来源: Laya_示例 发布时间: 20241124
...Laya.Text; var Event = Laya.Event; var HttpRequest = Laya.HttpRequest; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var hr, logger; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya...
来源: Laya_示例 发布时间: 20241124
...n = Laya.Skeleton; var Templet = 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; var mSki...
来源: Laya_示例 发布时间: 20241124
...效。let prevX = 0, prevY = 0; class Text_Scroll { 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; L...
来源: Laya2.0_示例 发布时间: 20241124