赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 3365 |
最后登录 | 2018-9-22 |
在线时间 | 10 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 10 小时
- 注册时间
- 2006-6-15
- 帖子
- 383
|
re:主题:《怎么在状态界面现实地图名字呢?》 饿………………帮忙看下!好像有点不太对哦!![]()
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
cx = contents.text_size($data_system.words.gold).width
self.contents.font.color = normal_color
self.contents.draw_text(4, 0, 120-cx-2, 32, $game_party.gold.to_s, 2)
self.contents.font.color = system_color
self.contents.draw_text(124-cx, 0, cx, 32, $data_system.words.gold, 2)
#===========================================
# ★ 修改过的地方
#===========================================
cx = contents.text_size("精魄").width
self.contents.font.color = normal_color
self.contents.draw_text(4, 32, 120-cx-2, 32, $game_variables[44].to_s, 2)
self.contents.font.color = system_color
self.contents.draw_text(124-cx, 32, cx, 32, "精魄" , 2)
#===========================================
# ★ 修改过的地方完
#===========================================
$p = $game_map.map_id
self.contents.draw_text(0,20, 80, 32,"地图标号")
self.contents.draw_text(80,20, 50, 32, $p.to_s)
end
end
|
|