大约有 19 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0026 秒)
...,,可是我放到自己项目中; for(var i =0 ;i < 10 ; i++) { score_data.push({ju_num:{text:i},score1:{text : i}}); } this.score_list.dataSource = score_data; this.score_list.vScrollBarSkin = "";(如果不加滚动条,是能显示出来值;但是加了这句后 就没有...
来源: Laya_社区 发布时间: 20170405
...函数为什么只能用Handler创建? 比如一个主类: private var score:int; public function main():void { new class(callback); } private function callback(num:int):void { this.score = num; var tmp:int = this.score; trace(tmp); } 另外一个类:class.as 里面有个方...
来源: Laya_社区 发布时间: 20161125
...;/style> </head> <body> <p class="p1">Arial bold Your Score:8000</p> <p class="p2">Times New Roman Your Score:8000</p> <p class="p3">Arial Black Your Score:8000</p> <p class="p4">Arial Your Score:8000</p> </body> </html> 2...
来源: Laya_社区 发布时间: 20180629
...estScene"); } } UC指这行报错,这个都是编译后的代码 addScore(value = 1) { this._score += value; this.scoreLbl.changeText("分数:" + this._score); if (this._control.createBoxInterval > 600 && this._score % 20 == 0) this._control.createBoxInterval -= 20; } 3...
来源: Laya_社区 发布时间: 20190828
...; this.player = null; this.flyEnergy = null; this.speedEnergy = null; this.scoreTxt = null; this.score = 0; //物品碰撞检测坐标点 this.itemPoint = new Point(); RunGame.__super.call(this); this.init(); } //RunGame 是一个显示对象 继承此 Sprite Laya.class(RunGame,"RunGame", laya.displ...
来源: Laya_社区 发布时间: 20160803
... = ""; this.hp(5); this.level(0); this.score(0); } _proto.onPauseBtnClick = function(e){ e.stopPropagation(); this.infoLabel.text = "游戏已暂停,点击任意地方恢复游戏"; pause(); Laya.stage.on...
来源: Laya_社区 发布时间: 20170416
...值就可以获取到里面切好的图片。 private function updateScore():void{ var data:Object = {}; var temp:Number = this.score; for (var i:int = 5; i > 0; i-- ){ data["item" i] = {index:Math.floor(temp)}; temp = temp/10; } trace(this.sc...
来源: Laya_社区 发布时间: 20170221
...CloudStorage就报错? __JS__("wx.setUserCloudStorage({KVDataList:[{key:'score',value:_score}],success:function(res:Object):void{trace('setUserCloudStorage');}})"); 把这句代码去掉就没事,只要一添加,微信开发工具就报错。如上图所示。 哪位大哥知道,指点指点...
来源: Laya_社区 发布时间: 20180802
...cllipX:5}, head:{skin:"comp/img_icon.png"}, userName: "昵称:大将军0", score: "积分:8900", checkBox: false }, 2018-04-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ccloving 相关问题 发起问题须知,必看!!!...
来源: Laya_社区 发布时间: 20180404
直接new sprite 跟graphics.drawTexture 有什么区别 var downScoreTexture = Laya.loader.getRes("img/game/kc/score.png"); var _downScore = new Sprite(); _downScore.pos(150,130); _downScore.graphics.drawTexture(downScoreTexture); touPane.addChild(_downScore); 这个东西,跟 直接new sprite ...
来源: Laya_社区 发布时间: 20170811