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

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

1671. Panel使用文档(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 67%]

...动条皮肤 panel.vScrollBarSkin = "comp/vscroll.png"; //将panel添加到stageLaya.stage.addChild(panel); //实例化Image组件 var img = new Laya.Image(); //给image添加皮肤 img.skin = "comp/image.png"; //将image添加到panel组件中 panel.addChild(img); } ```

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

1672. laya.ui.HBox_API3.0 [ 66%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

1673. sprite.mask的疑问 [ 66%]

...      private a ()     {         let a:Sprite = Laya.stage.getChildAt(0).getChildAt(0).getChildByName("A") as Sprite;         let b:Sprite = Laya.stage.getChildAt(0).getChildAt(0).getChildByName("B") as Sprite;         b.removeSelf();         a.ma...

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

1674. 分享:Skeleton下Event.LABLE('label')事件的使用 [ 66%]

...mature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function onEvent(e:*):void { var tEventData:EventData = e as EventData; Laya.stage.add...

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

1675. 显示对象skew与scale同时设置时,APP与浏览器显示效果不一致 [ 66%]

....skewX = i * 6; spr.scaleY = 1 / Math.cos(Utils.toRadian(spr.skewX)); Laya.stage.addChild(spr); } for (i = 0; i < 31; i++ ) { var spr:Sprite = new Sprite(); spr.x = 30+i*17; spr.y = 500; spr.graphics.drawRect(-10, -40, 20, 80,colors[i%2]); spr.scaleX = i%2==0?-1:1; spr.skewX = i*6; Laya.stage.add...

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

1676. 自己写了个label继承官方的label,出现了问题,求指导~ [ 66%]

...DemoLabel { public function DemoLabel() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; //---------------------------------这是用我自己写的label继承了官方的label,问题是label显示不出来,但是也无报错-------------------------------------------- var label:Lab...

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

1677. TimeLine调用destroy报错&执行完成后回到起点 [ 66%]

...to.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop (HMain.max.js:5472)    private function createTimerLine():void { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX...

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

1678. Sprite optimizeScrollRect = true 似乎有问题 [ 66%]

...微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true Image和Sprite在应用上的区别 Mac Chrome 打开 Laya.Browser.onSafari 是 true? 碰撞检测 和 sprite问题【js】 2个不规则的sprite图,如何实现精准...

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

1679. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 66%]

...re.js:10340)     at EventHandler.__proto.run (laya.core.js:710)     at Stage.__proto.event (laya.core.js:499)     at Stage.__proto.setScreenSize (laya.core.js:18495) 2018-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

1680. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 66%]

...动条皮肤 panel.vScrollBarSkin = "comp/vscroll.png"; //将panel添加到stageLaya.stage.addChild(panel); //实例化Image组件 var img: Laya.Image = new Laya.Image(); //给image添加皮肤 img.skin = "comp/image.png"; //将image添加到panel组件中 panel.addChild(img); } } new PanelTest(...

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