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

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

611. 在微信小游戏中,主域中显示开发域的list什么显示不全? [ 54%]

... rankList.array = data;     rankList.height = 800;     //rankList.width = 1100;     console.log('ranklist info xxxxxxxxxxxxxxxxxxxxx')     console.log(rankList.width);     console.log(rankList.height);             /*var rank:ListPage = new ListPage();     Laya.sta...

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

612. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 54%]

...体中,没放空格,最好设置一个空格宽度 mBitmapFont.setSpaceWidth(10); Text.registerBitmapFont(mFontName, mBitmapFont); var txt:Text = new Text(); txt.text = "这是测试"; //设置宽度,高度自动匹配 txt.width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; ...

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

613. swf转换后,变成两张png,元件和背景分开了……元件都是位图格式, [ 53%]

...01-23 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 可以设置 width height 宽高 2018-01-23 0 0 分享 微博 QZONE 微信 什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiahaijiao 相关问题 iphoneX环境下新手引导的抠图透明区域黑色...

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

614. IOS下微信小游戏屏幕适配的问题,请帮忙看看 [ 53%]

....0.0     安卓微信小游戏端正常: GameConfig的配置: static width:number=1136; static height:number=640; static scaleMode:string="exactfit"; static screenMode:string="horizontal"; static alignV:string="top"; static alignH:string="left"; static startScene:any="desktop.scene"; 附件 : ...

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

615. 微信小游戏内TextInput不能实现只输数字的功能 [ 53%]

...但还能用 let input = new Laya.TextInput(); this.addChild(input); input.width = 100; input.height = 50; input.on(Laya.Event.BLUR, this, e=>{ let str = input.text.split(''); for (let i = 0; i < str.length; i++) { let isNotNumber = true; for (let j = 0; j < 10; j++) { if (str[i] == j.toStr...

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

616. spine动画放大后,遮罩显示不正常 [ 53%]

...parent.addChild(mArmature);         mArmature.pos(parent.x+parent.width/2, parent.y+parent.height/2);         mArmature.scale(3, 3);         mArmature.on(Laya.Event.STOPPED, this, this.completeHandler);         mArmature.play(1, true);     }      completeHand...

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

617. 关于设置动画轴心点问题 [ 53%]

...成后通过getBounds来获取Animation的宽高,设置pivot轴心点width/2,height/2,同时设置pos值pivot值的相反值即可。如果pos已经设置过,将pos现有值-(povot.x,pivot.y) 2017-01-19 1 2 分享 微博 QZONE 微信 什么被折叠? 0 个回复被折叠 要回复...

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

618. ios15游戏黑屏,官网示例都黑 [ 53%]

...截图确认) gl.enable(gl.SCISSOR_TEST); gl.scissor(0, 0, RenderState2D.width, RenderState2D.height); 3、这个方案确认可行且比设置 isAntialias 性能要好后,我们将写入引擎并修改经验分享贴,所以也请您尽快测试并给我们反馈哈。 2021-09-27 0 0 分享 微...

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

619. 微信小游戏开放数据域透明区域绘制的问题 [ 53%]

...ure.bitmap.alwaysChange = true; this.graphics.drawTexture(myTexture, x, y, width, height)   目前遇到的问题: 主域里面的texture获取在获取sharedCanvas里的图案的时候,没有将texture自身的内容清空,导致绘制到主界面上的绘制出来的图案是不停的叠加...

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

620. 列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...过两种方式动态改变item的大小: 在itemRenderer的内部使用width、height或size改变item的大小。 item建立对内部元件的关联,然后在itemRenderer里修改内容触发内部元件的改变,从而自动改变item高度。例如item建立了一个对内部某个可变...

来源: Laya3.0_文档 发布时间: 20251128