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

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

2321. Panel使用文档(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 49%]

...ort laya.ui.Image; import laya.ui.Panel; import laya.utils.Handler; public class PanelTest { public function PanelTest() { //初始化引擎 Laya.init(800,600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实...

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

2322. 关于as版的Animation.createFrames()不能工作? [ 49%]

...ya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(this, this.onLoaded), nu...

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

2323. 官方DynamicBatchTest照做为什么动态合不了批? [ 49%]

官方DynamicBatchTest照做为什么动态合不了批? class DynamicBatchTest { constructor() { Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show();   var scene = Laya.stage.addChild(new Laya.Scene3D()); scene.ambien...

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

2324. animate 动画播放 怎么把攻击 开火 合起来播放 [ 49%]

...nimate 动画播放 怎么把攻击 开火 合起来播放 // 程序入口 class GameMain { private roleAni: Laya.Animation; private timeLine:Laya.TimeLine = new Laya.TimeLine(); constructor() { //初始化舞台 Laya.init(1334, 750, Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animatio...

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

2325. laya.d3.physics.Rigidbody3D [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Rigidbody3DProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class Rigidbody3DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器...

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

2326. 为什么laya.pathfinding.js里面的Grid,通过Laya.Grid竟然获取不到?有laya.pathfinding.js的使用教程吗?API中没有找到。 [ 49%]

...athFinding.core.Grid()而不是Laya.Grid().这个问题在于忽略了Laya.class()的使用。   -------- 希望官方能完善一下相关 API 的使用 2017-06-29 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: pathfinding是第三方开源库,你可以参考:https://github.com/qiao/P...

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

2327. Laya3.0 工程内的bundle.js文件存在某个类 导出微信工程后bundle.js又将该类裁剪了 [ 48%]

...了,这种情况要怎么避免   @FGUIComponent("ui://login") export class TFrmLogin extends TGenFrmLogin {      onConstruct(): void {         super.onConstruct();     }  } 附件 : --> 2023-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

2328. 2D物理-碰撞过滤器 [ 48%]

...。window.Laya=window.Laya||{}; (function (exports, Laya) { 'use strict'; class Physics_Physics_CollisionFiltering { constructor() { this.preMovementX = 0; this.preMovementY = 0; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.Phys...

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

2329. list 加载动画为什么实现的效果会错乱掉? [ 48%]

...; ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya.List; function setup(effList) { var list = new List(); list.itemRender = Item1; list.repeatX = 3; list.repeatY = 4; list.x = (Laya.stage.width - WID * list.repeatY) / 2 - 100; list....

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

2330. 升级到3.0-beta6无法选择资源了 [ 48%]

...,点击选择弹出框显示None,也无法拖放! 代码如下: @regClass() export class NewScript extends Laya.Script {     //declare owner : Laya.Sprite3D;      @property(String)     public text: string = "";      @property(Laya.Image)     public image: Laya.Image = null;     ...

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