设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 240|回复: 1
打印 上一主题 下一主题

[有事请教] 【已解决】场景显示窗口且选项是=2

[复制链接]

Lv4.逐梦者

梦石
0
星屑
7474
在线时间
1302 小时
注册时间
2015-8-15
帖子
742
跳转到指定楼层
1
发表于 2024-7-6 10:10:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
本帖最后由 金芒芒 于 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

Lv4.逐梦者

梦石
0
星屑
7474
在线时间
1302 小时
注册时间
2015-8-15
帖子
742
2
 楼主| 发表于 2024-7-7 12:53:35 | 只看该作者
self.index = index
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-9-8 10:27

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表