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

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

2931. putimagedata 不起作用 [ 45%]

...(data, [0]), w = imageData.width, h = imageData.height, i = 0, l = data.length, x, y, d for (i; i < l; i += 4) { if (data[i]!== 0) { console.log(data[i]) } x = i / 4 % w y = Math.ceil(i / 4 / w) - 1 d = Math.ceil(20 * Math.sin(0.071 * y)) if (x + d <= 0 || x + d > w) { data[i + 3] = 0 } els...

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

2932. [LayaAir3]3.2spine动画和3.0.8效果不一样 [ 45%]

... It must be resumed (or created) after a user gesture on the page. <URL> Scene.ts:402 Error loading Loading.ls: Error: unknown type 'xmaaYG8AQ1yC07pr_JvyPA' (anonymous) @ Scene.ts:402 Promise.then (async) load @ Scene.ts:395 open @ Scene.ts:441 (anonymous) @ index-142c5.js:62 Promise.then (asy...

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

2933. 请问LayaAirUnityPlugin 1.1.0.unitypackage导出的.lsani文件怎么使用? [ 45%]

...mationTemplet} = {};         private meshes : Array<MeshSprite3D> = [];         private OnHierarchyLoaded() {             for (let v of this._childs[0]._childs) {                 let mesh = v as MeshSprite3D;                 mesh.addCompon...

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

2934. [LayaAir2] 在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 45%]

...e ... ot%3B,1); this.htmlvideo.video.addEventListener("loadedmetadata",()=>{ var videoTexture:Laya.VideoTexture = new Laya.VideoTexture(); videoTexture.video = this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.vi...

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

2935. js飞机大战报错 请大神看看 [ 45%]

...合批报错. 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 用了ByteArray的zlib.min.js后报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2017-11-...

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

2936. laya.spine.SpineTemplet_API3.0 [ 45%]

...xt: string, createURL: string, progress?: IBatchProgress): Promise<void> Defined in laya/spine/SpineTemplet.ts:39 Parameters desc: string | ArrayBuffer atlasText: string createURL: string Optional progress: IBatchProgress Returns Promise<void> _removeReference _removeReference(count?: nu...

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

2937. TimeLine.addLabel(label:String, offset:Number):TimeLine 亲测! 方法中第二个参数offset无效 [ 45%]

...确实有些不合乎情理。退一步说,其实问题不在于 5000 > 500+500+500+500。不知道您有没有测试,把每个label的动画时间改成30000ms后仍然不会有延迟5000ms的效果,而是立马就开始缓动。实际上开发者经常会需要,对每个label的缓动...

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

2938. 在绘制扇形CD进度条时会在IOS上百分百出现绘制不完全的BUG(有必现Demo) [ 45%]

...sIncPower) { //蓄力速度 this.currentPower += 5; if (this.currentPower >= this.powerTotal) { this.currentPower = this.powerTotal; // this.NodePowerProgressBg.skin = this.powerProgressRedSprite; this.isIncPower = false; return; } } else { //减少蓄力速度 this.currentPower -= 2.4; if (this....

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

2939. playByFrame动画监听问题,真不会了。就一个小问题。监听不到动画结束。。。 [ 45%]

...上面播放没问题然后我要做个点击切换  //_outHitAllInfo.length;这个已经获取到了。射线获取的 //是不是我Event.COMPLETE写错了?应该怎么用求教啊。。。。。 Laya.stage.on(Laya.Event.CLICK, this, function () {                 for (var i = 0; i < ...

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

2940. iphone6闪退 [ 45%]

...meta name="laya" screenorientation ="sensor_portrait"/> 一致的 helloworldlv • 2017-11-30 22:04 之前看差了,你xcode里面设置的是landscape right landscape right和HTML和ini里不一致啊 改一下试试呢 xtcel5805 • 2017-11-30 17:50 配的6 xtcel5805 • 2...

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