大约有 615 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0045 秒)
Laya_社区(376) laya_api(53) Laya3.0_api(48) Laya2.0_文档(47) Laya2.0_示例(31) Laya_示例(28) Laya3.0_文档(24) Laya2.0_api(8)
...heese' + '' + '' + ''; var sp:Sprite = new Sprite(); sp.loadImage(data,0,0,200,200); Laya.stage.addChild(sp); } } } ``` 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数不仅仅接收地址形式的url还接受ba...
来源: Laya2.0_文档 发布时间: 20210715
...创建动画播放对象 skeleton0=templet.buildArmature(0); skeleton0.pos(200,700); //切换动画皮肤 skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0,true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1; skeleton1=templet.buildArmature(0); skeleton1.pos(500,700); ...
来源: Laya2.0_文档 发布时间: 20210715
...,面向AS/JS/TS开发者提供HTML5开发技术方案!"; this.txt.size(200, 100); this.txt.x = Laya.stage.width - this.txt.width >> 1; this.txt.y = Laya.stage.height - this.txt.height >> 1; this.txt.borderColor = "#FFFF00"; this.txt.fontSize = 20; this.txt.color = "#ffffff"; this.txt.on(Event.MO...
来源: Laya2.0_示例 发布时间: 20241118
...MNS = 2, BUTTON_WIDTH = 147, BUTTON_HEIGHT = 165 / 3, HORIZONTAL_SPACING = 200, VERTICAL_SPACING = 100, xOffset, yOffset, skins; class UI_Button { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自...
来源: Laya2.0_示例 发布时间: 20241118
... BUTTON_WIDTH = 147; var BUTTON_HEIGHT = 165 / 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var xOffset; var yOffset; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...
来源: Laya_示例 发布时间: 20241118
...开发更高效。let COL_AMOUNT = 2, ROW_AMOUNT = 3, HORIZONTAL_SPACING = 200, VERTICAL_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支...
来源: Laya2.0_示例 发布时间: 20241118
...ya.WebGL; var COL_AMOUNT = 2; var ROW_AMOUNT = 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var X_OFFSET = 100; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...
来源: Laya_示例 发布时间: 20241118
...>>>>>>>>>>>>>>>ios info free: 200077312 active: 325894144 inactive: 96653312 wire: 166596608 zero fill: 2470821888 reactivations: 588324864 pageins: 975650816 pageouts: 34512896 faults: 31867930 cow_faults: 898441 lookups: 1573503 hits: 3 2020-04-22 18:21...
来源: Laya_社区 发布时间: 20200422
...画播放对象 skeleton0 = this.templet.buildArmature(0); skeleton0.pos(200, 700); //切换动画皮肤 skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0, true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1: Laya.Skeleton; skeleton1 = this.templet.buildArmature(0); sk...
来源: Laya2.0_文档 发布时间: 20210715
...8080/' failed: Error during WebSocket handshake: Unexpected response code: 200 浏览器会报这个错误,我tomcat 已启动 输出localhost:8080 能打开官方地址的 2020-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20200817