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

Project1

 找回密码
 注册会员
搜索

第15个选项之后怎么显示

查看数: 1738 | 评论数: 5 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2015-8-26 23:14

正文摘要:

第15个选项之后怎么显示

回复

chd114 发表于 2015-8-29 22:35:19
yinhe2008669 发表于 2015-8-26 18:51
这个魔塔样版是我自己修改的,脚本:

class Window_xd < Window_Base

这···为什么一样的部分你要写那么多次···
yinhe2008669 发表于 2015-8-27 17:20:30
yinhe2008669 发表于 2015-8-27 12:55:36
本帖最后由 yinhe2008669 于 2015-8-27 13:01 编辑

文件正在上传
yinhe2008669 发表于 2015-8-27 11:51:23
本帖最后由 yinhe2008669 于 2015-8-27 13:09 编辑

这个魔塔样版是我自己修改的,脚本:
RUBY 代码复制
  1. class Window_xd < Window_Base
  2.   #--------------------------------------------------------------------------
  3.   # ● 初始化窗口
  4.   #--------------------------------------------------------------------------
  5.   def initialize
  6.      super(0, 0, 440, 480)
  7.      self.contents = Bitmap.new(width + 440, height + 480)
  8.      refresh
  9.    end
  10.   #--------------------------------------------------------------------------
  11.   # ● 刷新
  12.   #--------------------------------------------------------------------------
  13.   def refresh
  14.     self.contents.clear
  15.     self.contents.font.color = system_color
  16.     #self.contents.draw_text(左右, 上下, 宽, 高, 文字, 0左1中2右)
  17.     if $game_variables[175]==1
  18.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  19.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  20.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  21.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  22.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  23.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  24.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  25.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  26.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  27.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  28.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  29.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  30.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  31.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  32.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  33.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  34.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  35.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  36.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  37.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  38.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  39.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  40.     end
  41.     if $game_variables[175]==2
  42.     self.contents.draw_text(0, 0, 420, 20, "数字0        用来控制是否显示角色状态栏", 0)
  43.     self.contents.draw_text(0, 20, 420, 20, "数字1        直接使用红血瓶(拥有红血瓶才有效)", 0)
  44.     self.contents.draw_text(0, 40, 420, 20, "数字2        直接使用蓝血瓶(拥有蓝血瓶才有效)", 0)
  45.     self.contents.draw_text(0, 60, 420, 20, "数字3        直接使用黄血瓶(拥有黄血瓶才有效)", 0)
  46.     self.contents.draw_text(0, 80, 420, 20, "数字4        直接使用绿血瓶(拥有绿血瓶才有效)", 0)
  47.     self.contents.draw_text(0, 100, 420, 20, "字母a        用来打开升级加点窗口(在升级脚本启用下有效)", 0)
  48.     self.contents.draw_text(0, 120, 420, 20, "字母e        直接选择使用4种药瓶", 0)
  49.     self.contents.draw_text(0, 140, 420, 20, "字母g        直接使用楼层传送器(获得楼层传送器后有效)", 0)
  50.     self.contents.draw_text(0, 160, 420, 20, "字母i        打开对话记录窗口(获得对话手册后有效)", 0)
  51.     self.contents.draw_text(0, 180, 420, 20, "字母l        用来切换血瓶是否可以携带(开关31打开下有效)", 0)
  52.     self.contents.draw_text(0, 200, 420, 20, "字母p        用来切换宝石是否可以携带(开关31打开下有效)", 0)
  53.     self.contents.draw_text(0, 220, 420, 20, "字母q        用来打开武器装备窗口", 0)
  54.     self.contents.draw_text(0, 240, 420, 20, "字母t        直接选择使用4种宝石", 0)
  55.     self.contents.draw_text(0, 260, 420, 20, "字母u        用来切换控制多个勇士(多个勇士的情况下有效)", 0)
  56.     self.contents.draw_text(0, 280, 420, 20, "字母z        在不移动主角的情况下切换主角朝向", 0)
  57.     self.contents.draw_text(0, 300, 420, 20, "字母b      用来退出非事件版的特殊战斗。", 0)
  58.     self.contents.draw_text(0, 320, 420, 20, "字母n      用来开关战斗过程", 0)
  59.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  60.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  61.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  62.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  63.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  64.     end
  65.     if $game_variables[175]==3
  66.     self.contents.draw_text(0, 0, 420, 20, "属性       说明", 0)
  67.     self.contents.draw_text(0, 20, 420, 20, "中毒       战斗后,角色每行动一格,减生命10点", 0)
  68.     self.contents.draw_text(0, 40, 420, 20, "衰弱       战斗后,角色攻防衰减为正常的75%", 0)
  69.     self.contents.draw_text(0, 60, 420, 20, "吸血       战斗前,怪物首先吸取角色34%的生命作为伤害", 0)
  70.     self.contents.draw_text(0, 80, 420, 20, "坚固       怪物的防御至少等于角色攻击-1", 0)
  71.     self.contents.draw_text(0, 100, 420, 20, "先攻       战斗时,怪物首先攻击1次", 0)
  72.     self.contents.draw_text(0, 120, 420, 20, "迟缓       战斗后,勇士行走速度降低到3.3", 0)
  73.     self.contents.draw_text(0, 140, 420, 20, "魔攻       战斗时,怪物的攻击无视角色的防御*1", 0)
  74.     self.contents.draw_text(0, 160, 420, 20, "连击       战斗时,怪物每回合攻击2次", 0)
  75.     self.contents.draw_text(0, 180, 420, 20, "领域       经过怪物周围Y格时自动减生命X点", 0)
  76.     self.contents.draw_text(0, 200, 420, 20, "破甲       战斗前,怪物附加角色防御的90%点作为伤害", 0)
  77.     self.contents.draw_text(0, 220, 420, 20, "潜伏       角色看不到怪物,除非拥有物品:探知器并距离怪物x格", 0)
  78.     self.contents.draw_text(0, 240, 420, 20, "无敌       角色无法击败怪物,除非拥有物品10-圣十字架", 0)
  79.     self.contents.draw_text(0, 260, 420, 20, "模仿       怪物的攻防等于角色的攻防*1", 0)
  80.     self.contents.draw_text(0, 280, 420, 20, "诅咒       战斗后,角色再次战斗无法获得金币经验,本次可以获得", 0)
  81.     self.contents.draw_text(0, 300, 420, 20, "反击       战斗时,怪物每回合附加角色攻击的10%作为伤害,无视角色防御", 0)
  82.     self.contents.draw_text(0, 320, 420, 20, "重生       怪物被击败后,角色转换楼层则怪物再次出现", 0)
  83.     self.contents.draw_text(0, 340, 420, 20, "净化       战斗前,怪物附加勇士魔防的3倍作为伤害", 0)
  84.     self.contents.draw_text(0, 360, 420, 20, "神偷       战斗前,勇士所持的4种血瓶数量减半,同时夺走勇士20%的金钱", 0)
  85.     self.contents.draw_text(0, 380, 420, 20, "自爆       战斗后,勇士生命降为1", 0)
  86.     self.contents.draw_text(0, 400, 420, 20, "退化       战斗后,勇士攻、防减x点、y点", 0)
  87.     self.contents.draw_text(0, 420, 420, 20, "仇恨       战斗前,怪物附加之前积累的仇恨值作为伤害", 0)
  88.     end
  89.     if $game_variables[175]==4
  90.     self.contents.draw_text(0, 0, 420, 20, "属性       说明", 0)
  91.     self.contents.draw_text(0, 20, 420, 20, "伪装       此怪物在怪物手册中除了伤害可见,其余都无法显示", 0)
  92.     self.contents.draw_text(0, 40, 420, 20, "遗忘       战斗前,勇士丢失80%的经验", 0)
  93.     self.contents.draw_text(0, 60, 420, 20, "夹击       经过两只“全等”的拥有这种属性的怪物中间,勇士受到x点伤害", 0)
  94.     self.contents.draw_text(0, 80, 420, 20, "退敌       经过怪物的十字领域时自动减生命x点", 0)
  95.     self.contents.draw_text(0, 100, 420, 20, "再生       怪物被杀死后会变成编号为x的怪物", 0)
  96.     self.contents.draw_text(0, 120, 420, 20, "白银       特殊战斗,框框合上按空格怪物-1血,否则勇士减血", 0)
  97.     self.contents.draw_text(0, 140, 420, 20, "必杀剑     怪物暴击率比普通怪稍高", 0)
  98.     self.contents.draw_text(0, 160, 420, 20, "邪眼       有此怪物就不能用楼层传送器", 0)
  99.     self.contents.draw_text(0, 180, 420, 20, "黄金       白银属性加强版,框框合上按空格怪物-1血,否则勇士减血", 0)
  100.     self.contents.draw_text(0, 200, 420, 20, "作者       战斗前不停的扣血", 0)
  101.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  102.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  103.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  104.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  105.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  106.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  107.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  108.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  109.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  110.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  111.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  112.     end
  113.     if $game_variables[175]==5
  114.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  115.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  116.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  117.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  118.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  119.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  120.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  121.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  122.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  123.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  124.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  125.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  126.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  127.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  128.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  129.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  130.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  131.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  132.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  133.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  134.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  135.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  136.     end
  137.     if $game_variables[175]==6
  138.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  139.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  140.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  141.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  142.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  143.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  144.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  145.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  146.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  147.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  148.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  149.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  150.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  151.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  152.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  153.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  154.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  155.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  156.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  157.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  158.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  159.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  160.     end
  161.    if $game_variables[175]==7
  162.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  163.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  164.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  165.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  166.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  167.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  168.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  169.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  170.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  171.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  172.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  173.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  174.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  175.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  176.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  177.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  178.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  179.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  180.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  181.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  182.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  183.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  184.     end
  185.     if $game_variables[175]==8
  186.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  187.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  188.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  189.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  190.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  191.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  192.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  193.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  194.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  195.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  196.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  197.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  198.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  199.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  200.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  201.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  202.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  203.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  204.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  205.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  206.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  207.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  208.     end
  209.     if $game_variables[175]==9
  210.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  211.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  212.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  213.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  214.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  215.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  216.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  217.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  218.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  219.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  220.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  221.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  222.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  223.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  224.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  225.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  226.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  227.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  228.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  229.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  230.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  231.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  232.     end
  233.     if $game_variables[175]==10
  234.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  235.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  236.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  237.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  238.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  239.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  240.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  241.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  242.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  243.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  244.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  245.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  246.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  247.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  248.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  249.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  250.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  251.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  252.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  253.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  254.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  255.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  256.     end
  257.     if $game_variables[175]==11
  258.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  259.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  260.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  261.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  262.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  263.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  264.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  265.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  266.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  267.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  268.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  269.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  270.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  271.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  272.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  273.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  274.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  275.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  276.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  277.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  278.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  279.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  280.     end
  281.     if $game_variables[175]==12
  282.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  283.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  284.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  285.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  286.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  287.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  288.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  289.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  290.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  291.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  292.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  293.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  294.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  295.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  296.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  297.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  298.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  299.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  300.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  301.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  302.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  303.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  304.     end
  305.     if $game_variables[175]==13
  306.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  307.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  308.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  309.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  310.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  311.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  312.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  313.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  314.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  315.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  316.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  317.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  318.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  319.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  320.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  321.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  322.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  323.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  324.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  325.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  326.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  327.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  328.     end
  329.     if $game_variables[175]==14
  330.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  331.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  332.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  333.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  334.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  335.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  336.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  337.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  338.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  339.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  340.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  341.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  342.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  343.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  344.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  345.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  346.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  347.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  348.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  349.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  350.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  351.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  352.     end
  353.     if $game_variables[175]==15
  354.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  355.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  356.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  357.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  358.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  359.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  360.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  361.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  362.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  363.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  364.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  365.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  366.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  367.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  368.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  369.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  370.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  371.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  372.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  373.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  374.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  375.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  376.     end
  377.     if $game_variables[175]==16
  378.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  379.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  380.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  381.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  382.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  383.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  384.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  385.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  386.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  387.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  388.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  389.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  390.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  391.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  392.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  393.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  394.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  395.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  396.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  397.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  398.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  399.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  400.     end
  401.     if $game_variables[175]==17
  402.     self.contents.draw_text(0, 0, 420, 20, "……………………………………………………………………………………", 0)
  403.     self.contents.draw_text(0, 20, 420, 20, "……………………………………………………………………………………", 0)
  404.     self.contents.draw_text(0, 40, 420, 20, "……………………………………………………………………………………", 0)
  405.     self.contents.draw_text(0, 60, 420, 20, "……………………………………………………………………………………", 0)
  406.     self.contents.draw_text(0, 80, 420, 20, "……………………………………………………………………………………", 0)
  407.     self.contents.draw_text(0, 100, 420, 20, "……………………………………………………………………………………", 0)
  408.     self.contents.draw_text(0, 120, 420, 20, "……………………………………………………………………………………", 0)
  409.     self.contents.draw_text(0, 140, 420, 20, "……………………………………………………………………………………", 0)
  410.     self.contents.draw_text(0, 160, 420, 20, "……………………………………………………………………………………", 0)
  411.     self.contents.draw_text(0, 180, 420, 20, "……………………………………………………………………………………", 0)
  412.     self.contents.draw_text(0, 200, 420, 20, "……………………………………………………………………………………", 0)
  413.     self.contents.draw_text(0, 220, 420, 20, "……………………………………………………………………………………", 0)
  414.     self.contents.draw_text(0, 240, 420, 20, "……………………………………………………………………………………", 0)
  415.     self.contents.draw_text(0, 260, 420, 20, "……………………………………………………………………………………", 0)
  416.     self.contents.draw_text(0, 280, 420, 20, "……………………………………………………………………………………", 0)
  417.     self.contents.draw_text(0, 300, 420, 20, "……………………………………………………………………………………", 0)
  418.     self.contents.draw_text(0, 320, 420, 20, "……………………………………………………………………………………", 0)
  419.     self.contents.draw_text(0, 340, 420, 20, "……………………………………………………………………………………", 0)
  420.     self.contents.draw_text(0, 360, 420, 20, "……………………………………………………………………………………", 0)
  421.     self.contents.draw_text(0, 380, 420, 20, "……………………………………………………………………………………", 0)
  422.     self.contents.draw_text(0, 400, 420, 20, "……………………………………………………………………………………", 0)
  423.     self.contents.draw_text(0, 420, 420, 20, "……………………………………………………………………………………", 0)
  424.     end
  425.   end
  426.   def update
  427.    refresh
  428.   end
  429. end
  430. #==============================================================================
  431. #------------------------------------------------------------------------------
  432. #==============================================================================
  433.  
  434. class Scene_游戏手册
  435.   #--------------------------------------------------------------------------
  436.   # ● 初始化对像
  437.   #     menu_index : 命令光标的初期位置
  438.   #--------------------------------------------------------------------------
  439.   def initialize(menu_index = 0)
  440.     @menu_index = menu_index
  441.   end
  442.   #--------------------------------------------------------------------------
  443.   # ● 主处理
  444.   #--------------------------------------------------------------------------
  445.   def main
  446.     # 生成命令窗口
  447.     s1 = "……"
  448.     s2 = "快捷键"
  449.     s3 = "怪物属性1"
  450.     s4 = "怪物属性2"
  451.     s5 = "……"
  452.     s6 = "……"
  453.     s7 = "……"
  454.     s8 = "……"
  455.     s9 = "……"
  456.     s10 = "……"
  457.     s11 = "……"
  458.     s12 = "……"
  459.     s13 = "……"
  460.     s14 = "……"
  461.     s15 = "……"
  462.     s16 = "……"
  463.     s17 = "……"
  464.  
  465.     @command_window = Window_Command.new(200, [s1, s2 , s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17])
  466.     @command_window.index = @menu_index
  467.     @command_window.y = 0
  468.  
  469.     # 生成怪物状态窗口
  470.     @enemy_window = Window_xd.new
  471.     @enemy_window.x = 200
  472.     @enemy_window.y = 0
  473.  
  474.     # 执行过渡
  475.     Graphics.transition
  476.     # 主循环
  477.     loop do
  478.       # 刷新游戏画面
  479.       Graphics.update
  480.       # 刷新输入信息
  481.       Input.update
  482.       # 刷新画面
  483.       update
  484.       # 如果切换画面就中断循环
  485.       if $scene != self
  486.         break
  487.       end
  488.     end
  489.     # 准备过渡
  490.     Graphics.freeze
  491.     # 释放窗口
  492.     @command_window.dispose
  493.     @enemy_window.dispose
  494.   end
  495.   #--------------------------------------------------------------------------
  496.   # ● 刷新画面
  497.   #--------------------------------------------------------------------------
  498.   def update
  499.     # 刷新窗口
  500.     @command_window.update
  501.     @enemy_window.update
  502.       case @command_window.index
  503.       when 0
  504.         $game_variables[175]=1
  505.       when 1
  506.         $game_variables[175]=2
  507.       when 2
  508.         $game_variables[175]=3
  509.       when 3
  510.         $game_variables[175]=4
  511.       end
  512.     # 命令窗口被激活的情况下: 调用 update_command
  513.     if @command_window.active
  514.       return
  515.     end
  516.   end
  517.   #--------------------------------------------------------------------------
  518.   # ● 刷新画面 (命令窗口被激活的情况下)
  519.   #--------------------------------------------------------------------------
  520.   def update_command
  521.     # 按下 B 键的情况下
  522.     if Input.trigger?(Input::B)
  523.       # 演奏取消 SE
  524.       $game_system.se_play($data_system.cancel_se)
  525.       # 切换的地图画面
  526.       $scene = Scene_Menu.new
  527.     end
  528.   end
  529. end
·雾逝者· 发表于 2015-8-27 09:41:19
{:2_270:}请提供这个魔塔样本的下载地址,以及自己是否对其作出了改动
只是提供一张图片的话,不是恰好持有这个样本的人是完全无法进行协助的
拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

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

GMT+8, 2024-11-22 17:49

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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