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

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

501. 缓动画Bug,给了回调函数之后是直接过时间后执行回调函数,但是之前的缓动画不会执行 [ 82%]

...数,但是之前的缓动画不会执行 this.bir.x = 0; this.bir.y = 0; Laya.Tween.to(this.bir, { x: 200, y: 200 }, 2000, () => { }, Laya.Handler.create(this, this.change));     这里面会直接过两秒执行this.change,而前面x:0->200  y:0->200不会执行  是什么原因?...

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

502. drawToTexture 绘制函数不工作呢 [ 82%]

drawToTexture 绘制函数不工作呢           let top_rect: Laya.Sprite = new Laya.Sprite();         top_rect.x = 0;         top_rect.y = 0;         top_rect.size(100, 100);         top_rect.graphics.drawRect(0, 0, 100, 100, "#0000FF", "#000000", 1);   ...

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

503. Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 [ 82%]

Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 this.loadHp(); Laya.timer.frameLoop(1, this, this.aaa); private bb:number = 6; private playerHB:logic.UI.role.PlayerHealthBar; private loadHp():void { this.playerHB = new logic.UI.role.PlayerHealthBar(); this.playerHB.pivotX ...

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

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

...制的图像位置偏移 let sprite: Sprite = 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:...

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

505. 高级应用-寻路导航 [ 82%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya_示例 发布时间: 20251130

506. laya.filters.ColorFilter_API3.0 [ 82%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/filters/ColorFilter" ColorFilter Class ColorFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换...

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

507. Layabox入门到精通视频教程 [ 82%]

Layabox入门到精通视频教程 Laya从入门到精通+实战教学(上)大纲 01阶段 typescript程序设计基础 001课 认识layaAir IDE 002课 es5基础 闭包、原型链与面向对象 003课 es6基础 004课 typescript入门 005课 typescript面向对象与MVC框架 006课 typescrip...

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

508. laya.ui.ColorPicker_API3.0 [ 82%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选...

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

509. laya.ui.ProgressBar_API3.0 [ 82%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建...

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

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

# Tree 组件参考 ## 一、通过LayaAirIDE创建Tree组件 ​ Tree 组件用来显示树状结构。用户可以查看排列为可扩展树的层次结构数据。 ​ Tree 组件的脚本接口请参考 [Tree API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=...

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