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

Project1

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

[原创发布] 全新傻瓜式任务系统

[复制链接]

Lv1.梦旅人

薄凉看客

梦石
0
星屑
50
在线时间
1269 小时
注册时间
2010-6-20
帖子
1316
跳转到指定楼层
1
发表于 2013-8-7 10:56:38 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

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

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

x
本帖最后由 恋′挂机 于 2013-8-15 16:45 编辑

升级版
先看截图










代码


RUBY 代码复制
  1. #==============================================================================
  2. # ■ Window_Command    显示任务帮助窗口的类。
  3. #------------------------------------------------------------------------------
  4. #   脚本作者:薄凉看客,转载或使用请保留此信息。
  5. #==============================================================================
  6. class Window_Command
  7.   def update_help
  8.     case self.index
  9.     when 0
  10.       help = ""
  11.     when 1
  12.       help = ""
  13.     when 2
  14.       help = ""
  15.     end
  16.     @help_window.set_text(help)
  17.   end
  18. end

RUBY 代码复制
  1. #==============================================================================
  2. # ■ Window_Helprw    显示任务帮助窗口的类。
  3. #------------------------------------------------------------------------------
  4. #   脚本作者:薄凉看客,转载或使用请保留此信息。
  5. #==============================================================================
  6. class Window_Helprw < Window_Base
  7.   def initialize
  8.     super(320, 50, 300, 380)
  9.     self.opacity = 0
  10.     self.contents = Bitmap.new(width - 32, height - 32)
  11.   end
  12.   def set_text(text, item = "", align = 0)
  13.     if text != @text or align != @align or item != @item
  14.       self.contents.clear
  15.       self.contents.font.color = system_color
  16.       self.contents.font.size = 13
  17.       self.contents.draw_text(68, -2, self.width - 40, 32, "任务描述")
  18.       self.contents.draw_text(68, -2 + 113, self.width - 40, 32, "任务目标")
  19.       self.contents.draw_text(68, -2 + 226, self.width - 40, 32, "任务奖励")
  20.       if item == "" and text == ""
  21.       self.contents.font.color = Color.new(255, 120, 120, 255)
  22.       xx = "未选中任务,或没有领取任"
  23.       self.contents.draw_text(15, 20, self.width - 40, 32, xx, align)
  24.       xx = "务没有相关描绘。"
  25.       self.contents.draw_text(15, 40, self.width - 40, 32, xx, align)
  26.       xx = "未选中任务,或没有领取任"      
  27.       self.contents.draw_text(15, 111 + 22, self.width - 40, 32, xx, align)
  28.       xx = "务没有相关描绘。"
  29.       self.contents.draw_text(15, 111 + 42, self.width - 40, 32, xx, align)
  30.       xx = "未选中任务,或没有领取任"
  31.       self.contents.draw_text(15, 224 + 20, self.width - 40, 32, xx, align)
  32.       xx = "务没有相关描绘。"
  33.       self.contents.draw_text(15, 224 + 40, self.width - 40, 32, xx, align)
  34.       end
  35.       self.contents.font.color = normal_color
  36.       self.contents.font.size = 15
  37.       if item != ""
  38.       case item.name
  39.       when "一夫当关"
  40.       xx = "乱童山麓一行与树精"
  41.       self.contents.draw_text(27, 20, self.width - 40, 32, xx, align)
  42.       xx = "一战险些丢了命!虽"
  43.       self.contents.draw_text(27, 40, self.width - 40, 32, xx, align)
  44.       xx = "胜却也是惨胜,努力"
  45.       self.contents.draw_text(27, 60, self.width - 40, 32, xx, align)
  46.       xx = "修炼,方能未雨绸缪。"
  47.       self.contents.draw_text(27, 80, self.width - 40, 32, xx, align)
  48.       xx = "帕吉尔等级达到30级"
  49.       self.contents.draw_text(27, 111 + 22, self.width - 40, 32, xx, align)
  50.       self.contents.font.color = Color.new(120, 255, 120, 255)
  51.       xx = "完成情况:"
  52.       self.contents.draw_text(27, 111 + 42, self.width - 40, 32, xx, align)
  53.       if $game_party.actors[1].level < 30
  54.       self.contents.font.color = Color.new(255, 120, 120, 255)
  55.       xx = "(未达成)"
  56.       else
  57.       self.contents.font.color = Color.new(120, 255, 120, 255)
  58.       xx = "(已达成)"
  59.       end
  60.       self.contents.draw_text(100, 111 + 42, self.width - 40, 32, xx, align)      
  61.       self.contents.font.color = normal_color
  62.       xx = "当前等级:"
  63.       self.contents.draw_text(27, 111 + 62, self.width - 40, 32, xx, align)
  64.       self.contents.font.color = Color.new(120, 255, 120, 255)
  65.       actor = $game_party.actors[1]
  66.       xx = actor.level.to_s
  67.       self.contents.draw_text(100, 111 + 62, self.width - 40, 32, xx, align)
  68.       self.contents.font.color = normal_color
  69.       xx = "目标等级:"
  70.       self.contents.draw_text(27, 111 + 82, self.width - 40, 32, xx, align)  
  71.       self.contents.font.color = Color.new(255, 120, 120, 255)
  72.       xx = "30"
  73.       self.contents.draw_text(100, 111 + 82, self.width - 40, 32, xx, align)
  74.       self.contents.font.color = Color.new(120, 255, 120, 255)
  75.       bitmap = RPG::Cache.icon("刀.png")
  76.       self.contents.blt(15, 224 + 25, bitmap, Rect.new(0, 0, 24, 24))      
  77.       xx = "云霄·寒光刀 × 1"
  78.       self.contents.draw_text(45, 224 + 20, self.width - 40, 32, xx, align)
  79.       bitmap = RPG::Cache.icon("剑.png")
  80.       self.contents.blt(15, 224 + 45, bitmap, Rect.new(0, 0, 24, 24))
  81.       self.contents.font.color = Color.new(255, 120, 120, 255)
  82.       xx = "云霄·饮血剑 × 1"
  83.       self.contents.draw_text(45, 224 + 40, self.width - 40, 32, xx, align)
  84.       self.contents.font.color = Color.new(120, 120, 255, 255)
  85.       bitmap = RPG::Cache.icon("棍.png")
  86.       self.contents.blt(15, 224 + 65, bitmap, Rect.new(0, 0, 24, 24))      
  87.       xx = "云霄·月魔棍 × 1"
  88.       self.contents.draw_text(45, 224 + 60, self.width - 40, 32, xx, align)  
  89.       self.contents.font.color = Color.new(255, 255, 64, 255)
  90.       bitmap = RPG::Cache.icon("枪.png")
  91.       self.contents.blt(15, 224 + 85, bitmap, Rect.new(0, 0, 24, 24))      
  92.       xx = "云霄·青鳞枪 × 1"
  93.       self.contents.draw_text(45, 224 + 80, self.width - 40, 32, xx, align)
  94.       self.contents.font.color = Color.new(255, 120, 120, 255)
  95.       self.contents.font.size = 10
  96.       xx = "以上4种装备任选其一(要什么?要我?)"
  97.       self.contents.draw_text(10, 224 + 95, self.width - 40, 32, xx, align)
  98.       when "将魂"
  99.       xx = "将军战死沙场,他的传"
  100.       self.contents.draw_text(22, 20, self.width - 40, 32, xx, align)
  101.       xx = "说被埋葬,沉睡了千年"
  102.       self.contents.draw_text(22, 40, self.width - 40, 32, xx, align)      
  103.       xx = "的将军魂被魔军唤醒。"
  104.       self.contents.draw_text(22, 60, self.width - 40, 32, xx, align)
  105.       xx = "勇士,快去阻止他吧!"
  106.       self.contents.draw_text(22, 80, self.width - 40, 32, xx, align)   
  107.       xx = "进入将军墓中,阻止魔"
  108.       self.contents.draw_text(22, 111 + 22, self.width - 40, 32, xx, align)
  109.       xx = "军的邪恶计划!"
  110.       self.contents.draw_text(22, 111 + 42, self.width - 40, 32, xx, align)  
  111.       self.contents.font.color = Color.new(120, 255, 120, 255)
  112.       xx = "完成情况:"
  113.       self.contents.draw_text(22, 111 + 62, self.width - 40, 32, xx, align)  
  114.       self.contents.font.color = Color.new(255, 120, 120, 255)
  115.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  116.       xx = "(未完成)"
  117.       self.contents.draw_text(100, 111 + 62, self.width - 40, 32, xx, align)
  118.       self.contents.font.color = Color.new(255, 255, 64, 255)
  119.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  120.       xx = "未打败,魔·将魂"
  121.       self.contents.draw_text(22, 111 + 82, self.width - 40, 32, xx, align)
  122.       bitmap = RPG::Cache.icon("书·桔色皮.png")
  123.       self.contents.blt(10, 224 + 25, bitmap, Rect.new(0, 0, 24, 24))      
  124.       xx = "战法·围魏救赵 × 1"
  125.       self.contents.font.color = Color.new(255, 255, 64, 255)
  126.       self.contents.draw_text(35, 224 + 20, self.width - 40, 32, xx, align)  
  127.       bitmap = RPG::Cache.icon("书·蓝皮.png")
  128.       self.contents.blt(10, 224 + 45, bitmap, Rect.new(0, 0, 24, 24))      
  129.       xx = "战法·火烧乌巢 × 1"
  130.       self.contents.font.color = Color.new(120, 120, 255, 255)
  131.       self.contents.draw_text(35, 224 + 40, self.width - 40, 32, xx, align)
  132.       bitmap = RPG::Cache.icon("书·绿皮.png")
  133.       self.contents.blt(10, 224 + 65, bitmap, Rect.new(0, 0, 24, 24))      
  134.       xx = "战法·窃符救赵 × 1"
  135.       self.contents.font.color = Color.new(120, 255, 120, 255)
  136.       self.contents.draw_text(35, 224 + 60, self.width - 40, 32, xx, align)  
  137.       bitmap = RPG::Cache.icon("书·紫皮.png")
  138.       self.contents.blt(10, 224 + 85, bitmap, Rect.new(0, 0, 24, 24))      
  139.       xx = "战法·草船借箭 × 1"
  140.       self.contents.font.color = Color.new(255, 120, 120, 255)
  141.       self.contents.draw_text(35, 224 + 80, self.width - 40, 32, xx, align)
  142.       self.contents.font.size = 10
  143.       xx = "以上4种战法任选其一(要什么?要我?)"
  144.       self.contents.draw_text(10, 224 + 95, self.width - 40, 32, xx, align)   
  145.       when "探索神秘之塔"
  146.       xx = "小镇后山有一神秘塔。"
  147.       self.contents.draw_text(22, 20, self.width - 40, 32, xx, align)
  148.       xx = "就连当地人也从未进去"
  149.       self.contents.draw_text(22, 40, self.width - 40, 32, xx, align)      
  150.       xx = "过,最近在塔顶出现了"
  151.       self.contents.draw_text(22, 60, self.width - 40, 32, xx, align)
  152.       xx = "奇异的色彩,去看看吧!"
  153.       self.contents.draw_text(22, 80, self.width - 40, 32, xx, align)   
  154.       xx = "登上神秘塔塔顶,打败"
  155.       self.contents.draw_text(22, 111 + 22, self.width - 40, 32, xx, align)
  156.       xx = "精灵,拿到月华天石。"
  157.       self.contents.draw_text(22, 111 + 42, self.width - 40, 32, xx, align)  
  158.       self.contents.font.color = Color.new(120, 255, 120, 255)
  159.       xx = "完成情况:"
  160.       self.contents.draw_text(22, 111 + 62, self.width - 40, 32, xx, align)  
  161.       self.contents.font.color = Color.new(255, 120, 120, 255)
  162.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  163.       xx = "(未完成)"
  164.       self.contents.draw_text(100, 111 + 62, self.width - 40, 32, xx, align)
  165.       self.contents.font.color = Color.new(255, 255, 64, 255)
  166.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  167.       xx = "未拿到月华天石"
  168.       self.contents.draw_text(22, 111 + 82, self.width - 40, 32, xx, align)
  169.       bitmap = RPG::Cache.icon("特殊魔石.png")
  170.       self.contents.blt(10, 224 + 25, bitmap, Rect.new(0, 0, 24, 24))      
  171.       xx = "魔石·莱西斯特 × 1"
  172.       self.contents.font.color = Color.new(255, 255, 64, 255)
  173.       self.contents.draw_text(35, 224 + 20, self.width - 40, 32, xx, align)  
  174.       bitmap = RPG::Cache.icon("自动魔石.png")
  175.       self.contents.blt(10, 224 + 45, bitmap, Rect.new(0, 0, 24, 24))      
  176.       xx = "魔石·拉捷特斯 × 1"
  177.       self.contents.font.color = Color.new(120, 120, 255, 255)
  178.       self.contents.draw_text(35, 224 + 40, self.width - 40, 32, xx, align)
  179.       bitmap = RPG::Cache.icon("技能魔石.png")
  180.       self.contents.blt(10, 224 + 65, bitmap, Rect.new(0, 0, 24, 24))      
  181.       xx = "魔石·新月之力 × 1"
  182.       self.contents.font.color = Color.new(120, 255, 120, 255)
  183.       self.contents.draw_text(35, 224 + 60, self.width - 40, 32, xx, align)  
  184.       bitmap = RPG::Cache.icon("魔法魔石.png")
  185.       self.contents.blt(10, 224 + 85, bitmap, Rect.new(0, 0, 24, 24))      
  186.       xx = "魔石·菲布尔利 × 1"
  187.       self.contents.font.color = Color.new(255, 120, 120, 255)
  188.       self.contents.draw_text(35, 224 + 80, self.width - 40, 32, xx, align)
  189.       self.contents.font.size = 10
  190.       xx = "随机以上4种魔石,看你有没有RP拿了!"
  191.       self.contents.draw_text(10, 224 + 95, self.width - 40, 32, xx, align)   
  192.       when "索尔的委托"
  193.       xx = "乱童山麓,索尔的妹妹"
  194.       self.contents.draw_text(22, 20, self.width - 40, 32, xx, align)
  195.       xx = "被魔蝎攻击,身中剧毒"
  196.       self.contents.draw_text(22, 40, self.width - 40, 32, xx, align)      
  197.       xx = "索尔自己要照看妹妹,"
  198.       self.contents.draw_text(22, 60, self.width - 40, 32, xx, align)
  199.       xx = "只好拜托你找解药了。"
  200.       self.contents.draw_text(22, 80, self.width - 40, 32, xx, align)   
  201.       xx = "找到解药:"
  202.       self.contents.draw_text(22, 111 + 22, self.width - 40, 32, xx, align)
  203.       xx = "九花玉露"
  204.       self.contents.draw_text(22, 111 + 42, self.width - 40, 32, xx, align)  
  205.       self.contents.font.color = Color.new(120, 255, 120, 255)
  206.       xx = "完成情况:"
  207.       self.contents.draw_text(22, 111 + 62, self.width - 40, 32, xx, align)  
  208.       self.contents.font.color = Color.new(255, 120, 120, 255)
  209.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  210.       xx = "(未完成)"
  211.       self.contents.draw_text(100, 111 + 62, self.width - 40, 32, xx, align)
  212.       self.contents.font.color = Color.new(255, 255, 64, 255)
  213.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  214.       xx = "未拿到九花玉露"
  215.       self.contents.draw_text(22, 111 + 82, self.width - 40, 32, xx, align)
  216.       bitmap = RPG::Cache.icon("048-Skill05.png")
  217.       self.contents.blt(10, 224 + 25, bitmap, Rect.new(0, 0, 24, 24))      
  218.       xx = "EXP 上升 10000 点"
  219.       self.contents.font.color = Color.new(255, 255, 64, 255)
  220.       self.contents.draw_text(35, 224 + 20, self.width - 40, 32, xx, align)  
  221.       bitmap = RPG::Cache.icon("048-Skill05.png")
  222.       self.contents.blt(10, 224 + 45, bitmap, Rect.new(0, 0, 24, 24))      
  223.       xx = "金钱 增加 10000"
  224.       self.contents.font.color = Color.new(120, 120, 255, 255)
  225.       self.contents.draw_text(35, 224 + 40, self.width - 40, 32, xx, align)
  226.       when "习乐"
  227.       xx = "音乐是最美妙的艺术!"
  228.       self.contents.draw_text(22, 20, self.width - 40, 32, xx, align)
  229.       xx = "人们在它的世界里陶醉!"
  230.       self.contents.draw_text(22, 40, self.width - 40, 32, xx, align)      
  231.       xx = "你与乐神仅一步之遥!"
  232.       self.contents.draw_text(22, 60, self.width - 40, 32, xx, align)
  233.       xx = "去追寻那天籁之音吧!"
  234.       self.contents.draw_text(22, 80, self.width - 40, 32, xx, align)   
  235.       xx = "向修道院中乐神习乐,"
  236.       self.contents.draw_text(22, 111 + 22, self.width - 40, 32, xx, align)
  237.       xx = "或者在菜单中学习乐。"
  238.       self.contents.draw_text(22, 111 + 42, self.width - 40, 32, xx, align)  
  239.       self.contents.font.color = Color.new(120, 255, 120, 255)
  240.       xx = "完成情况:"
  241.       self.contents.draw_text(22, 111 + 62, self.width - 40, 32, xx, align)  
  242.       self.contents.font.color = Color.new(255, 120, 120, 255)
  243.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  244.       xx = "(未完成)"
  245.       self.contents.draw_text(100, 111 + 62, self.width - 40, 32, xx, align)
  246.       self.contents.font.color = Color.new(255, 255, 64, 255)
  247.       #这里直接是未完成,其实写的时候,可以分歧一个开关
  248.       xx = "未学习乐"
  249.       self.contents.draw_text(22, 111 + 82, self.width - 40, 32, xx, align)
  250.       bitmap = RPG::Cache.icon("乐魂·Easy.png")
  251.       self.contents.blt(10, 224 + 25, bitmap, Rect.new(0, 0, 24, 24))      
  252.       xx = "乐魂·海之风暴 × 1"
  253.       self.contents.font.color = Color.new(255, 255, 64, 255)
  254.       self.contents.draw_text(35, 224 + 20, self.width - 40, 32, xx, align)  
  255.       bitmap = RPG::Cache.icon("乐魂·Fever.png")
  256.       self.contents.blt(10, 224 + 45, bitmap, Rect.new(0, 0, 24, 24))      
  257.       xx = "乐魂·高斯模糊 × 1"
  258.       self.contents.font.color = Color.new(120, 120, 255, 255)
  259.       self.contents.draw_text(35, 224 + 40, self.width - 40, 32, xx, align)
  260.       bitmap = RPG::Cache.icon("乐魂·Hard.png")
  261.       self.contents.blt(10, 224 + 65, bitmap, Rect.new(0, 0, 24, 24))      
  262.       xx = "乐魂·梦的预见 × 1"
  263.       self.contents.font.color = Color.new(120, 255, 120, 255)
  264.       self.contents.draw_text(35, 224 + 60, self.width - 40, 32, xx, align)  
  265.       bitmap = RPG::Cache.icon("乐魂·Normal.png")
  266.       self.contents.blt(10, 224 + 85, bitmap, Rect.new(0, 0, 24, 24))      
  267.       xx = "乐魂·天空之城 × 1"
  268.       self.contents.font.color = Color.new(255, 120, 120, 255)
  269.       self.contents.draw_text(35, 224 + 80, self.width - 40, 32, xx, align)
  270.       self.contents.font.size = 10
  271.       xx = "乐等级达到5,即可得以上4种乐魂之一。"
  272.       self.contents.draw_text(10, 224 + 95, self.width - 40, 32, xx, align)      
  273.       end  
  274.       end
  275.       @text = text
  276.       @item = item
  277.       @align = align
  278.       [url=home.php?mod=space&uid=95897]@actor[/url] = nil
  279.     end
  280.     self.visible = true
  281.   end
  282. end

RUBY 代码复制
  1. #==============================================================================
  2. # ■ Window_Itemrw    显示任务列表窗口的类。
  3. #------------------------------------------------------------------------------
  4. #   脚本作者:薄凉看客,转载或使用请保留此信息。
  5. #==============================================================================
  6. class Window_Item < Window_Selectable
  7.   def refresh
  8.     if self.contents != nil
  9.       self.contents.dispose
  10.       self.contents = nil
  11.     end
  12.     @data = []
  13.     for i in 1...$data_items.size
  14.       if $game_party.item_number(i) > 0
  15.         if $data_items[i].description != "主线任务" and
  16.           $data_items[i].description != "支线任务" and
  17.           $data_items[i].description != "日常任务"
  18.         @data.push($data_items[i])
  19.         end
  20.       end
  21.     end
  22.     unless $game_temp.in_battle
  23.       for i in 1...$data_weapons.size
  24.         if $game_party.weapon_number(i) > 0
  25.           @data.push($data_weapons[i])
  26.         end
  27.       end
  28.       for i in 1...$data_armors.size
  29.         if $game_party.armor_number(i) > 0
  30.           @data.push($data_armors[i])
  31.         end
  32.       end
  33.     end
  34.     @item_max = @data.size
  35.     if @item_max > 0
  36.       self.contents = Bitmap.new(width - 32, row_max * 32)
  37.       for i in 0...@item_max
  38.         draw_item(i)
  39.       end
  40.     end
  41.   end
  42. end  
  43. class Window_Itemrw < Window_Selectable
  44.   def initialize
  45.     super(107, 91, 210, 500)
  46.     @column_max = 1
  47.     refresh
  48.     self.index = -1
  49.   end
  50.   def item
  51.     return @data[self.index]
  52.   end
  53.   def refresh(kind = 0)
  54.     if self.contents != nil
  55.       self.contents.dispose
  56.       self.contents = nil
  57.     end
  58.     @data = []
  59.     if kind == 0
  60.     for i in 1...$data_items.size
  61.       if $game_party.item_number(i) > 0
  62.         if $data_items[i].description == "主线任务"
  63.         @data.push($data_items[i])
  64.         end
  65.       end
  66.     end
  67.     elsif kind == 1
  68.     for i in 1...$data_items.size
  69.       if $game_party.item_number(i) > 0
  70.         if $data_items[i].description == "支线任务"
  71.         @data.push($data_items[i])
  72.         end
  73.       end
  74.     end
  75.     elsif kind == 2
  76.     for i in 1...$data_items.size
  77.       if $game_party.item_number(i) > 0
  78.         if $data_items[i].description == "日常任务"
  79.         @data.push($data_items[i])
  80.         end
  81.       end
  82.     end
  83.     end
  84.     @item_max = @data.size
  85.     if @item_max > 0
  86.       self.contents = Bitmap.new(width - 32, row_max * 38)
  87.       for i in 0...@item_max
  88.         draw_item(i)
  89.       end
  90.     end
  91.   end
  92.   def draw_item(index)
  93.     item = @data[index]
  94.     case item
  95.     when RPG::Item
  96.       number = $game_party.item_number(item.id)
  97.     end
  98.     x = index % 1 * (150 + 32) + 10
  99.     y = index / 1 * 38
  100.     self.contents.font.size = 15
  101.     self.contents.draw_text(x + 28, y, 212, 32, item.name, 0)
  102.   end
  103.   def update_help
  104.     @help_window.set_text(self.item == nil ? "" : self.item.description,
  105.     self.item == nil ? "" : @data[index])
  106.   end
  107.   def update_cursor_rect
  108.   self.cursor_rect.empty
  109.   end  
  110. end

RUBY 代码复制
  1. #==============================================================================
  2. # ■ Blkk_rw    显示任务场景的类。
  3. #------------------------------------------------------------------------------
  4. #   脚本作者:薄凉看客,转载或使用请保留此信息。
  5. #==============================================================================
  6. class Blkk_rw
  7.   def initialize(index = 0)
  8.     @index = index
  9.   end
  10.   def main
  11.     xx = Spriteset_Map.new
  12.     blkk = []
  13.     blkk[15] = 0
  14.     @command_window = Window_Command.new(210, [
  15.     "", "", ""], blkk)
  16.     @command_window.index = @index
  17.     @command_window.visible = false
  18.     @help_window = Window_Helprw.new
  19.     @item_window = Window_Itemrw.new
  20.     @item_window.active = false
  21.     @item_window.opacity = 0
  22.     @command_window.help_window = @help_window
  23.     @item_window.help_window = @help_window
  24.     picture = Sprite.new
  25.     picture.bitmap = Bitmap.new("Graphics/Pictures/任务背景图.png")
  26.     picture.x -= 18
  27.     @picture2 = Sprite.new
  28.     @picture2.bitmap = Bitmap.new("Graphics/Pictures/主线任务.png")
  29.     @picture2.x -= 18
  30.     @picture3 = Sprite.new
  31.     @picture3.bitmap = Bitmap.new("Graphics/Pictures/支线任务.png")
  32.     @picture3.x -= 18
  33.     @picture3.opacity = 0
  34.     @picture4 = Sprite.new
  35.     @picture4.bitmap = Bitmap.new("Graphics/Pictures/日常任务.png")
  36.     @picture4.x -= 18
  37.     @picture4.opacity = 0
  38.     [url=home.php?mod=space&uid=124475]@arrow[/url] = Sprite.new
  39.     @arrow.bitmap = Bitmap.new("Graphics/Pictures/arrow4.png")
  40.     @arrow.x = 100
  41.     @arrow.y = 106
  42.     @arrow.opacity = 0
  43.     Graphics.transition
  44.     loop do
  45.       Graphics.update
  46.       Input.update
  47.       update
  48.       if $scene != self
  49.         break
  50.       end
  51.     end
  52.     Graphics.freeze
  53.     @command_window.dispose
  54.     xx.dispose
  55.     picture.dispose
  56.     @picture2.dispose
  57.     @picture3.dispose
  58.     @picture4.dispose
  59.     @arrow.dispose
  60.     @help_window.dispose
  61.     @item_window.dispose
  62.   end
  63.   def update
  64.     @command_window.update
  65.     @help_window.update
  66.     @item_window.update
  67.     @item_window.refresh(@command_window.index)
  68.     case @command_window.index
  69.     when 0
  70.       @picture2.opacity = 255
  71.       @picture3.opacity = 0
  72.       @picture4.opacity = 0
  73.     when 1
  74.       @picture2.opacity = 0
  75.       @picture3.opacity = 255
  76.       @picture4.opacity = 0
  77.     when 2
  78.       @picture2.opacity = 0
  79.       @picture3.opacity = 0
  80.       @picture4.opacity = 255
  81.     end
  82.     case @item_window.index
  83.     when -1
  84.       @arrow.opacity = 0
  85.     when 0
  86.       @arrow.y = 106
  87.       @arrow.opacity = 255
  88.     when 1
  89.       @arrow.y = 106 + 38
  90.       @arrow.opacity = 255
  91.     when 2
  92.       @arrow.y = 106 + 38 * 2
  93.       @arrow.opacity = 255
  94.     when 3
  95.       @arrow.y = 106 + 38 * 3
  96.       @arrow.opacity = 255
  97.     when 4
  98.       @arrow.y = 106 + 38 * 4
  99.       @arrow.opacity = 255
  100.     when 5
  101.       @arrow.y = 106 + 38 * 5
  102.       @arrow.opacity = 255
  103.     when 6
  104.       @arrow.y = 106 + 38 * 6
  105.       @arrow.opacity = 255      
  106.     end  
  107.     if @command_window.active
  108.       update_command
  109.       return
  110.     end
  111.     if @item_window.active
  112.       update_item
  113.       return
  114.     end   
  115.   end
  116.   def update_command
  117.     if Input.trigger?(Input::B)
  118.       $game_system.se_play($data_system.cancel_se)
  119.       $scene = Scene_Map.new
  120.       return
  121.     end
  122.     if Input.trigger?(Input::C)
  123.       $game_system.se_play($data_system.decision_se)
  124.       case @command_window.index
  125.       when 0
  126.         @command_window.active = false
  127.         @item_window.active = true
  128.         @item_window.index = 0
  129.      when 1
  130.         @command_window.active = false
  131.         @item_window.active = true
  132.         @item_window.index = 0
  133.       when 2
  134.         @command_window.active = false
  135.         @item_window.active = true
  136.         @item_window.index = 0
  137.       end
  138.       return
  139.     end  
  140.   end
  141.   def update_item
  142.     if Input.trigger?(Input::B)
  143.       $game_system.se_play($data_system.cancel_se)
  144.       @item_window.active = false
  145.       @command_window.active = true
  146.       @item_window.index = -1
  147.       return
  148.     end
  149.   end
  150. end



赠送:超级命令窗体脚本


RUBY 代码复制
  1. #==============================================================================
  2. # ■ Window_Command    超级命令窗体的类。
  3. #------------------------------------------------------------------------------
  4. #   脚本作者:薄凉看客,转载或使用请保留此信息。
  5. #==============================================================================
  6. =begin
  7.  
  8. 在生成Command.new时后边可以有第三个参数——一个数组(另附加一个图标文件名数组)
  9.  
  10. 数组详细说明(数组参数是非必须的,可有可无):
  11. [0:列数, 1:X坐标, 2:Y坐标, 3:Z坐标, 4:未选中字体大小, 5:选中字体大小,
  12. 6:未选中字体时的颜色, 7:选中字体时的颜色, 8:未选中时的字体名, 9:选中时的字体名,
  13. 10:项目无效化时的字体名, 11:项目无效化1, 12:项目无效化2, 13:项目无效化3,
  14. 14:项目无效化4, 15:窗口的不透明度, 16:背景的不透明度, 17:内容的不透明度,
  15. 18:是否显示图标]
  16. 注:如果需要显示图标,需要再加一个数组参数(非必须)来指定图标文件名(
  17. 当然也可以使用默认图标,数组内指定的图标会按012345的顺序依次显示,而
  18. 且不管你有几个选项,你都必须指定6个图标名,否则按默认处理)。
  19.  
  20. 举个例子:
  21.  
  22. #---------把Scene_Menu的26行脚本替换为以下内容,就能看到效果---------
  23.  
  24. array_menu = []
  25. array_menu[0] = 6#让选择项横着选
  26. array_menu[1] = 0#修改命令窗体的X坐标
  27. array_menu[2] = 100#修改命令窗体的Y坐标为100
  28. array_menu[4] = 15#修改命令窗体未选中时的字体大小为15
  29. array_menu[5] = 22#修改命令窗体选中时的字体大小为22
  30. array_menu[3] = 500#修改Z坐标,保证命令窗体显示在最上方
  31. array_menu[11] = 5#让5号选择项(即结束)无效化
  32. array_menu[15] = 150#修改窗体的不透明度
  33. array_menu[16] = 150#修改背景的不透明度
  34. array_menu[17] = 150#修改内容的不透明度
  35. array_menu[18] = true#给命令窗体显示上图标
  36. icon_commands = ["041-Item10.png", "050-Skill07.png",
  37. "019-Accessory04.png", "045-Skill02.png", "036-Item05.png",
  38. "046-Skill03.png"]#这是指定图标文件名
  39. mmand_window = Window_Command.new(640, [s1, s2, s3, s4, s5, s6],
  40. array_menu, icon_commands)
  41.  
  42. #---------把Scene_Menu的26行脚本替换为以上内容,就能看到效果---------
  43.  
  44. =end
  45. class Window_Command < Window_Selectable
  46.   def initialize(width, command, commands = [], icon_commands = 0)
  47.     if icon_commands = 0 or icon_commands.class != Array
  48.       icon_commands = ["041-Item10.png", "050-Skill07.png",
  49.       "019-Accessory04.png", "045-Skill02.png", "036-Item05.png",
  50.       "046-Skill03.png"]
  51.     elsif icon_commands.class == Array and (icon_commands[0] == nil or
  52.       icon_commands[1] == nil or icon_commands[2] == nil or
  53.       icon_commands[3] == nil or icon_commands[4] == nil or
  54.       icon_commands[5] == nil)
  55.       icon_commands = ["041-Item10.png", "050-Skill07.png",
  56.       "019-Accessory04.png", "045-Skill02.png", "036-Item05.png",
  57.       "046-Skill03.png"]
  58.     end  
  59.     if commands.class != Array
  60.       commands = []
  61.     end  
  62.     if commands[0] == 1 or commands[0] == nil
  63.       if commands[1] == nil and commands[2] != nil
  64.       super(0, commands[2], width, command.size * 32 + 32)
  65.       elsif commands[1] != nil and commands[2] == nil
  66.       super(commands[1], 0, width, command.size * 32 + 32)
  67.       elsif commands[1] == nil and commands[2] == nil
  68.       super(0, 0, width, command.size * 32 + 32)
  69.       elsif commands[1] != nil and commands[2] != nil
  70.       super(commands[1], commands[2], width, command.size * 32 + 32)      
  71.       end
  72.     else
  73.       if commands[1] == nil and commands[2] != nil
  74.       super(0, commands[2], width, 64)
  75.       elsif commands[1] != nil and commands[2] == nil
  76.       super(commands[1], 0, width, 64)
  77.       elsif commands[1] == nil and commands[2] == nil
  78.       super(0, 0, width, 64)
  79.       elsif commands[1] != nil and commands[2] != nil
  80.       super(commands[1], commands[2], width, 64)
  81.       end
  82.     end
  83.     if commands[3] != nil
  84.     self.z = commands[3]
  85.     else
  86.     self.z = 100
  87.     end
  88.     @command = command
  89.     @item_max = @command.size
  90.     if commands[0] != nil
  91.     @column_max = commands[0]
  92.     else
  93.     @column_max = 1
  94.     end
  95.     if commands[4] != nil
  96.     @size1 = commands[4]
  97.     else
  98.     @size1 = 22
  99.     end
  100.     if commands[5] != nil
  101.     @size2 = commands[5]
  102.     else
  103.     @size2 = 22
  104.     end
  105.     if commands[6] != nil
  106.     @color1 = commands[6]
  107.     else
  108.     @color1 = normal_color
  109.     end
  110.     if commands[7] != nil
  111.     @color2 = commands[7]
  112.     else
  113.     @color2 = normal_color
  114.     end
  115.     if commands[8] != nil
  116.     @name1 = commands[8]
  117.     else
  118.     @name1 = "黑体"
  119.     end
  120.     if commands[9] != nil
  121.     @name2 = commands[9]
  122.     else
  123.     @name2 = "黑体"
  124.     end
  125.     if commands[10] != nil
  126.     @name3 = commands[10]
  127.     else
  128.     @name3 = "黑体"
  129.     end
  130.     if commands[11] != nil
  131.     @disable_item1 = commands[11]
  132.     else
  133.     @disable_item1 = -1
  134.     end
  135.     if commands[12] != nil
  136.     @disable_item2 = commands[12]
  137.     else
  138.     @disable_item2 = -1
  139.     end
  140.     if commands[13] != nil
  141.     @disable_item3 = commands[13]
  142.     else
  143.     @disable_item3 = -1
  144.     end
  145.     if commands[14] != nil
  146.     @disable_item4 = commands[14]
  147.     else
  148.     @disable_item4 = -1
  149.     end
  150.     self.contents = Bitmap.new(width - 32, @item_max * 32)
  151.     if commands[15] != nil and commands[15] >= 0 and commands[15] <= 255
  152.       self.opacity = commands[15]
  153.     else
  154.       self.opacity = 255
  155.     end  
  156.     if commands[16] != nil and commands[16] >= 0 and commands[16] <= 255
  157.       self.back_opacity = commands[16]
  158.     else
  159.       self.back_opacity = 255
  160.     end
  161.     if commands[17] != nil and commands[17] >= 0 and commands[17] <= 255
  162.       self.contents_opacity = commands[17]
  163.     else
  164.       self.contents_opacity = 255
  165.     end
  166.     @icon_commands = icon_commands
  167.     @commands = commands
  168.     if @column_max != 1 and @commands[18] == true
  169.     @x1 = 0 % @column_max * ((width - 32) / @column_max)
  170.     @x2 = 1 % @column_max * ((width - 32) / @column_max + 5)
  171.     @x3 = 2 % @column_max * ((width - 32) / @column_max + 5)
  172.     @x4 = 3 % @column_max * ((width - 32) / @column_max + 5)
  173.     @x5 = 4 % @column_max * ((width - 32) / @column_max + 5)
  174.     @x6 = 5 % @column_max * ((width - 32) / @column_max + 5)
  175.     end
  176.     refresh
  177.     self.index = 0
  178.   end
  179.   def refresh
  180.     self.contents.clear
  181.     if @column_max != 1 and @commands[18] == true
  182.       case @item_max
  183.       when 1
  184.       bitmap = RPG::Cache.icon(@icon_commands[0])
  185.       self.contents.blt(@x1, 4, bitmap, Rect.new(0, 0, 24, 24))
  186.       when 2
  187.       bitmap = RPG::Cache.icon(@icon_commands[0])
  188.       self.contents.blt(@x1, 4, bitmap, Rect.new(0, 0, 24, 24))
  189.       bitmap = RPG::Cache.icon(@icon_commands[1])
  190.       self.contents.blt(@x2, 4, bitmap, Rect.new(0, 0, 24, 24))
  191.       when 3
  192.       bitmap = RPG::Cache.icon(@icon_commands[0])
  193.       self.contents.blt(@x1, 4, bitmap, Rect.new(0, 0, 24, 24))
  194.       bitmap = RPG::Cache.icon(@icon_commands[1])
  195.       self.contents.blt(@x2, 4, bitmap, Rect.new(0, 0, 24, 24))
  196.       bitmap = RPG::Cache.icon(@icon_commands[2])
  197.       self.contents.blt(@x3, 4, bitmap, Rect.new(0, 0, 24, 24))
  198.       when 4
  199.       bitmap = RPG::Cache.icon(@icon_commands[0])
  200.       self.contents.blt(@x1, 4, bitmap, Rect.new(0, 0, 24, 24))
  201.       bitmap = RPG::Cache.icon(@icon_commands[1])
  202.       self.contents.blt(@x2, 4, bitmap, Rect.new(0, 0, 24, 24))
  203.       bitmap = RPG::Cache.icon(@icon_commands[2])
  204.       self.contents.blt(@x3, 4, bitmap, Rect.new(0, 0, 24, 24))
  205.       bitmap = RPG::Cache.icon(@icon_commands[3])
  206.       self.contents.blt(@x4, 4, bitmap, Rect.new(0, 0, 24, 24))
  207.       when 5
  208.       bitmap = RPG::Cache.icon(@icon_commands[0])
  209.       self.contents.blt(@x1, 4, bitmap, Rect.new(0, 0, 24, 24))
  210.       bitmap = RPG::Cache.icon(@icon_commands[1])
  211.       self.contents.blt(@x2, 4, bitmap, Rect.new(0, 0, 24, 24))
  212.       bitmap = RPG::Cache.icon(@icon_commands[2])
  213.       self.contents.blt(@x3, 4, bitmap, Rect.new(0, 0, 24, 24))
  214.       bitmap = RPG::Cache.icon(@icon_commands[3])
  215.       self.contents.blt(@x4, 4, bitmap, Rect.new(0, 0, 24, 24))
  216.       bitmap = RPG::Cache.icon(@icon_commands[4])
  217.       self.contents.blt(@x5, 4, bitmap, Rect.new(0, 0, 24, 24))
  218.       when 6
  219.       bitmap = RPG::Cache.icon(@icon_commands[0])
  220.       self.contents.blt(@x1, 4, bitmap, Rect.new(0, 0, 24, 24))
  221.       bitmap = RPG::Cache.icon(@icon_commands[1])
  222.       self.contents.blt(@x2, 4, bitmap, Rect.new(0, 0, 24, 24))
  223.       bitmap = RPG::Cache.icon(@icon_commands[2])
  224.       self.contents.blt(@x3, 4, bitmap, Rect.new(0, 0, 24, 24))
  225.       bitmap = RPG::Cache.icon(@icon_commands[3])
  226.       self.contents.blt(@x4, 4, bitmap, Rect.new(0, 0, 24, 24))
  227.       bitmap = RPG::Cache.icon(@icon_commands[4])
  228.       self.contents.blt(@x5, 4, bitmap, Rect.new(0, 0, 24, 24))   
  229.       bitmap = RPG::Cache.icon(@icon_commands[5])
  230.       self.contents.blt(@x6, 4, bitmap, Rect.new(0, 0, 24, 24))
  231.       end
  232.     elsif @column_max == 1 and @commands[18] == true
  233.       case @item_max
  234.       when 1
  235.       bitmap = RPG::Cache.icon(@icon_commands[0])
  236.       self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24))
  237.       when 2
  238.       bitmap = RPG::Cache.icon(@icon_commands[0])
  239.       self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24))      
  240.       bitmap = RPG::Cache.icon(@icon_commands[1])
  241.       self.contents.blt(0, 32 + 4, bitmap, Rect.new(0, 0, 24, 24))
  242.       when 3
  243.       bitmap = RPG::Cache.icon(@icon_commands[0])
  244.       self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24))      
  245.       bitmap = RPG::Cache.icon(@icon_commands[1])
  246.       self.contents.blt(0, 32 + 4, bitmap, Rect.new(0, 0, 24, 24))
  247.       bitmap = RPG::Cache.icon(@icon_commands[2])
  248.       self.contents.blt(0, 64 + 4, bitmap, Rect.new(0, 0, 24, 24))
  249.       when 4
  250.       bitmap = RPG::Cache.icon(@icon_commands[0])
  251.       self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24))      
  252.       bitmap = RPG::Cache.icon(@icon_commands[1])
  253.       self.contents.blt(0, 32 + 4, bitmap, Rect.new(0, 0, 24, 24))
  254.       bitmap = RPG::Cache.icon(@icon_commands[2])
  255.       self.contents.blt(0, 64 + 4, bitmap, Rect.new(0, 0, 24, 24))      
  256.       bitmap = RPG::Cache.icon(@icon_commands[3])
  257.       self.contents.blt(0, 64 + 32 + 4, bitmap, Rect.new(0, 0, 24, 24))
  258.       when 5
  259.       bitmap = RPG::Cache.icon(@icon_commands[0])
  260.       self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24))      
  261.       bitmap = RPG::Cache.icon(@icon_commands[1])
  262.       self.contents.blt(0, 32 + 4, bitmap, Rect.new(0, 0, 24, 24))
  263.       bitmap = RPG::Cache.icon(@icon_commands[2])
  264.       self.contents.blt(0, 64 + 4, bitmap, Rect.new(0, 0, 24, 24))      
  265.       bitmap = RPG::Cache.icon(@icon_commands[3])
  266.       self.contents.blt(0, 64 + 32 + 4, bitmap, Rect.new(0, 0, 24, 24))      
  267.       bitmap = RPG::Cache.icon(@icon_commands[4])
  268.       self.contents.blt(0, 64 + 32 * 2 + 4, bitmap, Rect.new(0, 0, 24, 24))
  269.       when 6
  270.       bitmap = RPG::Cache.icon(@icon_commands[0])
  271.       self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24))      
  272.       bitmap = RPG::Cache.icon(@icon_commands[1])
  273.       self.contents.blt(0, 32 + 4, bitmap, Rect.new(0, 0, 24, 24))
  274.       bitmap = RPG::Cache.icon(@icon_commands[2])
  275.       self.contents.blt(0, 64 + 4, bitmap, Rect.new(0, 0, 24, 24))      
  276.       bitmap = RPG::Cache.icon(@icon_commands[3])
  277.       self.contents.blt(0, 64 + 32 + 4, bitmap, Rect.new(0, 0, 24, 24))      
  278.       bitmap = RPG::Cache.icon(@icon_commands[4])
  279.       self.contents.blt(0, 64 + 32 * 2 + 4, bitmap, Rect.new(0, 0, 24, 24))      
  280.       bitmap = RPG::Cache.icon(@icon_commands[5])
  281.       self.contents.blt(0, 64 + 32 * 3 + 4, bitmap, Rect.new(0, 0, 24, 24))
  282.       end
  283.     end
  284.     for i in 0...@item_max
  285.       if i == self.index
  286.         self.contents.font.name = @name2
  287.         self.contents.font.color = @color2
  288.         self.contents.font.size = @size2
  289.         color = @color2
  290.         name = @name2
  291.       else
  292.         self.contents.font.size = @size1
  293.         self.contents.font.name = @name1
  294.         self.contents.font.color = @color1
  295.         color = @color1
  296.         name = @name1
  297.       end
  298.       if i == @disable_item1 or i == @disable_item2 or i == @disable_item3 or
  299.         i == @disable_item4
  300.         color = disabled_color
  301.         name = @name3
  302.       end
  303.       draw_item(i, color, name)
  304.     end
  305.   end
  306.   def draw_item(index, color, name)
  307.     self.contents.font.color = color
  308.     self.contents.font.name = name
  309.     if @commands[18] != true
  310.      if @column_max == 1
  311.      rect = Rect.new(4, 32 * index, self.contents.width - 8, 32)  
  312.      else  
  313.      rect = Rect.new(index * width / @column_max + 12,
  314.      0, self.contents.width - 8, 32)
  315.      end
  316.      self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
  317.      self.contents.draw_text(rect, @command[index])
  318.      else
  319.      if @column_max == 1
  320.      self.contents.draw_text(4 + 20, 32 * index,
  321.      self.contents.width - 8, 32, @command[index])
  322.      else
  323.      self.contents.draw_text(index * width / @column_max + 12 + 10, 0,
  324.      self.contents.width - 8, 32, @command[index])
  325.      end
  326.     end
  327.   end
  328.   def disable_item(index)
  329.   end
  330.   def update_cursor_rect
  331.     refresh
  332.     super
  333.   end
  334. end






范例中有非共享素材所以就没有范例了 - -!

点评

直接使用的话脚本会出错,因为论坛原因。出错解决办法在21楼。  发表于 2013-8-31 18:07

评分

参与人数 2星屑 +110 收起 理由
tjjlb + 100 精品文章
英顺的马甲 + 10 美工不错

查看全部评分

Lv1.梦旅人

薄凉看客

梦石
0
星屑
50
在线时间
1269 小时
注册时间
2010-6-20
帖子
1316
2
 楼主| 发表于 2013-8-15 16:47:11 | 只看该作者
本帖最后由 恋′挂机 于 2013-8-15 16:58 编辑

更新自顶,来人啊,难道我做了个没人要的破玩意?

说明:
任务要在数据库和脚本中同时定义。
比如:
数据库中有这么一个物品:
物品名:某某任务
说明:主线任务
这样就可以了

在帮助脚本中,分歧了物品的名称
复制范例脚本(就是when "一夫当关"那段脚本)
改为 when "某某任务"
根据范例,修改自己的任务描述

还有这不仅仅只是任务系统,这种思路,还可以用来制作人物图鉴、怪物图鉴、装备合成、宝物合成等等。
看你是不是识马的伯乐了!
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
65
在线时间
391 小时
注册时间
2012-5-5
帖子
208
3
发表于 2013-8-15 17:09:38 | 只看该作者
本帖最后由 my.0lantulantu0 于 2013-8-15 17:12 编辑

思路值得学习,但是代码好可怕啊……Ctrl_C+Ctrl_V来一行一行编辑self.contents真心的伤不起啊……{:2_264:}(话说Ruby主张简练啊……

点评

不知道为什么"\n"没效果...  发表于 2013-8-15 17:12
回复 支持 反对

使用道具 举报

Lv2.观梦者

梦石
0
星屑
743
在线时间
2064 小时
注册时间
2011-10-3
帖子
1686
4
发表于 2013-8-15 17:15:35 | 只看该作者
界面好赞!
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
24 小时
注册时间
2012-8-10
帖子
6
5
发表于 2013-8-17 12:14:06 | 只看该作者
可以不要脸的请求一个范例下载吗【住手
回复 支持 反对

使用道具 举报

Lv1.梦旅人

路人党员

梦石
0
星屑
51
在线时间
2276 小时
注册时间
2010-12-30
帖子
3225
6
发表于 2013-8-20 21:05:00 | 只看该作者
楼主该考虑去学习一下字符串的处理了,
这种设置方法设置个十几个任务就已经累死了==
不过这美工真的很不错,先赞一个再说
本人擅长XP,如果有脚本或者Ruby方面的问题欢迎发电邮到[email protected]咨询,本人很少检查电邮所以不一定会及时回复,本人不会直接出手解决问题只会提供一个方向,所以谢绝伸手党
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
92
在线时间
468 小时
注册时间
2011-9-1
帖子
404
7
发表于 2013-8-21 15:58:21 | 只看该作者
求LZ发范列,发附件,我的脚本出错,而且不知道怎么用。=-=
男人不懂永远月经的痛,就像女人永远不懂蛋疼的痛
回复 支持 反对

使用道具 举报

Lv4.逐梦者

梦石
0
星屑
9275
在线时间
2504 小时
注册时间
2011-5-20
帖子
15389

开拓者

8
发表于 2013-8-24 10:58:01 | 只看该作者
的确是傻瓜式···不过物品多的游戏不适合用这个= =会卡爆的
[img]http://service.t.sina.com.cn/widget/qmd/5339802982/c02e16bd/7.png
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
111
在线时间
136 小时
注册时间
2012-7-25
帖子
339
9
发表于 2013-8-26 20:02:17 | 只看该作者
这个太高级了,咱用不上……
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
1256
在线时间
261 小时
注册时间
2011-3-18
帖子
40
10
发表于 2013-8-26 20:47:17 | 只看该作者
界面漂亮……
但是手动换行 T T 不太给力啊
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2024-4-19 22:29

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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