赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 2 |
经验 | 13283 |
最后登录 | 2024-3-7 |
在线时间 | 227 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 170
- 在线时间
- 227 小时
- 注册时间
- 2011-5-19
- 帖子
- 736
|
本帖最后由 xggzga117 于 2014-3-9 14:29 编辑
嗯成功了!把相关脚本发上来……
#--------------------------------------------------------------------------
# ● 更新画面
#--------------------------------------------------------------------------
def update
contents.clear if $game_switches[2] == true
draw_shit1 if $game_switches[2] == true
end
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
draw_shit1
end
……顺手把我自己做的东西也传上来吧。(PS.11号角色的名字就是斜杠)
#--------------------------------------------------------------------------
# ● 生成窗口内容
#--------------------------------------------------------------------------
def draw_shit1
draw_text(0, 0, 640, 24, $game_map.display_name)
draw_text(0, 24, 640, 24, $game_actors[12].name)
draw_text(64, 24, 640, 24, Vocab::hp_a)
draw_text(96, 24, 640, 24, $game_actors[12].hp)
draw_text(136, 24, 640, 24, $game_actors[11].name)
draw_text(160, 24, 640, 24, $game_actors[12].mhp)
draw_text(240, 24, 640, 24, Vocab::mp_a)
draw_text(272, 24, 640, 24, $game_actors[12].mp)
draw_text(312, 24, 640, 24, $game_actors[11].name)
draw_text(336, 24, 640, 24, $game_actors[12].mmp)
end
end |
|