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.

How to let the player play a piano

I'm trying to create an event that allows the player to play the piano. While they can't actually PLAY it, I'm trying to lock the player movement and play a music effect or sound effect until the player presses any button... at which time I want the effect to stop playing that the character to be able to move again.

I'm still no good with scripting so I'm hoping it can be done without that, but so far I'm having trouble getting it to work properly.

As always, any help is very much appreciated.
 
Or you can make a conditional branch checking for a certain key and if found plays a certain song. i.e- Player presses the "A" key and Battle01 plays. Or if the player presses "C" it plays Battle02. Basically the same thing as the above (Page 1 in particular) just more advanced and you have to add a couple conditional branches...
 
This topic has been resolved. If relic180 or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 

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