Project1
标题:
怪物死亡消失问题。
[打印本页]
作者:
無聊啲尐柒
时间:
2008-3-8 22:10
提示:
作者被禁止或删除 内容自动屏蔽
作者:
水迭澜
时间:
2008-3-8 22:16
RPG::Sprite内
def collapse
self.blend_type = 1
self.color.set(255, 64, 64, 255)
self.opacity = 255
@_collapse_duration = 48
@_whiten_duration = 0
@_appear_duration = 0
@_escape_duration = 0
end
把那个 @_collapse_duration = 48 的数字改大点 [LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
作者:
無聊啲尐柒
时间:
2008-3-8 22:20
提示:
作者被禁止或删除 内容自动屏蔽
作者:
水迭澜
时间:
2008-3-8 22:45
你确实改的是RPG::Sprite?
或者会不会用了别的脚本覆盖了
作者:
無聊啲尐柒
时间:
2008-3-8 22:47
提示:
作者被禁止或删除 内容自动屏蔽
作者:
水迭澜
时间:
2008-3-8 22:48
class RPG::Sprite < Sprite
def collapse
self.blend_type = 1
self.color.set(255, 64, 64, 255)
self.opacity = 255
@_collapse_duration = 200
@_whiten_duration = 0
@_appear_duration = 0
@_escape_duration = 0
end
end
你把这段放在你的游戏main前边测试下...那个200你随便改吧
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1