大约有 1,562 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0055 秒)
..._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
... 在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
...+10; _txt.y=60; Laya.stage.addChild(_txt); 用的字体是外加载的隶书字体 然后在电脑上显示就非常模糊,但是在pad上比较清晰,为什么呢? 2018-02-01 0 1 分享 微博 QZONE 微信 186*****590 赞同来自: 同问,...
来源: Laya_社区 发布时间: 20180131
....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
...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
...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
... this.img = new Laya.Sprite(); //添加到舞台 Laya.stage.addChild(this.img); //显示初始化绘制的图片 this.switchImg(); //侦听switchImg中图片区域的点击事件,触发后执行switchImg切换纹理绘制 this.img.on("click",this,this.switchImg);...
来源: Laya_社区 发布时间: 20180226
...想给它六个面贴不同的贴图,该如何处理? 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
...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
...; 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