Search found 64 matches

by zeroTheHero
Thu Oct 11, 2018 8:29 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 104
Views: 11542

Re: telegram messenger (2 version)

Hey, how do I make the text in messenger in italics? Text tag "{i} text{\i}" I tried msg("Привет,{i} text{\i} всё хорошо, а как у тебя?") but no dice Exception: unknown text tag u'\\i' It'd be amazing if we could use {w} and {b} and all the other cool tags in this... Thanks for your time ^_^
by zeroTheHero
Tue Oct 09, 2018 11:07 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 104
Views: 11542

Re: telegram messenger (2 version)

Hey, how do I make the text in messenger in italics?
by zeroTheHero
Fri Sep 28, 2018 2:42 am
Forum: Ren'Py Questions and Announcements
Topic: Main Menu ATL help
Replies: 8
Views: 878

Re: Main Menu ATL help

Hey, sorry to dig up this old thread but when I do the exact same thing I get an error equivalent to 'NameError: name "titleimage" is not defined'. 'show titleimage' in script.rpy works, so I'm not sure where I'm going wrong.
by zeroTheHero
Thu Sep 13, 2018 12:11 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 104
Views: 11542

Re: telegram messenger (2 version)

Valentin. seriously, thanks a bunch for taking the time to make this. Studying it has helped me understand sooo many things. I hope the book you're writing on renpy is a smashing success! And thank you too, Andredon, for posting this, and also taking the time to message me it's link. It was just wha...
by zeroTheHero
Tue Sep 11, 2018 1:54 am
Forum: Ren'Py Questions and Announcements
Topic: Error 'variable is not defined' when I think it is?
Replies: 1
Views: 148

Re: Error 'variable is not defined' when I think it is?

Edit: I changed the last line to frame: for Tbox in m_msg: $who, personName, Tbox = Tbox frame: background "%s"%(Tbox) and have mixed success. Now, there's a black frame before the text Pikachu appears on screen, and the Tbox below Pikachu is huuuge. Will try to use frame properties. Also the next l...
by zeroTheHero
Mon Sep 10, 2018 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Error 'variable is not defined' when I think it is?
Replies: 1
Views: 148

Error 'variable is not defined' when I think it is?

I've been following the code from this topi https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=50153 and made a messenger like screen similar to it: #Script.rpy label start: show screen s_name $Bak="cafe (1).jpg" $m_msg = [] $ msg_name = "sDextra" pause python: msg( "Pikachu", who=True ) msg("Ch...
by zeroTheHero
Sun Sep 09, 2018 8:51 am
Forum: Ren'Py Questions and Announcements
Topic: How can I reduce the amount of code for this screen?
Replies: 8
Views: 514

Re: How can I reduce the amount of code for this screen?

I'm back after almost a week of testing, and I must say, thanks for the detailed answers and the Telegram messenger link! It was super informative, it took me days to roughly understand it but now that I have, I feel like a genius who's climbed mount everest :lol: I've progressed quite a bit, but no...
by zeroTheHero
Tue Sep 04, 2018 3:29 am
Forum: Ren'Py Questions and Announcements
Topic: How can I reduce the amount of code for this screen?
Replies: 8
Views: 514

Re: How can I reduce the amount of code for this screen?

How do you use a screen over and over again while changing the text it displays? Easy, pass along the information. Screens take variables after all. screen winner_screen(name): frame: text "Today's winner is: [name]" ## The game starts here. label start: "Your game starts. Who is the winner though?...
by zeroTheHero
Tue Sep 04, 2018 2:57 am
Forum: Ren'Py Questions and Announcements
Topic: How can I reduce the amount of code for this screen?
Replies: 8
Views: 514

Re: How can I reduce the amount of code for this screen?

Added a simpler version, it will help https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=50153 Thanks! philat posted the same link, pretty sure I'll learn something useful from it ^_^ Btw it looks like the comments in the code is in russian... I can use the google translate version, but just in...
by zeroTheHero
Tue Sep 04, 2018 2:36 am
Forum: Ren'Py Questions and Announcements
Topic: How can I reduce the amount of code for this screen?
Replies: 8
Views: 514

Re: How can I reduce the amount of code for this screen?

a) Well, the way you've set it up, you kind of can't reduce the code much. b) Wouldn't it be better to use another messenger framework and modify as needed? (e.g., https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=50153 )? At the very least, you could look at how it's set up and take pointers....
by zeroTheHero
Mon Sep 03, 2018 8:16 am
Forum: Ren'Py Questions and Announcements
Topic: How can I reduce the amount of code for this screen?
Replies: 8
Views: 514

How can I reduce the amount of code for this screen?

So this is the code I have- screen Part1: frame: background "cafe (1).jpg" viewport: side "c b r" draggable True mousewheel True add "confirm.png" vbox: text "Pikachu" #1 (This space is the 'name' of the character) frame: background "textbox4.png" #2 (I will be using different textboxes) hbox: spaci...
by zeroTheHero
Thu Aug 09, 2018 9:35 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I create a screen like this?
Replies: 2
Views: 265

Re: How can I create a screen like this?

Thanks for the advice, it helped me reflect Do you know how to add images and text to screens? Do you know how to use hbox/vbox, how to Frame elements and change backgrounds? You will need all those little things to create something like this. Its easy, but its tricky Yes, I do know how to use hboxe...
by zeroTheHero
Thu Aug 09, 2018 9:24 am
Forum: Ren'Py Questions and Announcements
Topic: How can I create a screen like this?
Replies: 2
Views: 265

How can I create a screen like this?

Image

This is basically a mobile chat like screen. I'm having trouble adding the image (character emojis) to the side of the boxes. I think Butterfly Soup did something like this, but I can't figure out how. Some help would be much appreciated! Thanks~
by zeroTheHero
Thu Aug 09, 2018 7:07 am
Forum: Ren'Py Questions and Announcements
Topic: Showing the NVL textbox after switching to ADV
Replies: 1
Views: 132

Re: Showing the NVL textbox after switching to ADV

Found someone trying to do something similar viewtopic.php?t=44711

Sorry for the trouble XD
by zeroTheHero
Thu Aug 09, 2018 12:23 am
Forum: Ren'Py Questions and Announcements
Topic: Showing the NVL textbox after switching to ADV
Replies: 1
Views: 132

Showing the NVL textbox after switching to ADV

I'm trying to make a small text based fight scene in ren'py. The NVL mode is good for this, but any dialogue spoken gets lost in the text, so I'm trying to do the dialogue in ADV mode. Problem is, switching to ADV mode hides the NVL screen, which has the context for whatever is spoken. For me, playi...