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

Project1

 找回密码
 注册会员
搜索
楼主: 八云紫
打印 上一主题 下一主题

[RMVX发布] [vx] 多货币的银行和仓库

 关闭 [复制链接]

Lv1.梦旅人

穿越一季:朔

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

贵宾

7
发表于 2008-9-28 00:51:32 | 只看该作者
总感觉和亿万的某个脚本很像{/gg}貌似他那个是商店..你这个是仓库
6R复活?别扯淡了.

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

使用道具 举报

头像被屏蔽

Lv1.梦旅人 (禁止发言)

梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-9-24
帖子
13
6
发表于 2009-6-12 08:00:00 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

Lv1.梦旅人

穿越一季:朔

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

贵宾

5
发表于 2008-9-28 00:25:10 | 只看该作者
好吧..我承认这个脚本很好....
鲜花+美女呼喊
6R复活?别扯淡了.

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

使用道具 举报

Lv2.观梦者

神隐的主犯

梦石
0
星屑
263
在线时间
271 小时
注册时间
2008-2-22
帖子
7691

贵宾

4
 楼主| 发表于 2008-9-28 00:15:24 | 只看该作者
所用到的 方法与类:
  1. class Item < UsableItem
  2.    def price
  3.    def price=(value)
  4. class Weapon < BaseItem
  5.    def price
  6.    def price=(value)
  7. class Armor < BaseItem
  8.    def price
  9.    def price=(value)
  10.    def self.gold
  11. class Bitmap
  12.    def drawline(x1, y1, x2, y2, width, color)
  13.    def drawline_x(x1, y1, x2, y2, width, color)
  14.    def drawline_y(x1, y1, x2, y2, width, color)
  15. class Game_System
  16.    def initialize
  17.    def convert_currency(source, dest, value)
  18. class Game_Party < Game_Unit
  19.    def initialize
  20.    def gain_gold(n, currency = -1)
  21.    def lose_gold(n, currency = -1)
  22.    def gold(currency = -1)
  23. class Game_Interpreter
  24.    def choose_currency
  25. class Window_Gold < Window_Base
  26.    def initialize(x, y)
  27.    def refresh
  28.    def draw_currency_item(value, x, y, width, currency)
  29. class Window_Bank_Gold < Window_Selectable
  30.    def initialize
  31.    def refresh
  32.    def draw_currency_item(value, x, y, width, currency)
  33.    def item_rect(index)
  34. class Window_Warehouse < Window_Selectable
  35.    def initialize(kind, bool)
  36.    def kind=(index)
  37.    def check
  38.    def refresh_bool
  39.    def refresh
  40.    def update
  41.    def dispose
  42.    def draw_item(index)
  43. class Window_Byz_Help < Window_Base
  44.    def initialize
  45.    def clear
  46.    def set_item(item)
  47. class Window_Byz_Name < Window_Base
  48.    def initialize
  49.    def set(string)
  50. class Window_Byz_NumberInput < Window_Base
  51.    def initialize(x, y, w, h)
  52.    def digits_max
  53.    def digits_max=(digits_max)
  54.    def number
  55.    def number=(number)
  56.    def index=(number)
  57.    def cursor_right(wrap)
  58.    def cursor_left(wrap)
  59.    def update
  60.    def refresh
  61.    def update_cursor
  62.    def show_sprite(numbers, sprite, x, y)
  63.    def move_sprite(sprite, bool)
  64.    def dew(x)
  65.    def dispose_sprite
  66. class Window_ByzNumber < Window_Base
  67.    def initialize(x, y)
  68.    def set(item, max, price)
  69.    def number
  70.    def price
  71.    def refresh
  72.    def update
  73. class Scene_Byz_Bank < Scene_Base
  74.    def initialize
  75.    def start
  76.    def terminate
  77.    def update
  78.    def create_menu_command
  79.    def create_bank_command
  80.    def create_warehouse_command
  81.    def create_warehouse_type
  82.    def create_name
  83.    def create_currency_command_first
  84.    def create_currency_command_second
  85.    def create_inputnumber_window
  86.    def draw_loli_bitmap
  87.    def show_arrow
  88.    def show_arrow_two
  89.    def show_window(string)
  90.    def update_menu_command
  91.    def update_bank_command
  92.    def update_currency_command_first(type)
  93.    def update_currency_command_second
  94.    def input_number(type)
  95.    def update_bank_gold_window
  96.    def update_warehouse_command
  97.    def update_warehouse_window
  98.    def update_warehouse_input(type)
  99.    def menu_to_bank
  100.    def menu_to_warehouse
  101.    def bank_command_to_currency_command
  102.    def currency_command_to_bank_command
  103.    def inputnumber_to_command(type)
  104.    def input_to_command
  105.    def dispose_loli_bitmap
复制代码

《天空之城 —— 破碎的命运》
回复 支持 反对

使用道具 举报

Lv2.观梦者 (管理员)

八云紫的式神

梦石
0
星屑
564
在线时间
1243 小时
注册时间
2008-1-1
帖子
4282

烫烫烫

3
发表于 2008-9-27 21:43:10 | 只看该作者
占楼挑刺  2008年10月2日19:34:31

编号规则:轻微BUG 0.x,建议 1.x 严重BUG 2.x{/cy}
v0.1左上欢迎窗口文字坐标有问题(图1)
v0.2 当从【银行】或【仓库】返回时左上角的文字不能变回【欢迎】(图1)
v0.3 输入数字时0与9之间的切换不流畅
v1.0 在左边也能设置图片背景(图1),否则看起来很奇怪,咳咳
v1.1 兑换是即时显示兑换出来是多少
v1.2 存取物品的分类可以用←→或shift(INPUT::A)翻页,L和R一般基本没人按
v1.3 窗口不要盖住背景图(图3)最好是能像游戏地图那样半遮处理
v1.4 建议打开菜单是用动画效果(参考新菜单样式)
v2.0 银行 - 取消 好了,程序挂了
v2.1 存东西……挂了(图2)



图1

图2

图3
版主对此帖的评论:『修正完毕』,积分『-0』。这些被扣积分的一半会用于对本帖正确答案的悬赏。
rm for linux(wine)制作中,期待夏娜SAMA能实现到webrm上
回复 支持 反对

使用道具 举报

Lv2.观梦者

神隐的主犯

梦石
0
星屑
263
在线时间
271 小时
注册时间
2008-2-22
帖子
7691

贵宾

2
 楼主| 发表于 2008-9-27 21:42:21 | 只看该作者
本帖最后由 八云紫 于 2009-8-31 21:15 编辑

第一次(20080927) 更新 如下:

    1. 更改在取物品的时候出现显示错误,还有取不出物品的问题;
    2. 美化 银行 的设置输入窗口,使其不再单调。




第二次(20080927) 更新 如下:

   增加 银行 的利息计算。




第三个(20081003) 更新 如下:

   欢迎窗口文字坐标修正
   欢迎窗口文字返回修正
   输入数字时0与9之间的切换不流畅修正(少写一个 “=”,{/gg})
   增加 远景图 显示功能
   数字输入窗口增加 汇率 显示
   修正 银行 - 取消 后,不刷新的BUG
   修正存物品的BUG ,少打了一个 “S”




第四次(20081011) 更新:

   分离仓库脚本,脚本如下:

       http://rpg.blue/UP_PIC/200801/� ... �(仓库部分).txt

   用法和以上关于仓库的用法是一样的。




第五次(20081012)更新:

    更新兑换货币的时候, 一个致命BUG。(变量名打错了。>_<)




第六次(20081024)更新:

    更新取物品的时候,会出现的错误。 (数字写错了。>_<)

N久之后的一个更新,

2009-8-31

忘记把兑换类型数组清空了.
--------------------------------------------

由于 6R FTP 上传貌似很慢的样子, 所以请大小到这里面来下载吧.

http://yoyoku.ys168.com/ ...
八云紫 发表于 2009-8-31 21:13

《天空之城 —— 破碎的命运》
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2024-6-2 08:31

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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