lyrics in game?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Veteran
- Posts: 264
- Joined: Tue Nov 04, 2008 1:23 pm
- Completed: Case of the missing bracelet, Case of the mysterious stalker
- Projects: Horror/fantasy
- Organization: Kaboyashi Square
- Location: US
- Contact:
lyrics in game?
I'm interested in having a part in my game where the player is able to write their own songs for the protagonist to sing in the concerts. I'm wondering if this is possible and how would I go about it?
-
- Miko-Class Veteran
- Posts: 636
- Joined: Thu May 14, 2009 8:15 pm
- Projects: Castle of Arhannia
- Contact:
Re: lyrics in game?
this is quite possible, and there are many many ways to go about this.
Firstly, you'll need to consider how you want the player to input the lyrics. this could be anything from going line by line using renpy.input() to even having the player write them in a separate text file.
Once you have the lyrics, you can put them as strings in a list, then use a for loop to go through the list, using renpy.say() to display them as the protagonist's singing.
It's also possible to have the lyrics display as subtitles while showing the cgs of the protagonist singing (like in the 4th ace attorney game), but that's a bit harder. basically, you'd use atl blocks in a while loop to continuously show the cgs while using text commands to show the lyrics.
Firstly, you'll need to consider how you want the player to input the lyrics. this could be anything from going line by line using renpy.input() to even having the player write them in a separate text file.
Once you have the lyrics, you can put them as strings in a list, then use a for loop to go through the list, using renpy.say() to display them as the protagonist's singing.
It's also possible to have the lyrics display as subtitles while showing the cgs of the protagonist singing (like in the 4th ace attorney game), but that's a bit harder. basically, you'd use atl blocks in a while loop to continuously show the cgs while using text commands to show the lyrics.
Who is online
Users browsing this forum: Ahrefs [Bot], BadMustard, Ocelot