Balloon SEVersion 1.0
by Woratana
Release Date: 15/05/2008
IntroductionThis script will play SE when show balloon.
It's just small snippet I wrote in less than a min.
Anyway, I feels like balloon with SE is better than silent balloon, so I scripted this~
I'll be using this in my Foxsuke Project.
Enjoy~!
ScriptPlace it above main
#==============================================================================
# [VX Snippet] ? Ballon SE ?
#-------------------------------------------------------------------------
# ? by Woratana [woratana@hotmail.com]
# ? Thaiware RPG Maker Community
# ? Released on: 15/04/2008
# ? Version: 1.0
#==============================================================================
class Sprite_Character < Sprite_Base
Balloon_SE = 'Load' # SE (Sound Effect) file name, it must be in folder SE
Balloon_SE_Volume = 80 # SE volume (0 - 100) Default: 80
Balloon_SE_Pitch = 100 # SE pich (50 - 150) Default: 100
alias wora_ballse_sprcha_strball start_balloon
def start_balloon
RPG::SE.new(Balloon_SE,Balloon_SE_Volume,Balloon_SE_Pitch).play
wora_ballse_sprcha_strball
end
end
InstructionJust put script above main.
Author's NotesFree for use in your project if credit is included.