幻想森林

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1593|回复: 1

[RMVX] [求助]问题啊!

[复制链接]

64

主题

103

帖子

627

积分

⑤进阶

积分
627
发表于 2006-8-18 11:26:06 | 显示全部楼层 |阅读模式
  1. def refresh
  2.     self.contents.clear
  3.     self.contents.font.color = system_color
  4.     self.contents.draw_text(0, 0, 500, 32, "菜单系统:")
  5.     self.contents.font.color = normal_color
  6.     self.contents.draw_text(0, 40, 500, 32, "信息:在行动中玩家收集到的相关物品、信息")
  7.     self.contents.draw_text(0, 70, 500, 32, "存档:记得在游戏进行中存档,以防信息丢失")
  8.     self.contents.draw_text(0, 100, 500, 32, "结束游戏:结束当前进行的游戏或重新读档")
  9.     self.contents.font.color = system_color
  10.     self.contents.draw_text(0, 140, 500, 32, "游戏操作(键盘):")
  11.     self.contents.font.color = normal_color
  12.     self.contents.draw_text(0, 170, 500, 32, "Esc/X:调出菜单(可查看收集的资料、HIT值")
  13.     self.contents.draw_text(0, 200, 500, 32, "Enter/C:在对话中切换对话;在行动中为取证;")
  14.     self.contents.draw_text(90, 230, 500, 32, "在推理是为选择")
  15.     self.contents.draw_text(0, 260, 500, 32, "上/下/左/右:在调查中,控制柯南行动")
  16.     self.contents.font.color = system_color
  17.     self.contents.draw_text(0, 300, 500, 32, "在游戏中遇到困难,请参阅reading.chm文件")
  18.     self.contents.draw_text(0, 330, 500, 32, "里面有详尽的操作方法和攻略")
  19.     self.contents.font.color = normal_color
  20.     self.contents.draw_text(20, 370, 500, 32, "官方网站:[url]http://iten.3322.org[/url]")
  21.     self.contents.draw_text(20, 400, 500, 32, "合作站点:[url]http://econan.xinwen365.net[/url]")
  22.     end
复制代码
    self.contents.draw_text(20, 400, 500, 32, "合作站点:http://econan.xinwen365.net")
其中的20,400,500,32是什么含义那?
回复

使用道具 举报

89

主题

2333

帖子

3273万

积分

⑧专业

Xavier on Rails

积分
32739794
QQ
发表于 2006-8-18 13:06:28 | 显示全部楼层
帮助文件上的解释
draw_text(x, y, width, height, str[, align])
前四个数值分别是(x坐标,y坐标,宽,高)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|幻想森林

GMT+8, 2025-6-29 14:23 , Processed in 0.009902 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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