本帖最后由 VIPArcher 于 2018-10-24 15:12 编辑
你可能没写对路径(
- Audio.se_play('Audio/SE/Fanfare2.ogg')
复制代码
这个RPG::SE在RGSS里帮你指定好路径了
class RPG::SE < RPG::AudioFile def play unless @name.empty? Audio.se_play('Audio/SE/' + @name, @volume, @pitch) end end def self.stop Audio.se_stop end end
class RPG::SE < RPG::AudioFile
def play
unless @name.empty?
Audio.se_play('Audio/SE/' + @name, @volume, @pitch)
end
end
def self.stop
Audio.se_stop
end
end
|