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

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

921. 骨骼动画-藤蔓 [ 43%]

...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....

来源: Laya2.0_示例 发布时间: 20241002

922. 分享:DrawToCanvas内存释放问题! [ 43%]

... 微信 cuixu_xucui 赞同来自: 还是内存爆炸呀 if(this._texture){ console.log("this._texture.destroy"); this._texture.destroy(); this._texture = null; } if(this._htmlC){ this._htmlC.destroy(); } this._htmlC = this.zoomBox.drawToCanvas(RouletteTableScene.ZOOM_W, RouletteTableScene.ZOOM_TARGE...

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

923. 骨骼动画-橡胶人 [ 43%]

...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature =this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; //mArmature.scal...

来源: Laya2.0_示例 发布时间: 20241002

924. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 43%]

... = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomView.chatBox.height; paopao.imgSayBg.height = div.contextHeight + 26; paopao.imgSayBg.width = div.contextWidth + 60; paopao.height = paopao.imgSayBg.height + 50; paopao.width = p...

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

925. 2.3.0beta 各种bug [ 43%]

...yaMaxUI.ts"     let fileContent = readFile(layaMaxUI_Path);     // console.log("读取文件",fileContent)     if (fileContent ) {             fileContent = fileContent.replace(/Laya\.UICodeView/g,"UICodeView");             fs.writeFileSync(layaMaxUI_Path, fileCon...

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

926. SVG渐变精灵的扩展脚本继承了多个精灵, 在safari环境下重叠了渲染 [ 43%]

...ment) {                 case "left":                     console.log(this.text + " left");                     if (isFF) {                         alignmentText = '<text text-anchor="start" dominant-baseline="middle" ';                     } else ...

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

927. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 43%]

...{ super(); } onTriggerEnter(): void { /* ……省略若干逻辑代码 */ console.log("触发器物理事件onTriggerEnter"); } onTriggerStay(): void { /* ……省略若干逻辑代码 */ console.log("触发器物理事件onTriggerStay"); } onTriggerExit(): void { /* ……省略若干逻辑代码...

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

928. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 43%]

... = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomView.chatBox.height; paopao.imgSayBg.height = div.contextHeight + 26; paopao.imgSayBg.width = div.contextWidth + 60; paopao.height = paopao.imgSayBg.height + 50; paopao.width = p...

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

929. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 43%]

...n onError(): void{ trace("parse error"); } private function play(): void { console.log("1111111111"); if(++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } ``` 具体效果大家可以在官网引擎事例中查看。https://layaair2.ldc2.l...

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

930. LayaAir功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 42%]

...LayaNative1.0版本中,要调试项目中的JavaScript代码只能调用console.log或者alert函数。在layaNative2.0版本中正式支持使用Chrome浏览器调试JavaScript代码。可以在Chrome的调试器里对代码进行断点的添加,代码追踪等功能。 **测试App支持扫码...

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