赞 | 0 |
VIP | 0 |
好人卡 | 3 |
积分 | 1 |
经验 | 2966 |
最后登录 | 2014-7-26 |
在线时间 | 64 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 64 小时
- 注册时间
- 2013-6-6
- 帖子
- 66
|
506859867 发表于 2013-6-5 22:56
调整了一下,发现。。。。。。。没用
def draw_item(index)
return if index.nil?
clear_item(index)
actor = battle_members[index]
rect = item_rect(index)
return if actor.nil?
draw_actor_face(actor, rect.x+2, rect.y+2, actor.alive?)
draw_actor_name(actor, rect.x, rect.y, rect.width-8)
draw_actor_action(actor, rect.x, rect.y)
draw_actor_icons(actor, rect.x, line_height*1, rect.width)
gx = YEA::BATTLE::BATTLESTATUS_HPGAUGE_Y_PLUS
contents.font.size = YEA::BATTLE::BATTLESTATUS_TEXT_FONT_SIZE
##draw_actor_hp(actor, rect.x+2, line_height*2+gx, rect.width-4)
if draw_tp?(actor) && draw_mp?(actor)##如果都有用到TP和mp
dw = rect.width/2-2
dw += 1 if $imported["YEA-CoreEngine"] && YEA::CORE::GAUGE_OUTLINE
dw = rect.width - rect.width/2 - 2
## draw_actor_tp(actor, rect.x+2, line_height*3, dw)
draw_actor_tp(actor, rect.x, line_height*3, rect.width-4)
## draw_actor_mp(actor, rect.x+rect.width/2, line_height*3, dw)
draw_actor_mp(actor, rect.x, line_height*2.5, rect.width-4)
draw_actor_hp(actor, rect.x, line_height*2, rect.width-4)##
elsif draw_tp?(actor) && !draw_mp?(actor) ##如果只有用到TP或mp一种
draw_actor_tp(actor, rect.x+2, line_height*3, rect.width-4)
### draw_actor_tp(actor, rect.x+2, line_height*3, rect.width-4)
draw_actor_hp(actor, rect.x+2, line_height*2+gx, rect.width-4)
else
draw_actor_mp(actor, rect.x+2, line_height*3, rect.width-4)
draw_actor_hp(actor, rect.x+2, line_height*2+gx, rect.width-4)##
end
###说明 ###
## draw_actor_Xp(actor(角色), x(横轴), y(纵轴), width(血条宽度))
##可参照着原来的来修改
end |
-
-
问题解决.zip
315.35 KB, 下载次数: 57
自己加上那啥300.DLL
评分
-
查看全部评分
|