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

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

771. 在网页设定区域内播放video。 [ 50%]

...少量浏览器可以正常播放 1、video的位置可以改变,设置pos值即可 2、可以一张张去渲染播放,类似序列帧图集动画或者可以使用龙骨工具播放成一个骨骼动画,直接加载播放即可   2016-10-13 0 1 分享 微博 QZONE 微信 Charles 赞同来自...

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

772. 一个LayaAir moveout target 设计上的疑问? [ 50%]

...ack");         sp[j + i * 10].size(50, 50);         sp[j + i * 10].pos(i * 60, j * 60);         sp[j + i * 10].on(Laya.Event.MOUSE_OVER, this, over);         sp[j + i * 10].on(Laya.Event.MOUSE_OUT, this, out);     } } function over(e) {     e.target.graphics.drawRect(0, 0, 50, 50...

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

773. spine 播放错乱 [ 50%]

...templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); //this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); } private onError() { console.error("load spine error"); } priva...

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

774. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 50%]

...leton.templet = templet; this.owner.addChild(this.skeleton); this.skeleton.pos( this.pageWidth / 2, this.pageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (++this.index >= this.skeleton.getAnim...

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

775. Image属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 50%]

...Image = new Image("../../../../res/ui/dialog (3).png"); //设置位置 img.pos(165, 62.5); //加载到舞台 Laya.stage.addChild(img); } } } ```

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

776. 在脚本里自定义IDE属性预制体数组类型获取的结果不对 [ 49%]

...          Laya.stage.addChild(bar);             bar.pos(Browser.clientWidth/2,Browser.clientHeight/2);         } 不要直接取数组,把数组里面的地址加载,就可以获取prefab,希望对你有所帮助   2018-11-08 0 2 分享 微博 QZONE 微信 建章...

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

777. laya.physics.PhysicsDebugDraw_API3.0 [ 49%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY set_tr...

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

778. 执行回调函数时报is not a function [ 49%]

...微信小程序报错window.focus is not a function Text类中竟然没有pos函数的api~ 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 关于shader中opengl函数问题 网络send 不回调?什么情况? 资源加载后的 回调 layaair2.0)请问js的Laya.Eve...

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

779. 运行第一个hello,一直黑屏,没有东西显示出来 如何解决? [ 49%]

...置为粗体 txt.bold = true; //设置文本的显示起点位置X,Y txt.pos(60,100); //设置舞台背景色 Laya.stage.bgColor = '#23238E'; //将文本内容添加到舞台 Laya.stage.addChild(txt); 2017-10-19 0 0 分享 微博 QZONE 微信 keailuo 赞同来自: 这个是整个demo hello.rar 2017-...

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

780. PixelLineSprite3D 绘制线段问题 [ 49%]

...个目标OBJ, 首先获得目标的坐标this.objPoint3D= OBJ.transform.position2. 从摄像机(透视)构造一条射线(参考官方3D鼠标点击案例),来得到一个鼠标点击坐标this.originRay = new Laya.Ray(this.sceneCamera.transform.position, new Laya.Vector3(0, 0, 0)) let p...

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