• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)

421. l龙骨动画内存上升 [ 72%]

...升,求解决方法 留言给我;要下班了;谢谢 大家 public function LayaSample() {             //初始化引擎             Laya.init(1136, 640, WebGL);             Laya.stage.bgColor = "#ffffff";             Laya.stage.on(Event.CLICK, this, play); ...

来源: Laya_社区 发布时间: 20170406

422. 自定义shader-简单shader [ 72%]

...var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, this, function () { layaMonkey.transform.rotate(rotation, false); }); function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; var uniformMap = { '...

来源: Laya_示例 发布时间: 20261113

423. layacmd 报错 [ 72%]

... undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Function.FileTools.getPath (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:24651:26) at Function.FileManager.getPath (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:2574...

来源: Laya_社区 发布时间: 20170406

424. Laya.Handler.create 回调参数问题 [ 72%]

Laya.Handler.create 回调参数问题 var ape ; function Init() { Laya.init(400, 800, Laya.WebGL); Laya.stage.bgColor = "#999911";  ape = new Laya.Sprite();     Laya.stage.addChild(ape); var ag = ["lsd",ape,1,"str"]; ape.loadImage("../laya/assets/res/to1.png",0,0,0,0,Laya.Handler.create(this,...

来源: Laya_社区 发布时间: 20180510

425. 多线程worker(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 72%]

...; [workder 支持的函数](https://developer.mozilla.org/En/DOM/Worker/Functions_available_to_workers) 页面提供了一个 worker 支持的全局函数列表。开发者可以自己看下相应的方法。 ####方法概述 ##### 构造函数Worker() ​ 该构造函数创建一个 web worker,...

来源: Laya2.0_文档 发布时间: 20210715

426. laya.utils.Base64Tool_API3.0 [ 71%]

...g reghead decode encode init isBase64String Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

427. 2D物理-桥 [ 71%]

...x: velocityX * 3, y: velocityY * 3 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("单击屏幕产生新的小球刚体,击向bridge的随机位置")); label.top = 20; label.right = 20; label.fontSiz...

来源: Laya2.0_示例 发布时间: 20261113

428. 动画-旧版骨骼动画 [ 71%]

...el/Zombie/old/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { zombie.transform.rotation = new Laya.Quaternion(-0.7071068, 0, 0, -0.7071068); zombie.transform.position = new Laya.Vector3(0.3, 0, 0); addSkinComponent(zombie); loadUI(); }); var skinAniUrl = [ "../../res/three...

来源: Laya_示例 发布时间: 20261113

429. 文本-复杂的文本样式 [ 71%]

....Browser; import laya.webgl.WebGL; public class Text_ComplexStyle { public function Text_ComplexStyle() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage....

来源: Laya2.0_示例 发布时间: 20261113

430. Laya_API3.0 [ 71%]

...ArraySlice uint16ArraySlice uint8ArraySlice Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115