Page 1 of 1

Newb questions

Posted: Sat Jul 12, 2008 11:03 pm
by Dairy queen
I have some newb questions to ask about Renpy

1. How do I change the font on Renpy. I don't want the regular one and would like to use one I downloaded online, but I don't know how. :cry:

2. How do I get music to play during the main screen of my game?

3. I would like to change the image of my text box, but I'm not even sure how do go about that. :oops:

4. Oh yeah, and I'd like to make a load screen.

Any help would be much appreciated!

Re: Newb questions

Posted: Sun Jul 13, 2008 2:45 am
by Dis
1. How do I change the font on Renpy. I don't want the regular one and would like to use one I downloaded online, but I don't know how.
When you open your script with the editor, it opens two files. script.rpy and options.rpy
There is a part in options.rpy that says
# style.default.font = "DejaVuSans.ttf"
You need to put the name of the font that you want to be used in the game between the ""
And remove the # from before it.

2. How do I get music to play during the main screen of my game?
There is a part in options.rpy that says
# config.main_menu_music = ""

You need to put the name of the music that you want to be heard in the main menu between the "" and remove the # from before it.

3. I would like to change the image of my text box, but I'm not even sure how do go about that.
To tell the truth, I don’t know the answer, but only because I haven’t yet tried to change that. Anyway, you probably will find an answer to this in the Tutorials or the Cookbook.
But as I know the others, they will reply to this post in no time.

4. Oh yeah, and I'd like to make a load screen.
Showing a Quick Splashscreen While Ren'Py is Loading
Showing a Fancy Splashscreen After Ren'Py has Loaded

Re: Newb questions

Posted: Sun Jul 13, 2008 8:24 pm
by Dairy queen
Thank you for the help, I appreciate it. :D

Re: Newb questions

Posted: Fri Jul 18, 2008 11:58 am
by Tagno
Where did you place the font once you downloaded it?

Re: Newb questions

Posted: Fri Jul 18, 2008 12:44 pm
by Dis
I might be wrong but in your projects Game folder.

At least in renpy-5.5.4 it worked like that, but I don't know if it still works like that or not.
Than open up your project with the editor and in options.rpy there is a line that says

# style.default.font = "DejaVuSans.ttf"

Change the DejaVuSans.ttf to your font and remove the #

Re: Newb questions

Posted: Tue Jul 22, 2008 1:07 pm
by EvilDragon
About where to put your fonts and other custom files, have some ideas from this post:

http://lemmasoft.renai.us/forums/viewto ... 053#p53053