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

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

2781. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 50%]

...** ```typescript class PanelTest { constructor() { //初始化引擎 Laya.init(800, 600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded)); } private onLoaded(): void { //实例化Panel组件 var panel: Laya.Panel = new Laya.Panel(); //给pan...

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

2782. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 50%]

...       //舞台默认背景色是黑色的             Laya.init(1136, 640,WebGL);             Laya.loader.load([GameConfig.getAssetsFile("comp")],Handler.create(this, onComplet));                          }         private var imag:Image;        ...

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

2783. Layabox无法运行问题 [ 50%]

...服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”, 问题状态 最新活动: 2017-...

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

2784. Native 在iOS上支付失败的问题,及临时解决方法 [ 50%]

...Product:product]; NSMutableDictionary* dict = [[NSMutableDictionary alloc] init]; [dict setObject:sOrderID forKey:@"order_id"]; [dict setObject:sCallbackURL forKey:@"backurl"]; [dict setObject:self.gameAppID forKey:@"gameid"]; NSData* pData = [NSKeyedArchiver archivedDataWithRootObject:dict]; [b]pay...

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

2785. 厘米秀(QQ玩一玩)的引擎里面无法使用 setTimeout/setInterval [ 50%]

....1引擎微信小游戏掉帧严重 启动引擎报错 mPlugin.game_plugin_init(3); 发布到vivo平台后,龙骨动画无法显示 问题状态 最新活动: 2018-08-20 14:56 浏览: 2165 关注: 7 人 。 • 2018-08-20 14:59 顺便说一下 跟浏览器有关的诸如window.location.reload()的...

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

2786. 问下大家,laya3D现在有没有好用的物理引擎库? [ 50%]

...atter.js里的物理引擎世界里 启动引擎报错 mPlugin.game_plugin_init(3); LayaAir 3D 有提供 3D 物理引擎功能吗? laya3D动画无法播放 [引擎优化]希望官方可以增加stencil功能 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是...

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

2787. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 50%]

...) {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new Image();             image.skin = "res/atlas/clanwar_bg.jpg?" + Math.random();             Laya.stage.addChild(image);      ...

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

2788. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 50%]

...ish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入口 Laya.init(600, 400); this.onLoaded() function onLoaded(): void { //实例UI界面 var testUI: FishPonds = new FishPonds(); Laya.stage.addChild(testUI); Laya.timer.loop(1000, this, function () { testUI.rotation = 360 console.log("r...

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

2789. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 50%]

...line();         return this.instance;     }      public init(): void {         //使用之前必须先初始化          if(this.camera == null){             BlurEffect.init();             this.camera = InsManager.GetInstance()._Scene...

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

2790. websocket连接出错 [ 50%]

....emit('foo', 'enenen'); }); }); </script> </html> laya的 Laya.init(800,600,Laya.WebGL); // var socket = io.connect('10.10.1.103:8081'); this.byte = new Laya.Byte(); this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket = new Laya.Socket(); this.socket.endian = Laya.Byte.LITTLE_ENDIAN;...

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