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

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

791. as3中如何定义html中的id参数 [ 47%]

...调参数,如何传递和接收? Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 微信开发者工具与Html标签 问题状态 最新活动: 2018-06-25 15:42 浏览: 1163 关注: 2 人 186*****590 • 2018-06-25 17:09 非常感谢,我试试 186*****...

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

792. 问一下tween的一些参数怎么设置 [ 47%]

...e(); sp.graphics.drawCircle(0,0,50,"#00FFFF"); Laya.stage.addChild(sp); sp.pos(100,100); Tween.to(sp,{x:500},1000,Ease.backIn,Handler.create(this,onTween1)); } private function onTween1():void { // TODO Auto Generated method stub num ; trace(num); Tween.clearTween(onTween1); Tween.to(sp,{x:100},1000...

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

793. ReferenceError: Loading_fly is not defined [ 47%]

...); this.fly.pivot(this.bounds.width / 2, this.bounds.height / 2); this.fly.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.diango.addChild(this.fly) this.diango.show(); this.diango.popup(); } _proto.onClose = function () { this.diango.close(); } return Loading_fly; }(Laya.Sprite); 2017-11-08 ...

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

794. 同一个Animation,创建多个实例只能显示一个(测试项目已上传) [ 47%]

...r i:int=0;i<10;i++){ var p:wheel=Pool.getItemByClass("wheel", wheel); p.pos(i*90+100,200); p.init(); roleLayer.addChild(p) } /////////////wheelas.as public function wheel(){ this.graphics.drawCircle(0,0,40,"#fff"); _wheel= new Animation(); _wheel.loadAnimation("wheeling....

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

795. laya.display.EffectAnimation_API3.0 [ 47%]

...toSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage...

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

796. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 47%]

...置为粗体 txt.bold = true; //设置文本的显示起点位置X,Y txt.pos(60, 100); //设置舞台背景色 Laya.stage.bgColor = '#23238E'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } }  2. 修改.as3proj文件相应标签如下 <compileTargets> <compile path="src\Hel...

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

797. new BoxMesh(x,y,z)中 的bug? [ 47%]

...了进一步验证,创建了一个新的box2(1,1,1),设置了它的pos为(0,-10,0);说明一点,两个物体旋转为(0,0,0),那么假设是由于摄像机问题引起的视觉问题,box2应该是相对box1垂直屏幕有段相对位移,然而事实是它是在竖直方...

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

798. Sprite-旋转缩放 [ 47%]

...ape.loadImage("res/apes/monkey2.png"); this.ape.pivot(55, 72); // this.ape.pos( Laya.stage.width / 2, Laya.stage.height / 2); this.ape.x = Laya.stage.width / 2; this.ape.y = Laya.stage.height / 2; this.scaleDelta = 0; Laya.timer.frameLoop(1, this, this.animate); } animate() { this.ape.rotation += 2;...

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

799. 如何用代码控制panel的vscroll滚动幅度 [ 47%]

...则panel不显示 var panel:Panel=new Panel(); panel.size(300,300); panel.pos(100,100); panel.vScrollBarSkin='comp/vscroll.png'; panel.hScrollBarSkin='comp/hscroll.png'; Laya.stage.addChild(panel); //panel的子对象,,切忌要设置宽高,且宽高大于panel宽高 var bg:Sprite=new Sprite()...

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

800. qq玩一玩 问题 [ 47%]

...amera.clearFlag= Laya.BaseCamera.CLEARFLAG_SKY;   camera.viewport.project(pos, camera.projectionViewMatrix, outPos);    outPos.x = outPos.x / Laya.stage.clientScaleX;    outPos.y = outPos.y / Laya.stage.clientScaleY; 3D坐标转2D坐标 计算结果错误  见附件 附件 : --> qqDemo.zip 201...

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