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

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

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

...使用时需要多大的字就在此处设置相同大小的字号。 ​ Height:设置字体的拉伸高度,保持默认的100%就可以。 ​ * 注意:Charset的值选择Unicode。* ​ ![图片1.png](http://ldc.layabox.com/uploadfile/image/20160518/1463538956945255.png) ​ 5.在选择菜...

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

1682. 3D刚体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

... (图1-8) 我们可以通过偏移localOffset、半径radius、高度height、方向orientation,来设置圆柱体碰撞形状的位置、圆柱粗细、圆柱高矮、胶囊朝向,如图1-9所示。 (图1-9) 1.1.5 圆锥体碰撞形状 圆锥体碰撞形状用于表示一个锥体物体...

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

1683. 请问object层中添加的sprite怎么添加点击事件 [ 38%]

... flower.pivotY=80; flower.zOrder = budai.y; flower.autoSize = true; flower.height = 100; flower.width = 100; flower.size(100,100); flower.on(Laya.Event.CLICK,this,function() {    alert("My Name is Bear"); }); mallLayer.addChild(flower); mallLayer._showGridList.push(flower); 附件 : --> hxwlworld...

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

1684. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 38%]

...eatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, this.onSelect); list.renderHandler = new Handler(this, this.updateI...

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

1685. 显示与切换图片(JavaScript-LayaAir基础篇(JS)-位图) [ 38%]

...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; showApe(); })(); function showApe() { // 方法1:使用loadIm...

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

1686. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 38%]

...his.aaa.playerNameList[i].playerhandpoker[j].PokerDre; img.width = 76; img.height = 110; img.pos(200 + i * 35, 230); Laya.stage.addChild(img); this.reciveOutPoker.push(img); this.outHandPoker.push(this.aaa.playerNameList[i].playerhandpoker[j]); this.lastPaixing = 1;  for (let x = 0; x < this.out...

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

1687. 关于截屏的问题 [ 37%]

...-----2"); Laya.Browser.window.conch.captureScreen(function(arrayBuff,width,height){ console.log("onCharge-------------------------3"); //存储文件的方 Laya.Browser.window.conch.saveAsPng( arrayBuff,width,height,Laya.Browser.window.conch.getCachePath()+"/test.png" ); console.log("onCharge-------...

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

1688. 3D物理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...有效处理与环境的碰撞。开发者可以通过radius(半径)和height(高度)属性调整这个胶囊体的尺寸,通过centerOffset属性调整胶囊体在角色本地坐标系中的位置偏移。 角色控制器内置了多种实用功能来处理常见的角色移动场景。...

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

1689. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 35%]

...表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏垂直滚动条 list.vScrollBarSkin = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在头或底最大距离 list.scrollBar.elastic...

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

1690. 微信小游戏利用开放域好友关系链做排行榜 [ 35%]

...sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height);                  // console.log("再次往开放域发请求");                 // openDataContext.postMessage({                 //  cmd:2,              ...

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