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.

[Resolved] Level Up Effects: Sound and Picture

Status
Not open for further replies.
I'm trying to add some effects to my characters in the battle result screen when they level up.

Here's what I tried:
I added Audio.se_play("decide") to line 45 of the window_battlestatus in the default scripts which is right after self.contents.draw_text(actor_x, 96, 120, 32, "LEVEL UP!"). I also added the SE "decide" to my SE files. But when my character levels up, I receive an error stating that the "decide" file cannot be found. I'm probably going about this all wrong.

Here is what I would like to accomplish:

1. Play a SE whenever a character levels up. However, if 2 or more characters level up, there should be a delay between the sounds.

2. Show a picture above/on top of the character along with the SE when the character levels up. This pic would most likely be the words "Level Up" but in bubble letters or something. Again, there would be a delay if 2 or more characters are leveling up.

Any help would be appreciated.
 
I receive a no method error. undefined method 'name' for "decide":String

Also, that looks like a call script command. I would like for the command to be within the actual script, which, by the way, may possibly be in the wrong one.
 
Thanks, Mac.

Please disregard my other requests for help on the delay and show picture thing. I have to rethink some things because I'm using a side view battle system and it would make more sense to have the level up pic over the char and not on the char's stats. Right now I'm happy that the SE thing is working. Thanks again, Mac.
 
This topic has been resolved. If alexia or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

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