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

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

1221. 关于类中方法的调用 [ 49%]

...别调用?如图 FD 宏编译时 出现 试图访问该方法时失败 Text类中竟然没有pos函数的api~ as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? LayaAir 2D有没有夜晚灯光照明效果实现的内置方法? 关于@prop ...

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

1222. HttpRequest有一定几率触发error事件 Status:0 [ 49%]

...%的几率会触发error事件回调,收到的message为"failed Status:0 text:"   只在本次运行的第一次调用会出现,如果第一次没有触发error则后面的所有send也不会触发error 而第一次触发error则后面的所有send都会触发error 2018-03-30 添加评论 免...

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

1223. 关于loader加载Loader.JSON的一些问题 [ 49%]

...的一个JSON文本资源,JSON格式没问题, 然后我试了下使用TEXT方式来加载,这回能加载,但中文全是乱码! 大致原因我也猜到了:JSON资源的编码方式不对! 然后我确认了下JSON资源的编码方式:utf-8! 哎!心中一万个 xxxxx 想来想...

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

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

...Y = this.playerHB.height / 2; this.playerHB.y = 500; this.playerHB.txtName.text = "搞个毛啊"; // this.playerVO.name; this.addChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x...

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

1225. 文字显示模糊 [ 49%]

...            _txt.color="#000000";             _txt.text="是时晋武之世,寺庙图像,虽崇京邑,而方等深经,藴在葱外。护乃慨然发愤,志弘大道。遂随师至西域,游历诸国,外国异言三十六种,书亦如之,护皆遍学,贯综...

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

1226. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 49%]

...p:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya.Image; private skin_lock:Laya.Image; private skin_inUse:Laya.Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.initBuild(); this.skin_btn_use.on(Laya.Event.CLICK,this,this.onSki...

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

1227. drawToTexture 绘制函数不工作呢 [ 49%]

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

1228. Cannot read property 'props' of undefined [ 49%]

...ibutes' does not exist on type 'Node & ChildNode'. Cannot set property text of #<Button> which has only a getter 问题状态 最新活动: 2020-07-09 15:20 浏览: 1695 关注: 2 人

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

1229. 微信浏览器,input输入完成后,游戏不能还原 [ 49%]

...dth, Laya.stage.height, "#3e3534"); Laya.stage.addChild(scene);  var inputText = new Laya.Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - 400; inputText.y = Laya.stage.height * 0.4; // 移动端输入提示符 inputText.prompt = "Type some word...";  // 设置字体样式 input...

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

1230. 分享:适配LayaAir版本的PureMVC框架 [ 49%]

...Laya/bin/lib/puremvc.min.js) 我在index里面加了 <script type="text/javascript" src="lib/puremvc.min.js"></script> unnamedzc • 2016-10-11 22:04 知道原因了 bluesea • 2016-10-12 13:43 这个怎么用,都不来一个实例, cuixueying • 2016-10-12 16:2...

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