查看: 1039|回复: 3

简单任务系统 的问题

  [复制链接]
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-10-1
回帖
89
发表于 2008-10-16 20:48:24 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽

穿越一季:朔

梦石
0
星屑
50
在线时间
333 小时
注册时间
2007-4-11
回帖
5052

贵宾

发表于 2008-10-16 21:38:19 | 显示全部楼层
理解不能..

    $任务 = ""
    $支线 = nil
    $支线完成 = nil
这里可以不要改

  1.   # ● 刷新画面
  2.   #--------------------------------------------------------------------------
  3.   def refresh
  4.     self.contents.clear
  5.     self.contents.font.color = system_color
  6.     self.contents.font.size = 20
  7.     cx = self.contents.text_size("现在地点").width + 24
  8.     self.contents.draw_text(4, 0, cx, 24, "现在地点")
  9.     self.contents.font.color = normal_color
  10.     self.contents.draw_text(4 + cx, 0, 444 - cx, 24, $game_map.name.to_s)  
  11.     self.contents.font.color = system_color
  12.     cx = self.contents.text_size("主线任务").width + 24
  13.     self.contents.draw_text(4, 32, cx, 24, "主线任务")
  14.     self.contents.font.color = Color.new(240,250,75,255)
  15.     self.contents.draw_text(4 + cx, 32, 444 - cx, 24, $game_system.mission.to_s)  
  16.     self.contents.font.color = system_color
  17.     cx = self.contents.text_size("支线任务").width + 24
  18.     self.contents.draw_text(4, 96, cx, 24, "支线任务")
  19.     self.contents.font.color = normal_color
  20.     for i in 0...$game_system.partmission.size
  21.       self.contents.draw_text(4 + cx, 96 + i * 32, 444 - cx, 24, $game_system.partmission[i].to_s)
  22.     end
  23.   end
  24. end
复制代码


这里的文字修改即可.如[历练任务]


系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
6R复活?别扯淡了.

柳柳一旦接手66RPG,我果断呵呵啊。
回复

使用道具 举报

头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-10-1
回帖
89
 楼主| 发表于 2008-10-16 21:41:38 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-10-1
回帖
89
 楼主| 发表于 2008-10-17 01:01:14 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

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

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部