Page 1 of 1

Slow-Text & Title Music?

Posted: Thu Dec 26, 2013 12:28 am
by QueenModdy
I've been trying for HOURS to get the friggin text to do the typewriter effect but wherenever I go in to change the speed it does nothing.

Also I can't figure out how the hell to get music in the title/main menu, though I put the song in through options.
Can you show me exactly how to do this through code, and where do I put the codes exactly??
Thanks!

Re: Slow-Text & Title Music?

Posted: Thu Dec 26, 2013 7:19 am
by xavimat
Hi QueenModdy!

1. With the "typewriter" effect I assume you mean the slow text (not the typewriter sound effect).
You have this line in options.rpy:

Code: Select all

config.default_text_cps = 0
The 0 means "all the text once", you can put 60 or 100 to achieve your effect (or try other numbers to fit your style. Don't put it too slow, because IMO it becomes annoying).
BUT, this config variable is only used the first time the game is executed. This means that you need to "Delete Persistent" from the Launcher to see the changes you do to this variable.
The other way of changing the cps value is, in-game, using the preferences screen.

2. The music in main menu can be defined also in options.rpy. The line is:

Code: Select all

# config.main_menu_music = "main_menu_theme.ogg"
Note that you need to uncomment the line (delete the # and the space):

Code: Select all

config.main_menu_music = "my_track.ogg"
Also note that the route is relative to the "game" directory, if your file is in a subfolder called "music", you need:

Code: Select all

config.main_menu_music = "music/my_track.ogg"

Re: Slow-Text & Title Music?

Posted: Thu Dec 26, 2013 12:56 pm
by trooper6
This question should be in Questions, not Development.

Re: Slow-Text & Title Music?

Posted: Tue Dec 31, 2013 8:25 pm
by QueenModdy
Thanks a lot, that helped! I wish there was a simpler program, ha!
Have an awesome new year!