| 赞 | 1 |
| VIP | 22 |
| 好人卡 | 4 |
| 积分 | 1 |
| 经验 | 14594 |
| 最后登录 | 2015-10-25 |
| 在线时间 | 796 小时 |
Lv1.梦旅人 綾川司の姫様<
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 796 小时
- 注册时间
- 2007-12-20
- 帖子
- 4520
 
|
蹭小水=v=
咳,补充,如果想额外添加头像呢~可以在windowbase添加这样的一段= +
def draw_face (actor, x, y)
bitmap = RPG::Cache.battler(actor.battler_name + "f", actor.battler_hue) #把头像用“战斗图名+f”的形式命名放在battler文件夹下
cw = bitmap.width
ch = bitmap.height
src_rect = Rect.new(0, 0, cw, ch)
self.contents.blt(x , y, bitmap, src_rect) #x,y 坐标自己调整
end
然后在Window_BattleStatus就可以用draw_face(actor, x, y)调用了=v= 系统信息:本贴获得楼主认可,66RPG感谢您的热情解答~ |
|