| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2013-3-5 |
| 在线时间 | 3 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 3 小时
- 注册时间
- 2008-8-10
- 回帖
- 213
|
楼主 |
发表于 2008-9-25 23:06:04
|
显示全部楼层
以下引用Bhaal于2008-9-25 14:59:46的发言:
你在Window_Base下的:
def initialize(x, y, width, height)
super()
@windowskin_name = $game_system.windowskin_name
self.windowskin = RPG::Cache.windowskin(@windowskin_name)
self.x = x
self.y = y
self.width = width
self.height = height
self.z = 100
end
后面就添加:
def draw_battle_actor(actor, x, y)
bitmap=Bitmap.new("Graphics/Pictures/#{actor.id}")
cw = bitmap.width
ch = bitmap.height
src_rect = Rect.new(0, 0, cw, ch)
self.contents.blt(x - cw/20, y - ch, bitmap, src_rect)
self.z = 400
end
如果你没有改过Window_BattleStatus里的super后面的坐标,是不会出现那个情况的,你看看你有没有改super里的数。
还是不行!崩溃中~ |
|