Project1

标题: 【已解决】场景显示窗口且选项是=2 [打印本页]

作者: 金芒芒    时间: 2024-7-6 10:10
标题: 【已解决】场景显示窗口且选项是=2
本帖最后由 金芒芒 于 2024-7-7 12:55 编辑

@chuzhan_IndexCommand = Window_chuzhanCommand.new
RUBY 代码复制
  1. class Scene_zhenwei
  2.   #--------------------------------------------------------------------------
  3.   # ● 初始化对像
  4.   #     zhenwei_index : 命令光标的初期位置,zhenwei_index = 9,chuzhan_index = 0
  5.   #--------------------------------------------------------------------------
  6.   def initialize(zhenwei_index = 0)
  7.     @zhenwei_index = zhenwei_index
  8. #    @chuzhan_index[i] = chuzhan_index
  9.     @wait_time = 0
  10.   end
  11.   #--------------------------------------------------------------------------
  12.   # ● 主处理
  13.   #--------------------------------------------------------------------------
  14.   def main
  15.     # 生成地图背景
  16.     @zhenwei_TransparentBackground = Spriteset_Map.new
  17.     # 生成出战菜单选项
  18.     @zhenwei_IndexCommand = Window_zhenweiCommand.new
  19.     @zhenwei_IndexCommand.index = @zhenwei_index
  20.     # 生成阵位列表
  21.     @chuzhan_IndexCommand = Window_chuzhanCommand.new

作者: 金芒芒    时间: 2024-7-7 12:53
self.index = index




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