| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2020-5-5 |
| 在线时间 | 41 小时 |
- 梦石
- 0
- 星屑
- 60
- 在线时间
- 41 小时
- 注册时间
- 2008-3-5
- 回帖
- 1992
|
发表于 2009-3-18 20:40:25
|
显示全部楼层
draw_actor_pic(actor, actor_x, y + 62, 14)
#--------------------------------------------------------------------------
# ● HP の描画
# actor : アクター
# x : 描画先 X 座標
# y : 描画先 Y 座標
#--------------------------------------------------------------------------
def draw_actor_pic(actor, x, y, size = 16)
bitmap = RPG::Cache.picture("headpic/#{actor.battle_name}")
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)
self.contents.blt(x, y + 4, bitmap, src_rect)
end
找有一样的脚本的地方加进去 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|