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

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

421. putimagedata 不起作用 [ 48%]

...te(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); data = Laya.Browser.context.getImageData(0, 0, 400, 400) distort(data) })); } })();[/i][/i][/i] 2017-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

422. 画出来鼠标轨迹线 [ 47%]

...t[i];         var speed=Math.min(400,Math.max(distance(last,first),200));//使线的宽度依托于你滑动的速度、并赋予上下限         line.graphics.drawPath(0,0,[["moveTo",last.x,last.y],["lineTo",first.x,first.y]],{}, {strokeStyle: "rgba(12,434,34,"+(1-(Date.now()-first...

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

423. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 47%]

...88 05-16 15:59:50.422 7562-7596/com.dihong.testdcc I/LayaBox: Download end:200 05-16 15:59:50.422 7562-7596/com.dihong.testdcc I/LayaBox: Downloaded http://cdn.odds5.com/bmh5/test ... 4.231 s=0 l=32 05-16 15:59:50.423 7562-7597/com.dihong.testdcc I/LayaBox: Download [ ]:http://cdn.odds5.com/bmh5/tes...

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

424. native1.0.5 wss发送消息速度过快导致延迟 [ 47%]

...两天时间一直没有解决,于是没办法只能在社区发了一个200块的悬赏贴,不过应着寥寥,也没有什么好的思路。 后来求助官方人员,想要付费解决,不过实在太贵,我一个小程序也搞不定,所在项目组也就一个小工作室,老大...

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

425. 限制区域拖动效果,为什么会无法限制呢? [ 47%]

...n() { //拖动限制区域 var dragWidthLimit = 350; var dragHeightLimit = 200; dragRegion = new Rectangle(Laya.stage.width - dragWidthLimit >> 1, Laya.stage.height - dragHeightLimit >> 1, dragWidthLimit, dragHeightLimit); //画出拖动限制区域 Laya.stage.graphics.drawRect( dragRegi...

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

426. laya.display.Sprite_API3.0 [ 47%]

...rite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标...

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

427. 关于graphics镂空的问题https://ask.layabox.com/question/139 [ 47%]

...完全一致的效果。var redBox:Sprite = new Sprite(); redBox.pos(250,200); redBox.autoSize = true; redBox.graphics.drawRect(0,0,100,100,'#ff0000'); Laya.stage.addChild(redBox); redBox.on("click",this,function(){ trace("click redbox"); }); redBox.on("mouseover",this,function(){ redBox.graphics.cl...

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

428. 将字节数组转为图片 [ 46%]

...(url);             addChild(sp);             sp.pos(100, 200);             trace("url=" + url);//blob:file%3A///1c4effc4-4022-4ab5-8feb-e39ff76b7410             trace(sp.width);//0             /**              * 其他调试信息打印:    ...

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

429. Animation 先clear当前的动画, 然后从浏览器缓存 加载下一个动画会闪一下,这个怎么解决? [ 46%]

...了 别抢小虎 • 2018-05-08 16:13 在苹果设备上是不是有一个200M左右的限制,超过了就会崩溃? 别抢小虎 • 2018-05-08 18:10 Laya.loader 加载完成的时候,图片已经成功上传到显卡了吗?

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

430. Unity2.10.0beta插件报错 [ 46%]

...ernal_CallUpdateFunctions () (at D:/unity/Editor/Mono/EditorApplication.cs:200)     附件 : --> 2020-12-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 taojianlong 赞同来自: 不勾选预烘培则不报错...

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