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

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

211. parseInt FlashBuilder 报错。咋整? [ 64%]

parseInt FlashBuilder 报错。咋整? parseInt 一个 Number时 2018-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 w1114367261 赞同来自: 上传下你的错误信息和问题代码的截图我看下...

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

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

...ller 赞同来自:   class Item extends Laya.Box {   public static WID: number = 600; public static HEI: number = 85; private img: Laya.Image;         //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image();             //...

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

213. 使用createFrames创建的图集动画。如何单独修改这个缓存动画播放速度 [ 64%]

...了!/** * 角色创建 */ public function init(interval,type:String,hp:Number,speed:Number,hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = camp; this.heroType = heroType; if(!Role...

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

214. 其他引擎的Demo-Example_21 [ 64%]

..."#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.colors[0]; private liveGraphics:Graphics; private canvasGraphics:Graphics; constructor() { Laya.init(Browser.width, Browser.heig...

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

215. laya.map.MapLayer [ 64%]

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

来源: laya_api 发布时间: 20170929

216. 陀螺仪与加速计 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...Gravity: Laya.AccelerationInfo, rotationRate: Laya.RotationInfo, interval: number): void { this.info.text = 'acceleration:(' + acceleration.x.toFixed(3) + ', ' + acceleration.y.toFixed(3) + ', ' + acceleration.z.toFixed(3) + ')\n' + 'accelerationIncludingGravity:(' + accelerationIncludingGravity.x.t...

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

217. 缓存工具-layadcc · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...现这一步在init的时候就完成了 * */ async updateAll(progress:(p:number)=>void); /** * 根据指定的zip文件更新本地缓存。 * 这个zip文件可以通过DCC插件的补丁生成工具来生成。 * * 这个会修改本地保存的root * @param zipfile 打补丁的zip文件,注...

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

218. 陀螺仪与加速计(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 64%]

...Gravity: Laya.AccelerationInfo, rotationRate: Laya.RotationInfo, interval: number): void { this.info.text = 'acceleration:(' + acceleration.x.toFixed(3) + ', ' + acceleration.y.toFixed(3) + ', ' + acceleration.z.toFixed(3) + ')\n' + 'accelerationIncludingGravity:(' + accelerationIncludingGravity.x.t...

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

219. 监听不到Laya.Event.RESIZE事件 [ 63%]

...(event:Event):void { this.bg.y = 180; alert("11111111111111") var desWidth:Number; var desHeight:Number; //获取窗口显示区的宽度。 desWidth=window.innerWidth; //获取窗口显示区的高度。 desHeight=window.innerHeight if(desHeight!=this.sourceHeight) { this.bg.y = 180; } else { this....

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

220. 加载TiledMap 不显示 [ 63%]

...yer = this.tiledMap.getLayerByIndex(0);          var radiusX: number = 32;         var radiusY: number = Math.tan(180 / Math.PI * 30) * radiusX;         var color: string = "#FF7F50";          this.sprite = new Sprite();         this.s...

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