大约有 805 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...理绘制到bg图像里面 bg.graphics.drawTexture(texture, 0, 0); //将bg添加到舞台 Laya.stage.addChild(bg); 我们再次刷新页面看看有什么效果 嗯 看来图片出来了~~~不错 现在我们可以开始继续了 //======================= 美丽的分割线 ===============...
来源: Laya_社区 发布时间: 20160722
...函数 // Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; } _proto.onLoop = function(){ //让地板的速度和移动比背景快一点 this.x -= 5 * 1.2; //判...
来源: Laya_社区 发布时间: 20160801
.../设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler....
来源: Laya3.0_api 发布时间: 20231115
... changeValue 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(...
来源: Laya_社区 发布时间: 20160803
...ePage.html:1 VM1768:1 [warn]Retry to load: images/btn-start.png 2018-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 是不是用户访问权限问题? 2018-05-31 0 10 分享 微博...
来源: Laya_社区 发布时间: 20180531