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

Project1

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

[转载] RPGVX SP2 预制脚本问题修正

[复制链接]

Lv2.观梦者

(?????)

梦石
0
星屑
700
在线时间
1327 小时
注册时间
2011-7-18
帖子
3184

贵宾

跳转到指定楼层
1
发表于 2011-9-19 01:42:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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

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

x
本帖最后由 各种压力的猫君 于 2011-9-19 02:50 编辑

官方更新,地址:http://tkool.jp/support/download/rpgvx/rpgvx_update.html

最終更新日:2011/05/26


看到6R有带补丁的工程全都是SP1补丁……SP2被无视了么……(虽然这个修正无所谓的……)
之前搜索SP2没找到 - - 如果重复了我会删掉的……

SP2包含SP1内容

简单的翻译了一下注释(翻得不好但是不是机翻……其实根本没有翻译的必要 = = b)
  1. #==============================================================================
  2. # ■ VX_SP2
  3. #------------------------------------------------------------------------------
  4. #  修正预置脚本存在的问题。
  5. #==============================================================================

  6. #------------------------------------------------------------------------------
  7. # 【SP2 修正内容】
  8. #------------------------------------------------------------------------------
  9. # ■修正了名称输入画面的文字颜色不受Windows Skin控制,只能显示为白色的错误。
  10. #------------------------------------------------------------------------------
  11. # 【SP1 修正内容】
  12. #------------------------------------------------------------------------------
  13. # ■修正了显示动画时,编号较大的元件显示在编号较小的元件之上(Y坐标较小的时候),
  14. #   元件的优先级与设定不同的问题。
  15. # ■修正了反向显示动画时,Y坐标的算法错误的问题。
  16. # ■修正了相同动画连续显示时,必要的图形被误释放的问题。
  17. #------------------------------------------------------------------------------

  18. class Sprite_Base
  19.   alias eb_sp1_dispose_animation dispose_animation
  20.   def dispose_animation
  21.     eb_sp1_dispose_animation
  22.     @animation_bitmap1 = nil
  23.     @animation_bitmap2 = nil
  24.   end

  25.   alias eb_sp1_animation_set_sprites animation_set_sprites
  26.   def animation_set_sprites(frame)
  27.     eb_sp1_animation_set_sprites(frame)
  28.     cell_data = frame.cell_data
  29.     for i in 0..15
  30.       sprite = @animation_sprites[i]
  31.       next if sprite == nil
  32.       pattern = cell_data[i, 0]
  33.       next if pattern == nil or pattern == -1
  34.       if @animation_mirror
  35.         sprite.y = @animation_oy + cell_data[i, 2]
  36.       end
  37.       sprite.z = self.z + 300 + i
  38.     end
  39.   end
  40. end

  41. class Window_NameEdit
  42.   alias eb_sp2_refresh refresh
  43.   def refresh
  44.     self.contents.font.color = normal_color
  45.     eb_sp2_refresh
  46.   end
  47. end

  48. class Window_NameInput
  49.   alias eb_sp2_refresh refresh
  50.   def refresh
  51.     self.contents.font.color = normal_color
  52.     eb_sp2_refresh
  53.   end
  54. end
复制代码

Lv1.梦旅人

梦石
0
星屑
48
在线时间
678 小时
注册时间
2010-8-11
帖子
1533
2
发表于 2011-9-19 02:34:39 | 只看该作者
修正了反向显示动画时,Y坐标的算法的错误的问题

这个挺不错的XD

点评

不是修正了么= =?  发表于 2011-9-19 02:51
这个SP1就有了 = =  发表于 2011-9-19 02:49
小艾工作室开张= =
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2024-5-10 04:46

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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