大约有 1,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
Laya_社区(1208) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya3.0_文档(43) Laya2.0_示例(43) Laya2.0_api(13) laya_api(12)
...s/drawMatFilterImagePS.glsl 2018-01-09 20:50:15.301 ZhuaWawa[2531:1863752] createOpenALSource current num=10 2018-01-09 20:50:15.301 ZhuaWawa[2531:1863752] Start js scripts/apploader.js 2018-01-09 20:50:15.301 ZhuaWawa[2531:1863752] INFO:gles 支持的最大顶点属性个数=16 2018-01-09 20:50:15....
来源: Laya_社区 发布时间: 20180109
....display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFromTexture(this.bgTexture,32*29,0,32,96), 0, 0, 32, 96); this.rightBg.width = 32; this.addChild(this.rightBg); } switch(type){ case 1: this.rightBg.visible = false; this.bg.graphics.drawTexture(this.bgTexture, 0, 0, 96...
来源: Laya_社区 发布时间: 20160803
...: string, textAlign: string): FillTextCmd { return this.addCmd(FillTextCmd.create(text, x, y, font, color, textAlign, 0, "")); } 这里重点介绍一下fillText中font属性与其它几个文本font属性区别,fillText示例代码如下: /** * 组件被激活后执行,此时所有节点和...
来源: Laya3.0_文档 发布时间: 20251010
...对象引用覆盖了如: var a:Laya.Handler = Laya.Handler.create(null,testhandler,["a"]); console.log("a1:",a); a.recover(); console.log("a2:",a); var b:Laya.Handler = Laya.Handler.create(null,testhandler,["b"]); console.log...
来源: Laya_社区 发布时间: 20161109
...画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var colorPicket:ColorPicker = new ColorPicker();//创建一个 ColorPicker 类的实例对象 colorPick...
来源: Laya3.0_api 发布时间: 20231115
...布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 实例对象 button ,传入它的...
来源: Laya3.0_api 发布时间: 20231115
...019-06-18 13:34:08.498040+0800 test1[6479:65523] iOS OpenGL ES 3.0 context created 2019-06-18 13:34:08.498646+0800 test1[6479:65523] AppVersion=2.0 2019-06-18 13:34:08.500431+0800 test1[6479:65523] Reachability Flag Status: -R ------- networkStatusForFlags 2019-06-18 13:34:08.500574+0800 test1[6479:...
来源: Laya_社区 发布时间: 20190618
...件后,引擎类库中才支持 tiledmap 3.2 创建TiledMap地图 3.2.1 createMap API 说明 laya.TiledMap类中的createMap方法可以创建一个 TiledMap 地图。基础的参数说明如图3-2所示。 (图3-2) 3.2.2 创建地图示例 const { regClass, property } = Laya; @regClass() expo...
来源: Laya3.0_文档 发布时间: 20251010
...me.browser.ConchJNI; import layaair.game.browser.ExportJavaFunction; /** * Created by Administrator on 2017/7/19. */ public class YIMMain { private final String TAG = "MarketTest"; private final static String strAppKey = "123132123";//你申请的App Key private final static String strSecrect = "123...
来源: Laya_社区 发布时间: 20170722
... } else { if (owner.parent) { let effect: Laya.Sprite = Laya.Pool.getItemByCreateFun("effect", this.createEffect, this); owner.parent.addChild(effect);//将爆炸动画添加到父节点中 effect.pos(owner.x, owner.y);//设置爆炸动画的位置,让其跟随方块 owner.removeSelf();//删除方...
来源: Laya3.0_文档 发布时间: 20251010