| 
 
| 赞 | 0 |  
| VIP | 2 |  
| 好人卡 | 0 |  
| 积分 | 1 |  
| 经验 | 2180 |  
| 最后登录 | 2013-6-10 |  
| 在线时间 | 1 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间1 小时注册时间2007-8-18帖子701 | 
| # HP/SPメーターの描写 
 
 draw_actor_hp_meter_line(actor, actor_x - 17, 82, 120, 10)
 
 
 draw_actor_sp_meter_line(actor, actor_x - 17, 98, 120, 10)
 # HP数値の描写
 self.contents.font.size = 18 # HP/SP数値の文字の大きさ
 self.contents.font.color = Color.new(0,0,0,192)
 self.contents.draw_text(actor_x, 72, 96, 24, actor.hp.to_s, 2)
 self.contents.font.color = actor.hp == 0 ? knockout_color :
 actor.hp <= actor.maxhp / 4 ? crisis_color : normal_color
 self.contents.draw_text(actor_x-2, 70, 96, 24, actor.hp.to_s, 2)
 # SP数値の描写
 self.contents.font.color = Color.new(0,0,0,192)
 self.contents.draw_text(actor_x, 88, 96, 24, actor.sp.to_s, 2)
 self.contents.font.color = actor.sp == 0 ? knockout_color :
 actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color
 self.contents.draw_text(actor_x-2, 86, 96, 24, actor.sp.to_s, 2)
 # 用語「HP」と用語「SP」の描写
 self.contents.font.size = 18 # 用語「HP/SP」の文字の大きさ
 self.contents.font.color = Color.new(0,0,0,192)
 self.contents.draw_text(actor_x - 7, 74, 196, 24, $data_system.words.hp)
 self.contents.draw_text(actor_x - 7, 90, 196, 24, $data_system.words.sp)
 self.contents.font.color = system_color # 用語「HP/SP」の文字の色
 self.contents.draw_text(actor_x - 7, 72, 196, 24, $data_system.words.hp)
 self.contents.draw_text(actor_x - 7, 88, 196, 24, $data_system.words.sp)
 # ステートの描写
 draw_actor_state(actor, actor_x-20, 103) #X- 55
 # 描画角色姓名
 #draw_actor_name(actor, actor_x-17, 103)
 # 値を更新
 @previous_hp = actor.hp
 @previous_sp = actor.sp
 
 
 
 哦,来贴脚本,不过得自己对坐标
 | 
 |