设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 5669|回复: 1
打印 上一主题 下一主题

[有事请教] 关于坐标Z的问题

[复制链接]

Lv2.观梦者

梦石
0
星屑
838
在线时间
221 小时
注册时间
2020-2-5
帖子
71
跳转到指定楼层
1
发表于 2020-3-3 19:20:07 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
10星屑
本帖最后由 axluo666 于 2020-3-3 19:35 编辑

我在 Scene_Map 里面 新建一个Sprite  用来显示文本
然后 addChild 添加进去了
文本覆盖住了所有的内容 怎么把他放在下面呢

哈哈哈哈.png (61.96 KB, 下载次数: 6)

哈哈哈哈.png

最佳答案

查看完整内容

你的 Sprite 添加在下面哪个方法里?自己去换,换到满意为止。 Scene_Map.prototype.createDisplayObjects = function(){ this.createSpriteset(); this.createMapNameWindow(); this.createWindowLayer(); this.createAllWindows(); };

Lv4.逐梦者

梦石
0
星屑
17849
在线时间
2151 小时
注册时间
2015-7-4
帖子
916
2
发表于 2020-3-3 19:20:08 | 只看该作者
你的 Sprite 添加在下面哪个方法里?自己去换,换到满意为止。
Scene_Map.prototype.createDisplayObjects = function(){
    this.createSpriteset();
    this.createMapNameWindow();
    this.createWindowLayer();
    this.createAllWindows();
};
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-4-27 12:07

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表