Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[VX Snippet] Balloon SE

Balloon SE
Version 1.0
by Woratana
Release Date: 15/05/2008


Introduction
This script will play SE when show balloon.
It's just small snippet I wrote in less than a min.  :P

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~! :)


Script
Place it above main
Code:
#==============================================================================
# [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


Instruction
Just put script above main.  :lol:


Author's Notes
Free for use in your project if credit is included.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top