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

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

351. timeline 类动作节点回调 [ 83%]

...改变或者根据某些条件变动(增减)动作节点。   感谢! 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 callback 赞同来自: https://layaair.ldc.layabox.com/demo/?category=2d&group...

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

352. Native(android)下创建二维码并显示在页面上 [ 83%]

Native(android)下创建二维码并显示在页面上 Laya2.3.1,Native2.6.1亲测有效. Android创建二维码用到zxing库 ,在app的依赖项(dependencies)里添加: implementation 'com.google.zxing:core:3.3.0'   // ts脚本,点击按钮创建二维码并显示     private onBtnC...

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

353. laya.map.MapLayer [ 83%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...

来源: laya_api 发布时间: 20170929

354. 求问sprite放大后,graphics绘制的图像位置偏移 [ 82%]

... new Sprite(); let texture: Laya.Texture = Laya.loader.getRes(this.skin_img1); sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; let y: number = 100; let scaleRatio: number = 1.3; sprite.pos(x, y); // sprite.gr...

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

355. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 82%]

... * 背景类 * */ function Background(){ //图片的宽度 this.BG_WIDTH = 1600; //记录当前移动的值 this.moveX = 0; //定义背景1 this.bg1 = null; //定义背景2 this.bg2 = null; //草堆 this.grass = null; Background.__super.call(this); this.init(); } //Background 是一个显示对象 ...

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

356. laya.ui.Tree_API3.0 [ 82%]

...树结构数据。 xmlString = "<root><item label='box1'><abc label='child1'/><abc label='child2'/><abc label='child3'/><abc label='child4'/><abc label='child5'/></item><item label=...

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

357. 分享一下自己的屏幕适配方案 [ 82%]

...ght;//背景图的高 this.Img.x =0; this.Img.y =0; this.Img.url ="../game/1.png"; Laya.stage.addChild(this.Img); //获取图片初始x y轴坐标 this.ImgX=this.Img.x; this.ImgY =this.Img.y; this.layout(); Laya.stage.on(Laya.Event.RESIZE, this, this.layout); Laya.stage.on(Laya.Event.ADDED, this, th...

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

358. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 82%]

...ndex.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动条 VScrollBar; ### 1.2 Tree 组件的单元格通常由四部分组成: - 一个单元格...

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

359. 新版的ide发布的问题,,, [ 82%]

新版的ide发布的问题,,, 1.x的时候,文件提取,只是把选择的文件提取到指定的文件夹, 2.x的提取本地包,是先把指定的文件清空,然后在拷贝过去,,  这个能不能像1.x版本那样,,不清空指定的文件,,直接拷贝复制就...

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

360. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 82%]

...Velocity  type : int[read-only] 命周期角速度类型,0常量模式,1曲线模式,2随机双常量模式,3随机双曲线模式。 GradientAngularVelocityPublic Methods  MethodDefined By  GradientAngularVelocity() 创建一个 GradientAngularVelocity,不允许new,请使用静态创...

来源: Laya2.0_api 发布时间: 20190513