加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 xingmot 于 2014-7-13 16:36 编辑
就是这个系统:
https://rpg.blue/thread-221404-1-1.html
和目前最新版XAS中的钩锁系统,头顶显示文字冲突。(头顶文字我是觉得无所谓了,所以也只能注释掉)
如图:
这个错误出现在标题画面点了开始之后。。。
552行部分的内容(522行后面有注释)
#=============================================================================== # ■ Sprite_Character #=============================================================================== class Sprite_Character < Sprite_Base #-------------------------------------------------------------------------- # ● Update Position #-------------------------------------------------------------------------- alias hookshot_update_position update_position def update_position hookshot_update_position if self.character.tool_effect == "Hookshot" #############这是522行################## case $game_player.direction when 2; self.x = $game_player.screen_x when 4; self.y = $game_player.screen_y when 6; self.y = $game_player.screen_y when 8; self.x = $game_player.screen_x end end end
#===============================================================================
# ■ Sprite_Character
#===============================================================================
class Sprite_Character < Sprite_Base
#--------------------------------------------------------------------------
# ● Update Position
#--------------------------------------------------------------------------
alias hookshot_update_position update_position
def update_position
hookshot_update_position
if self.character.tool_effect == "Hookshot" #############这是522行##################
case $game_player.direction
when 2; self.x = $game_player.screen_x
when 4; self.y = $game_player.screen_y
when 6; self.y = $game_player.screen_y
when 8; self.x = $game_player.screen_x
end
end
end
我非常希望两个系统都能用。
目前的解决方法(会出现一定的问题)高手无视
(白字)[直接把522~529行注释了。。。]
|