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

大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0066 秒)

791. laya.display.FrameAnimation [ 73%]

...象池,方便对象复用。 FrameAnimation clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void...

来源: laya_api 发布时间: 20170929

792. Sprite-缓存为静态图像 [ 73%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var 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...

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

793. laya.device.motion.Accelerator_API3.0 [ 73%]

...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

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

794. LayaAirIDE中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 73%]

...ext;     public class HelloLayabox     {         public function HelloLayabox()         {             //创建舞台,默认背景色是黑色的             Laya.init(600, 300);             var txt:Text = new Text();       ...

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

795. 文本-自动调整文本尺寸 [ 72%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIG...

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

796. 微信小游戏的50M物理缓存管理(TypeScript-小游戏适配文档-微信小游戏) [ 72%]

...要设置相应的编码,二进制编码为空字符串 */ public static function downLoadFile(fileUrl:String, fileType:String = "",callBack:Handler = null,encoding:String = "ascii"):void ``` #### 3、清除缓存文件 由于微信小游戏的缓存上限是50M物理空间,所以无论自动管...

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

797. 求助高手请进,关于场景导入的问题~ [ 72%]

...Scene_01/loveScene.ls",Handler.create(this,this.completeHandler)); private function completeHandler():void{     var scene:Scene = Laya.loader.getRes("LayaScene_01/loveScene.ls");     Laya.stage.addChild(scene); }   我现在的问题是,我创建一个继承Scene的类,在这个类里边我...

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

798. 求HTTP相关的文档或者例子谢谢了 [ 72%]

求HTTP相关的文档或者例子谢谢了 __proto__.wishComp=function(e){}         __proto__.checkList=function(){             this.publicloader=new URLLoader();             this.publicloader.dataFormat=/*iflash.net.URLLoaderDataFormat.VARIABLES*/"variables";        ...

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

799. UI-RadioGroup [ 72%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var RadioGroup = Laya.RadioGroup; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var SPACING = 150; var X_OFFSET = 200; var Y_OFFSET = 200; var skins; (function() { // 不支持WebGL...

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

800. 关于新手引导 [ 72%]

...rivate var guideContainer:Sprite; private var gameContainer:Sprite; public function KouTu() { super(); //绘制一个蓝色方块,不被抠图 gameContainer = new Sprite(); gameContainer.loadImage("crazy_snowball.png", 0, 0, 600, 400); addChild(gameContainer); // 引导所在容器 guideContainer ...

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