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

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

671. laya.display.Animation_API3.0 [ 35%]

...dChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents ...

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

672. laya.display.Animation [ 35%]

...(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信...

来源: laya_api 发布时间: 20170929

673. laya.display.Animation [ 34%]

...如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放...

来源: Laya2.0_api 发布时间: 20190513

674. 为什么会出现报错 ani not found:ufo1_down [ 34%]

...果主角死亡,停止游戏循环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(role.heroType === 2){ // 每吃一个子弹升级道具...

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

675. laya.display.EffectAnimation [ 33%]

...如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放...

来源: Laya2.0_api 发布时间: 20190513

676. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 32%]

...protocol);         }         /** 清除所有*/         public clearAll(): void {             this.protocols.clear();         }         /** 销毁*/         public destroy(): void {             this.socket = null;             this.protocols.clear();      ...

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

677. LayaAir开发笔记(1)五十音图连连看 [ 30%]

...unt = winCount + 1; if (winCount == 8 * 3 / 2) { //游戏结束 Laya.timer.clear(this, gameCounter); var score = 100 - timeCount - errorCount; txt.text = "游戏结束 得分 : " + score; } } else { button[card_A].color = "black"; button[card_B].color = "black"; errorCount += 1; } } else if ((card_A...

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

678. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 29%]

... is ArrayBuffer) { trace(new Byte(message).readUTFBytes()); } socket.input.clear(); } private function OnCallBack():void { MsgManger.SendMsg("LoginOut"); } private function onConnectError(e:Event=null):void { trace("error"); } } }   写了个测试例子,可以收到服务器的推送的数据 ...

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

679. laya.d3.core.render.command.CommandBuffer_API3.0 [ 29%]

...ne addCustomCMD blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsSize setGlobalColor setGlobalInt setGlobalMatrix setGlobalNumber setGlobalTexture setGlobalVector setGlobalVector2 setGlobalVector3 setRenderTarget setShaderDa...

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

680. 在LayaIDE中下载的运行器启动报错 [ 27%]

...iew == null 03-19 15:01:08.581 3111-3317/? E/OpenGLRenderer: SFEffectCache:clear(), mSize = 0 03-19 15:01:08.586 3970-3970/? E/SimeSkbManager: config keyboard type error... 03-19 15:01:08.871 15489-15489/? E/SMD: smd Interface open failed errno is 2 -1 03-19 15:01:09.871 15489-15489/? E/SMD: smd Int...

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