Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Fri May 24, 2013 9:35 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sun Jul 29, 2012 11:02 am 
Regular
User avatar

Joined: Wed May 23, 2012 2:46 am
Posts: 131
Location: Philippines
Projects: Love at the Laundromat
Organization: Moustachio Studios
How do you make is so that you have a different choice background image on idle and on hover?

Here's for idle:
style.menu_choice_button.background = Frame("choice.png", 0, 0)

What's for on hover?

_________________
Image
ImageImageImageImage


Last edited by Nische on Mon Jul 30, 2012 7:43 am, edited 6 times in total.

Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 11:58 am 
Veteran

Joined: Mon Jun 18, 2012 12:16 pm
Posts: 236
Answer to the third question:

The "who" label holds name. It is written in bold.
Ren'Py is bad with bold or italic text, so you'll want to use the config.font_replacement_map thing. Place it in options.rpy. You'll need a proper bold version of the font to replace the ugly look with it. Don't forget, you should replace the font you're using for the style your say window uses (the default one, if you didn't change the style manually).

For example:
Code:
config.font_replacement_map["Consola.ttf", True, False] = ("ConsolaB.ttf", False, False)


If you want to use the font that you don't have in your game folder, you'll need to know its disk name, which can only be seen by copying the Fonts folder and watching the contents. It's always different from the font name, which you see in Word or etc.

The second question - yes, there is a way. I think there were some words like "shadows" or "outlines".
Ah, here it is: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=9233.


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 12:09 pm 
Regular
User avatar

Joined: Wed May 23, 2012 2:46 am
Posts: 131
Location: Philippines
Projects: Love at the Laundromat
Organization: Moustachio Studios
Levrex wrote:
Answer to the third question:

The "who" label holds name. It is written in bold.
Ren'Py is bad with bold or italic text, so you'll want to use the config.font_replacement_map thing. Place it in options.rpy. You'll need a proper bold version of the font to replace the ugly look with it. Don't forget, you should replace the font you're using for the style your say window uses (the default one, if you didn't change the style manually).

For example:
Code:
config.font_replacement_map["Consola.ttf", True, False] = ("ConsolaB.ttf", False, False)


If you want to use the font that you don't have in your game folder, you'll need to know its disk name, which can only be seen by copying the Fonts folder and watching the contents. It's always different from the font name, which you see in Word or etc.

The second question - yes, there is a way. I think there were some words like "shadows" or "outlines".
Ah, here it is: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=9233.


Thank you so very much for the quick reply!

_________________
Image
ImageImageImageImage


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 12:16 pm 
Miko-Class Veteran

Joined: Tue Jun 22, 2010 12:54 am
Posts: 572
Location: Zion Island, Solario
Completed: Christmas
Projects: [R-R]Christmas, (Un-named VN), I'M NOT A KILLER
Nische wrote:
1. Is there a way to have a different position of the Name and text?


Code:
$ n = Character(None, window_background = Frame("alternativePicture.png", 6, 6))

where alternativePicture.png is the image which don't have the who design.

Nische wrote:
2. Is there a way to place text shadows(drop shadow and inner shadow) using Ren'Py?


http://www.renpy.org/doc/html/style.htm ... y-outlines
There's no way to use innershadows though. What you can do is make a SFont with innerfont (and maybe drop-shadow already applied) and then use them.
http://www.renpy.org/wiki/renpy/doc/reference/Text
Scroll to the very bottom (I never did understand why people don't use SFont; they have so much capabilities)

Nische wrote:
3. The text looks different when it appears on Ren'Py, is there a way to fix that?


What Levrex said.
But you can also use this

Code:
style.say_label.bold = False


It will simply un-bold the speaker name for every font you may use.

_________________
"You can't wait for inspiration. You have to go after it with a club." --Jack London
“One must be careful with words. Words turn probabilities into facts and by sheer force of definition translate tendencies into habits.” ― Fay Weldon
"A writer who waits for ideal conditions under which to work will die without putting a word on paper." -- E.B. WHITE
"I love writing but hate starting. The page is awfully white and it says, "You may have fooled some of the people some of the time but those days are over, giftless. I'm not your agent and I'm not your mommy. I'm a white piece of paper, you wanna dance with me?" And I really, really don't." -- Aaron Sorkin

My Completed Games: Christmas


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 8:39 pm 
Regular
User avatar

Joined: Wed May 23, 2012 2:46 am
Posts: 131
Location: Philippines
Projects: Love at the Laundromat
Organization: Moustachio Studios
DragoonHP wrote:
Nische wrote:
1. Is there a way to have a different position of the Name and text?


Code:
$ n = Character(None, window_background = Frame("alternativePicture.png", 6, 6))

where alternativePicture.png is the image which don't have the who design.

Nische wrote:
2. Is there a way to place text shadows(drop shadow and inner shadow) using Ren'Py?


http://www.renpy.org/doc/html/style.htm ... y-outlines
There's no way to use innershadows though. What you can do is make a SFont with innerfont (and maybe drop-shadow already applied) and then use them.
http://www.renpy.org/wiki/renpy/doc/reference/Text
Scroll to the very bottom (I never did understand why people don't use SFont; they have so much capabilities)

Nische wrote:
3. The text looks different when it appears on Ren'Py, is there a way to fix that?


What Levrex said.
But you can also use this

Code:
style.say_label.bold = False


It will simply un-bold the speaker name for every font you may use.


Thank you very much! This was exactly what I was hoping for. :')

_________________
Image
ImageImageImageImage


Top
 Profile Send private message  
 
PostPosted: Mon Jul 30, 2012 5:22 am 
Regular
User avatar

Joined: Wed May 23, 2012 2:46 am
Posts: 131
Location: Philippines
Projects: Love at the Laundromat
Organization: Moustachio Studios
Another questions

_________________
Image
ImageImageImageImage


Top
 Profile Send private message  
 
PostPosted: Mon Jul 30, 2012 5:36 am 
Miko-Class Veteran

Joined: Tue Jun 22, 2010 12:54 am
Posts: 572
Location: Zion Island, Solario
Completed: Christmas
Projects: [R-R]Christmas, (Un-named VN), I'M NOT A KILLER
Code:
style.default.drop_shadow_color = "#000000"

_________________
"You can't wait for inspiration. You have to go after it with a club." --Jack London
“One must be careful with words. Words turn probabilities into facts and by sheer force of definition translate tendencies into habits.” ― Fay Weldon
"A writer who waits for ideal conditions under which to work will die without putting a word on paper." -- E.B. WHITE
"I love writing but hate starting. The page is awfully white and it says, "You may have fooled some of the people some of the time but those days are over, giftless. I'm not your agent and I'm not your mommy. I'm a white piece of paper, you wanna dance with me?" And I really, really don't." -- Aaron Sorkin

My Completed Games: Christmas


Top
 Profile Send private message  
 
PostPosted: Mon Jul 30, 2012 5:40 am 
Regular
User avatar

Joined: Wed May 23, 2012 2:46 am
Posts: 131
Location: Philippines
Projects: Love at the Laundromat
Organization: Moustachio Studios
DragoonHP wrote:
Code:
style.default.drop_shadow_color = "#000000"

Thank you very much!

_________________
Image
ImageImageImageImage


Top
 Profile Send private message  
 
PostPosted: Mon Jul 30, 2012 6:11 am 
Regular
User avatar

Joined: Wed May 23, 2012 2:46 am
Posts: 131
Location: Philippines
Projects: Love at the Laundromat
Organization: Moustachio Studios
I'm sorry, I have another question.

_________________
Image
ImageImageImageImage


Top
 Profile Send private message  
 
PostPosted: Mon Jul 30, 2012 7:17 am 
Miko-Class Veteran

Joined: Tue Jun 22, 2010 12:54 am
Posts: 572
Location: Zion Island, Solario
Completed: Christmas
Projects: [R-R]Christmas, (Un-named VN), I'M NOT A KILLER
Code:
style.menu_choice_button.hover_background = Frame("choice.png", 0, 0)


And for best answers through google

Code:
site:lemmasoft.renai.us [your search query]

_________________
"You can't wait for inspiration. You have to go after it with a club." --Jack London
“One must be careful with words. Words turn probabilities into facts and by sheer force of definition translate tendencies into habits.” ― Fay Weldon
"A writer who waits for ideal conditions under which to work will die without putting a word on paper." -- E.B. WHITE
"I love writing but hate starting. The page is awfully white and it says, "You may have fooled some of the people some of the time but those days are over, giftless. I'm not your agent and I'm not your mommy. I'm a white piece of paper, you wanna dance with me?" And I really, really don't." -- Aaron Sorkin

My Completed Games: Christmas


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group