查看: 6590|回复: 1

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

[复制链接]
梦石
0
星屑
838
在线时间
221 小时
注册时间
2020-2-5
回帖
57
发表于 2020-3-3 19:20:07 | 显示全部楼层 |阅读模式
悬赏10星屑已解决
本帖最后由 axluo666 于 2020-3-3 19:35 编辑

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

最佳答案

查看完整内容

你的 Sprite 添加在下面哪个方法里?自己去换,换到满意为止。 Scene_Map.prototype.createDisplayObjects = function(){ this.createSpriteset(); this.createMapNameWindow(); this.createWindowLayer(); this.createAllWindows(); };
梦石
0
星屑
22589
在线时间
2606 小时
注册时间
2015-7-4
回帖
918
发表于 2020-3-3 19:20:08 | 显示全部楼层
你的 Sprite 添加在下面哪个方法里?自己去换,换到满意为止。
Scene_Map.prototype.createDisplayObjects = function(){
    this.createSpriteset();
    this.createMapNameWindow();
    this.createWindowLayer();
    this.createAllWindows();
};
回复

使用道具 举报

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

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部