Project1

标题: 八人战斗用物品加HP的窗口无法完全显示 [打印本页]

作者: 36763183    时间: 2007-8-18 22:54
标题: 八人战斗用物品加HP的窗口无法完全显示
大家看截图就明白了,



再把对话框按过去就成这样了

不知道这个窗口在哪里改脚本?请指教
作者: 36763183    时间: 2007-8-18 22:54
标题: 八人战斗用物品加HP的窗口无法完全显示
大家看截图就明白了,



再把对话框按过去就成这样了

不知道这个窗口在哪里改脚本?请指教
作者: 孤独de思念    时间: 2007-8-18 22:57
看不到图  请LZ  重新传图
作者: 36763183    时间: 2007-8-18 23:08
能看到了 看吧  估计是个大问题。。。
作者: 36763183    时间: 2007-8-20 07:05
估计我没有提供范例是不是 范例在这里 大家看看是不是真的很困难?
http://rpg.blue/upload_program/files/人物跟随版八人制战斗.rar

作者: 36763183    时间: 2007-8-25 00:18
果然很困难,可索尔迦·蓝帮我解决了~~非常感谢!!我还是拿出来参考参考吧
先转到脚本的WindowSELECTABLEnew
找到161行的
          @index += 1            
在下面加上
          if @index > 3 and @column_max > 4
            self.ox += 120
            return
          end
然后往下看几行,找到@index -= 1
加上
          if @index >= 3 and @column_max > 4
            self.ox -= 120
            return
          end
转到WindowTargetNew25行
self.contents.clear
下面加上
    self.contents = Bitmap.new($game_party.actors.size * 120, height - 32)
48行else下面加上
      if @index > 3 and @column_max > 4
        x = 3 * 120
        return
      end
转到WindowTargetEquipment34行end下面加上
self.contents = Bitmap.new($game_party.actors.size * 120, height - 32)
231行  def update_cursor_rect
下面加上
    if @index > 3 and @column_max > 4
      x = 3 * 120
      return
    end
可能会出现SyntaxError检查一下IF与END的个数是否对应!完美解决!










欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1