| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2016-5-22 |
| 在线时间 | 189 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 189 小时
- 注册时间
- 2013-1-26
- 回帖
- 31
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
本帖最后由 ninesound 于 2014-1-15 01:47 编辑
这是脚本,可以在战斗中显示回合数的
- #==============================================================================
-
- # ** Window_MapStatus
-
- #==============================================================================
-
- class Window_MapStatus< Window_Base
-
- #----------------------------------------------------------------------------
-
- # * 初始化
-
- #----------------------------------------------------------------------------
-
- def initialize
- super(420, 350, 105, 50)
- refresh
-
- end
-
- #----------------------------------------------------------------------------
-
- # * 刷新画面
-
- #----------------------------------------------------------------------------
-
- def update
-
- super
-
- refresh
-
- end
-
- #----------------------------------------------------------------------------
-
- # * 更新内容
-
- #----------------------------------------------------------------------------
-
- def refresh
-
- self.contents.clear
- self.contents.font.bold = true
- self.contents.font.color = Color.new(16, 108,143)
- count ="第" + "#{$game_troop.turn_count}" + "回合"
- #count = "#{$game_troop.turn_count}"
- self.contents.font.bold = false
- # draw_text(0,0,20,30,count)
- draw_text(0,0,100,30,count)
- end
-
- end
复制代码
我想在回合数下面插入一张图片
请问要怎么修改呢? |
|