renpy.say did the trick! many thanks!nyaatrap wrote:There's 2ways:
renpy.say("sayer_name","messages")
renpy.show(image_tag, what=Text("messages"))
I'm using both on my commercial RPG made with ren'py. You can use "{}".format(value) style on them
Search found 6 matches
- Fri Jul 19, 2013 10:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to show text inside a python block? [SOLVED]
- Replies: 8
- Views: 2555
Re: Is there a way to show text inside a python block?
- Fri Jul 19, 2013 8:13 pm
- Forum: Anime, Games, and Japan
- Topic: Do you play as same or opposite gender?
- Replies: 234
- Views: 55692
Re: Do you play as same or opposite gender?
I almost always pick a female character first, especially for games with "behind the character view". Watching girl's behinds is more important than romance. :p Whaaat ? You mean that even in action packed games, you prefer staring at a girl's butt instead of checking what's going on in f...
- Fri Jul 19, 2013 4:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to show text inside a python block? [SOLVED]
- Replies: 8
- Views: 2555
Re: Is there a way to show text inside a python block?
Okay, so after some thoughts, I've decided to split the code block, and show texts side-by-side as the combat progress. Now I have a new question: Is it possible to string two or more text lines together in a single window, preferably without pause or line break? like this: "You attack" if...
- Thu Jul 18, 2013 10:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to show text inside a python block? [SOLVED]
- Replies: 8
- Views: 2555
Re: Is there a way to show text inside a python block?
Another variant (which I use for the same purpose) is that I create a msg variable, fill it and at the end of the function I print it on screen with: narrator(msg) Another option would be the use of ui.text here you can modify the textsize,.... appropriately and also put the text anywhere you want ...
- Thu Jul 18, 2013 9:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to show text inside a python block? [SOLVED]
- Replies: 8
- Views: 2555
Re: Is there a way to show text inside a python block?
You could use renpy.show_display_say to show the dialogue box. http://www.renpy.org/wiki/renpy/doc/reference/functions/renpy.show_display_say Thanks for your reply! Though I'm not quite sure how to use it properly, as no example is given on the wiki. Here's the modified line: renpy.show_display_say...
- Thu Jul 18, 2013 7:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to show text inside a python block? [SOLVED]
- Replies: 8
- Views: 2555
Is there a way to show text inside a python block? [SOLVED]
Hi there. I'm writing a simple combat system to get familiar with Ren'py and python in general. Here's the code. I'm trying to show the text in ren'py without disturbing python code block, is there a way like $ sign for text? label combat: python: chara_attack_dmgmin = 1 chara_attack_dmgmax = 4 atta...