Replacing buttons and side windows with an image??

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
Arctic Tempest
Newbie
Posts: 9
Joined: Thu Sep 27, 2012 7:43 pm
Projects: Gemini:Shadow
Contact:

Replacing buttons and side windows with an image??

#1 Post by Arctic Tempest » Sat Nov 10, 2012 5:05 pm

Forgive me if this question has been answered but...
You know that window with the Character's name that appears when you use show_two_window?
How can I replace the background of that with an image?
Also, is there any way to replace the background of the game menu buttons with an image?
Just one last question, in the renpy tutorial game, they mentioned something about centering text so that white text appears over a black background in the center of the screen, but I can't seem to find the actual code for it...
I'm really sorry for asking so many questions, but I really just can't find anyone else to ask....

User avatar
Hiddlestoners
Regular
Posts: 126
Joined: Sun Jul 01, 2012 9:27 am
Completed: Thinking Of You [KN]
Projects: PERPLEXITY [Mystery VN], simplicity [KN,Fluff,GxB,BxG]
Contact:

Re: Replacing buttons and side windows with an image??

#2 Post by Hiddlestoners » Sat Nov 10, 2012 5:19 pm

First two questions try:
http://www.renpy.org/wiki/renpy/doc/coo ... appearance (Styling the Names bit)
and
http://lemmasoft.renai.us/forums/viewto ... =51&t=9812

Most things you want you can usually find in the Cookbook, so give it a lookover :)

Centering text in the middle is done like so:

Code: Select all

centered "Blah balh this is now centered in the middle without the window showing"
For the black background, you'd need to have a black background defined and showing :)
ENOSHIMA BOWL!
Image

User avatar
Arctic Tempest
Newbie
Posts: 9
Joined: Thu Sep 27, 2012 7:43 pm
Projects: Gemini:Shadow
Contact:

Re: Replacing buttons and side windows with an image??

#3 Post by Arctic Tempest » Sun Nov 11, 2012 1:22 am

Thank you! :D

Post Reply

Who is online

Users browsing this forum: Google [Bot], Ocelot