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

大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

1441. Laya整合echarts示例(TypeScript) [ 52%]

...代码 var div:any = Laya.Browser.document.createElement("div"); div.style.width = "600px"; div.style.height = "400px"; Laya.Browser.document.body.appendChild(div); var myChart = new Laya.Browser.window.echarts.init(div); var option = { title: { text: 'ECharts 入门示例' }, tooltip: {}, legend: {...

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

1442. LayaAir_AS3项目中,如何内嵌一个新的页面 [ 52%]

...    myiframe.style.left = "200px";             myiframe.style.width = "1000px";             myiframe.style.height = "800px";             myiframe.src = "http://ask.layabox.com/";             __JS__('document.body.appendChild(myiframe)');//添加在舞台上   ...

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

1443. 升级到1.78beta版后,包编译错误 [ 52%]

...number,...' is not assignable to type '(source: any, x: number, y: number, width: number, height: num ber, offsetX?: number, offsetY?: nu...'.       Types of parameters 'mipMap' and 'offsetX' are incompatible.         Type 'number' is not assignable to type 'boolean'.   2017-07-21 添加评...

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

1444. Laya.MovieClip() new的时候崩溃了,在线等,很急!!!! [ 52%]

...eClip(); this.swfAni.load(strSWF,true,strImg); this.swfAni.x = (Laya.stage.width -1900) / 2; this.swfAni.y = (Laya.stage.height - 1200) / 2; this.swfAni.zOrder = 3; this.swfAni.loop = false; this.swfAni.play(0,false); this.swfAni.visible = true; this.swfAni.on(laya.events.Event.COMPLETE, this, this....

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

1445. LayaBox如何多点触摸? [ 52%]

...tmapData(960, 640, false, 0xcccccc); var bmp:Bitmap = new Bitmap(bmd); bmp.width = 960; bmp.height = 640; var sp:Sprite = new Sprite(); sp.addChild(bmp); this.addChildAt(sp, 0); Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT; sp.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin); } prote...

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

1446. MeshSprite3D的宽高如何修改? [ 52%]

...Sprite3D这个对象,怎么改宽高 Laya_Aaron • 2018-03-20 14:39 set width kaiqiw945 • 2018-03-20 14:40 box.setwidth,有这个api我就不发问了 Laya_Aaron • 2018-03-20 14:41 @kaiqiw945:api比较老了,我也看不全,都是点进去看源码 kaiqiw945 • 2018-03-20 14:44 BoxMesh...

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

1447. layabox可以做格子效果?可以帮忙看看吗? [ 52%]

...工程 赞同来自: gaowei2024 你用sprite的graphics.drawLine(0, 100, width, height, "#9B9B9B", 5)一条一条画即可 2017-12-30 1 8 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gaowei2024 相关问题 Layabox 2.0 bate5 运行编译...

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

1448. 加载网页图片地址有的不会显示 [ 52%]

...Child(p); var html: string = "<img src='" + imgUrl + "'/>";// style='width:96;height:96' />"; p.innerHTML = html; 其他的大部分图片这两种方案都是没问题可以正常显示的。麻烦帮忙看一下,谢谢 2017-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

1449. 发现一个问题Laya.Animation()创建后移除,再创建,位置会变 [ 52%]

...到原因了, //var bounds = ani.getGraphicBounds(); //ani.pivot(bounds.width / 2, bounds.height / 2);   加了这个,第次创建会you有问题 2018-04-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zjwytqm 相关问题 看了...

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

1450. 圆不跟谁 sprite 一起缩放? [ 52%]

...Point;  // 程序入口 class GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; private _rootSp : Laya.Sprite;  public CreateCircle(...

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