Boat Movement Sound

Furry Cat

Mae
Member
Joined
Jul 21, 2015
Messages
12
Reaction score
0
First Language
English
Primarily Uses
N/A
Hello.

Would there be a way to add a sound for when the boat vehicle is moving?
For example: If I'm holding right and the boat is moving right a sound would start playing.
But if I stop holding right and the boat stays still the sound would stop.

Would there be a way to do this?
I'd prefer any sound type: BGM/BGS/ME/SE.
 

Harosata

Dramatic Lightning's BFF
Veteran
Joined
Aug 20, 2015
Messages
246
Reaction score
70
First Language
English
Primarily Uses
RMVXA
I know I modded my movement to make noises with walking, and the method for a player in boat is in_boat? I'll have to remember to look at my code to see where I put it, but ideally, it is a SE.

Edit: What I have so far. The getting-off without triggering sound is a bit tricky at the moment, though.

Code:
class Game_Player < Game_Character
  alias dl_sound_move_straight move_straight
  def move_straight(d, turn_ok = true)
    dl_sound_move_straight(d, turn_ok)
    RPG::SE.new("Earth3", 50, 75).play if @move_succeed and in_boat? and !@vehicle_getting_on
  end
end
Of course, mod the sound file according to your needs.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top