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

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

831. mac下用FB打包发布测试页面,chrome浏览器看不到预期显示文字 [ 47%]

...#FFFFFF';             txt.bold      = true;             txt.pos(60,100);             Laya.stage.bgColor  = '#23238E';             Laya.stage.addChild(txt);         }     } } 2017-04-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...

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

832. 图像组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

... void { let img: Laya.Image = new Laya.Image("resources/layaAir.png"); img.pos(165, 62.5); this.owner.addChild(img); } } Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

833. 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 [ 47%]

...形比如 var mapMask = new Laya.Sprite(); mapMask.size(100,100); mapMask.pos(50,50); mapMask.graphics.drawCircle(0, 0, 50, "#000000") 我这么获得mapMask的matrix,然后放进graphics.drawTexture中呢? 不要说直接用mask,因为微信小游戏不支持,谢谢 2018-11-25 添加评论 ...

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

834. laya.display.FrameAnimation_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

835. 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

836. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 47%]

...w GamPlayUI(); Laya.stage.addChild(play); hero = new Hero("hero", 25) hero.pos(100,200) Laya.stage.addChild(hero) Laya.timer.once(3000, this, gameOver) } function gameOver() { map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,thi...

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

837. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 47%]

.../资源路径 this.Res = "test.png"; this.img = new Laya.Image(); this.img.pos(200, 200) //获取图片资源,绘制到画布 this.img.skin = this.Res //添加到舞台 Laya.stage.addChild(this.img); } private cacheCanvas: Laya.HTMLCanvas private cacheTexture: Laya.Texture init(){ let rect = this....

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

838. laya.spine.SpineSkeleton_API3.0 [ 47%]

...stroy onDisable onEnable once parentRepaint paused pivot play playbackRate pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild resetExternalSkin resume runCallLater scale setChildIndex setGraphics setMix setSelfBounds setSlotAttachment set_an...

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

839. 问一下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

840. 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