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

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

1261. 关于类中方法的调用 [ 53%]

..._talkScroll = new UIScroll(610.0, 250); // m_talkScroll.pos(0, 0); // this.addChild(m_talkScroll); // this.onAction(); // this.onAction = function(){ // console.log("-------------hhhhhhhhhhh "); // } //第一种解决方法 onAction(); function onAction(){ console.log("这是第一种解决方法");...

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

1262. animation在自定义box节点下不显示 [ 53%]

... 在stage上面也能显示吗? Laya_Aaron • 2018-07-20 10:35 在哪里addchild的。 135*****576 • 2018-07-20 10:40 在主循环里面添加的 Laya_Aaron • 2018-07-20 10:41 @135*****576:加给谁了,那个父节点有加进舞台吗 135*****576 • 2018-07-20 10:43 加给自己创建的...

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

1263. 文字显示模糊 [ 53%]

...+10;             _txt.y=60;             Laya.stage.addChild(_txt); 用的字体是外加载的隶书字体 然后在电脑上显示就非常模糊,但是在pad上比较清晰,为什么呢?   2018-02-01 0 1 分享 微博 QZONE 微信 186*****590 赞同来自: 同问,...

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

1264. [LayaAir3]list.selectHandler [ 53%]

....valign="bottom"; this.lbl.padding="0,0,1,0"; this.btn.addChild(this.lbl); } this.btn.name=index.toString(); this.uiCtrl=uiCtrl; this.btn.on("change",()=>{ switch(this.btn.name.trim()){ case "0":{ if(this.btn.selected){ this.btn.skin="resources/ui/目...

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

1265. SWF问题,转换了以后我按照示例做了个测试,SWF文件没有显示请帮我看看 [ 53%]

...eClip = Laya.MovieClip; (function() { var MC = new MovieClip(); Laya.stage.addChild(MC); MC.load("res/atlas/swf/cesi.swf",true); })(); 附件 : --> cesi.zip 2018-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

1266. args.slice is not a function [ 53%]

...is.preinitialize is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function 问题状态 最新活动: 2015-12-04 10:52 浏览: 1786 关注: 2 人

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

1267. 新人求教!!! [ 53%]

...    this.img = new Laya.Sprite();    //添加到舞台    Laya.stage.addChild(this.img);    //显示初始化绘制的图片    this.switchImg();    //侦听switchImg中图片区域的点击事件,触发后执行switchImg切换纹理绘制    this.img.on("click",this,this.switchImg);...

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

1268. 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? [ 53%]

...想给它六个面贴不同的贴图,该如何处理? var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); box.transform.translate(new Laya.Vector3(10, 10, 10)); var material = new Laya.StandardMaterial(); mat...

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

1269. layaAirIDE 打包APK 后 真机运行报错 [ 53%]

...n.js:1: ReferenceError: createApes is not defined i=new RunGame;Laya.stage.addChild(i)}!function(){createApes()}(function(){function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (http://stand.alone.version/main.min.js:1...

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

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

...; 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 < -100) { this.bb *= -1; } } 控制一直6像...

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