赞 | 0 |
VIP | 385 |
好人卡 | 115 |
积分 | 1 |
经验 | 96276 |
最后登录 | 2017-6-4 |
在线时间 | 2188 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 2188 小时
- 注册时间
- 2011-6-23
- 帖子
- 1044
|
本帖最后由 lsu666666 于 2011-7-19 19:55 编辑
我做的头像是圆形的
但是在战斗的视窗出现的框框是正方形的....把头像挡住了
我想让头像是完整圆形的该如何修改T.T
我用的头像脚本代码如下- #----------------------------------------------------------------------------
- # Easy Battle HUD v1.3 (for RPG Maker VX *only*)
- # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- # Scripted by Dark Gaia (http://[email protected])
- # Based in part upon EvenAngel's Battle HUD
- # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- # Insert this script under Materials and above Main. This script is compatible
- # with any other script that doesn't modify the Battle Status window.
- # **Not to be used with Tankentai ABS battle system**
- # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- # Credit if used. Free for use in commercial projects.
- #----------------------------------------------------------------------------
-
- #--------------------------------------------------------------------------
- # ● Set Up Battle HUD
- #--------------------------------------------------------------------------
- # You can customise aspects of your battle HUD here.
-
- FONT_SIZE = 18 # 在战斗中窗口的字体大小。
- STATUS_FONT = ["Verdana"] #在战斗窗口中使用的字体名称。
-
- # End of customisation section.
-
- class Window_BattleStatus
- #--------------------------------------------------------------------------
- # ● Initialize
- #--------------------------------------------------------------------------
- def initialize
- super(0, 0, 416, 128)
- @column_max = 4
- refresh
- self.active = false
- self.opacity = 0
-
- def update_cursor
- self.cursor_rect.empty
- end
-
- end
- #--------------------------------------------------------------------------
- # ● Window_BattleStatus
- #--------------------------------------------------------------------------
- def draw_item(index)
- x = index * 96
- rect = Rect.new(x, 0, 96, 96)
- self.contents.clear_rect(rect)
- self.contents.font.color = normal_color
- actor = $game_party.members[index]
-
- draw_actor_face(actor, x + 1, -9, 74)
- draw_actor_state(actor, x + 72, WLH * 3)
- self.contents.font.color = hp_color(actor)
- self.contents.font.name = STATUS_FONT
- self.contents.font.size = FONT_SIZE
- draw_actor_hp(actor, x + 2, WLH * 2, 80)
- draw_actor_mp(actor, x + 2, WLH * 3, 70)
-
- end
- end
复制代码 |
|