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

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

641. qq玩一玩 问题 [ 63%]

...pos, camera.projectionViewMatrix, outPos);    outPos.x = outPos.x / Laya.stage.clientScaleX;    outPos.y = outPos.y / Laya.stage.clientScaleY; 3D坐标转2D坐标 计算结果错误  见附件 附件 : --> qqDemo.zip 2018-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

642. 请教玩一玩横屏问题 [ 63%]

... BK的设置成横屏Home键在右边,laya设置为Laya.scaleMode = Laya.Stage.SCREEN_HORIZONTAL 启动游戏后会旋转到Home键在左边 这个是什么原因呢 Laya有可以设置横屏方向的方法么 2018-07-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

643. 龙骨skeleton鼠标点击区域的设置 [ 63%]

...例: mArmature = mFactory.buildArmature(1); mArmature.play(0,true); Laya.stage.addChild(mArmature); mArmature.pos(300,600); var rect:Rectangle=new Rectangle(-420,-680,420,680); mArmature.hitArea=rect; mArmature.on(Event.CLICK,this,onClick);    2016-11-22 0 0 分享 微博 QZONE 微信 asdf131 ...

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

644. destination-out 叠加模式问题 [ 63%]

... new Sprite(); maskArea.alpha = 0.3; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#0ef604"); guideContainer.addChild(maskArea); //EventManager.add(MyEvent.PLAYER_MOVE,this,playerMoveFun); playerMoveFun(); //EventManager.add(MyEvent.MYRESIZE,this,sizeHandler); sp=n...

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

645. laya.ui.HScrollBar_API3.0 [ 63%]

...rollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.png"], Handler.create(this, onLoad...

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

646. laya.ui.VScrollBar_API3.0 [ 63%]

...() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoad...

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

647. 请教下关于适配的问题 [ 63%]

...同分辨率的缩放比例即可。例如:      var scaleX = Laya.stage.clientScaleX, scaleY = Laya.stage.clientScaleY;      img.loadImage('../demo.jpg', 200 * scaleX, 70 * scaleY, 100 * scaleX, 100 * scaleY); 2017-10-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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

648. laya.ani.bone.Skeleton_API3.0 [ 63%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY player rotation scaleX scaleY scene scrollRe...

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

649. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 63%]

...   对transformUV 操作毫无效果啊  Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(...

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

650. laya.ui.ColorPicker_API3.0 [ 63%]

...rPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成...

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