赞 | 0 |
VIP | 0 |
好人卡 | 1 |
积分 | 0 |
经验 | 16978 |
最后登录 | 2015-12-4 |
在线时间 | 76 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 49
- 在线时间
- 76 小时
- 注册时间
- 2006-7-7
- 帖子
- 194
|
在Window_BattleStatus中,
#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize
super(0, 320, 640, 160)
self.opacity = 0 ###透明度
self.contents = Bitmap.new(width - 32, height - 32)
先加个透明度,然后在● 刷新 处,self.contents.clear后加:
a = @actor.id.to_s
bitmap=Bitmap.new("Graphics/Pictures/#{a}")
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height) #——可自己调整大小
self.contents.blt(x, 0, bitmap, src_rect)
这一段,然后就做个图片放在Graphics/Pictures里,跟着角色编号起1.2.3……就行了
算了,说不清楚,把看完就会了,在不行就抄灵儿续传的。
http://rpg.blue/web/htm/news124.htm
http://rpg.blue/web/htm/news125.htm 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|