A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
-
Andredron
- Miko-Class Veteran
- Posts: 535
- Joined: Thu Dec 28, 2017 2:37 pm
- Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
- Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
- Location: Russia
-
Contact:
#16
Post
by Andredron » Fri Aug 31, 2018 1:21 am
Nanahs wrote: ↑Thu Aug 30, 2018 6:25 pm
Andredron wrote: ↑Mon Aug 27, 2018 6:23 pm
Nanahs wrote: ↑Mon Aug 27, 2018 5:44 pm
Thank you so much Andredom! If I use the codes, I'll give you credit
Please do not need to publish me, he's an author Valentin Bez'chanuk, he's just busy, that would personally write in the forum
Hello! Silly question, but how can I place the phone in the middle of the screen?
Whenever I try to do that I get an error message.
Code: Select all
# screen and coordinate
screen telegram():
frame background "messenger/back.png" xysize (600,975) align (0.9,.5):
frame background None xysize (560, 810) align (0.5,0.58):
viewport id "vp_msg" mousewheel True yadjustment yadj:
vbox spacing 15 xsize 550 xalign 0.4 box_reverse True:
-
Nanahs
- Veteran
- Posts: 310
- Joined: Wed Aug 22, 2018 5:50 pm
-
Contact:
#17
Post
by Nanahs » Fri Aug 31, 2018 10:49 am
Thank you so much!

-
Nanahs
- Veteran
- Posts: 310
- Joined: Wed Aug 22, 2018 5:50 pm
-
Contact:
#18
Post
by Nanahs » Fri Aug 31, 2018 11:50 am
Andredron wrote: ↑Fri Aug 31, 2018 1:21 am
Nanahs wrote: ↑Thu Aug 30, 2018 6:25 pm
Andredron wrote: ↑Mon Aug 27, 2018 6:23 pm
Please do not need to publish me, he's an author Valentin Bez'chanuk, he's just busy, that would personally write in the forum
Hello! Silly question, but how can I place the phone in the middle of the screen?
Whenever I try to do that I get an error message.
Code: Select all
# screen and coordinate
screen telegram():
frame background "messenger/back.png" xysize (600,975) align (0.9,.5):
frame background None xysize (560, 810) align (0.5,0.58):
viewport id "vp_msg" mousewheel True yadjustment yadj:
vbox spacing 15 xsize 550 xalign 0.4 box_reverse True:
I tried putting the game on vertical screen 720x1280 to make it look like a phone screen (only the phone screen would show up), but I just made it more confused and crashed hah But thank you so much! I'll use it as it was before. Thank you for your help

-
Andredron
- Miko-Class Veteran
- Posts: 535
- Joined: Thu Dec 28, 2017 2:37 pm
- Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
- Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
- Location: Russia
-
Contact:
#19
Post
by Andredron » Fri Aug 31, 2018 3:10 pm
Nanahs wrote: ↑Fri Aug 31, 2018 11:50 am
Andredron wrote: ↑Fri Aug 31, 2018 1:21 am
Nanahs wrote: ↑Thu Aug 30, 2018 6:25 pm
Hello! Silly question, but how can I place the phone in the middle of the screen?
Whenever I try to do that I get an error message.
Code: Select all
# screen and coordinate
screen telegram():
frame background "messenger/back.png" xysize (600,975) align (0.9,.5):
frame background None xysize (560, 810) align (0.5,0.58):
viewport id "vp_msg" mousewheel True yadjustment yadj:
vbox spacing 15 xsize 550 xalign 0.4 box_reverse True:
I tried putting the game on vertical screen 720x1280 to make it look like a phone screen (only the phone screen would show up), but I just made it more confused and crashed hah But thank you so much! I'll use it as it was before. Thank you for your help
screen telegram():
frame background "messenger/back.png" xysize (600,975) align (0.9,.5):
align (0.5,.5)
-
Nanahs
- Veteran
- Posts: 310
- Joined: Wed Aug 22, 2018 5:50 pm
-
Contact:
#20
Post
by Nanahs » Fri Aug 31, 2018 4:47 pm
Thank you sooo much!

-
Nanahs
- Veteran
- Posts: 310
- Joined: Wed Aug 22, 2018 5:50 pm
-
Contact:
#21
Post
by Nanahs » Sun Sep 02, 2018 3:44 pm
Andredron wrote: ↑Fri Aug 31, 2018 3:10 pm
Nanahs wrote: ↑Fri Aug 31, 2018 11:50 am
Andredron wrote: ↑Fri Aug 31, 2018 1:21 am
Code: Select all
# screen and coordinate
screen telegram():
frame background "messenger/back.png" xysize (600,975) align (0.9,.5):
frame background None xysize (560, 810) align (0.5,0.58):
viewport id "vp_msg" mousewheel True yadjustment yadj:
vbox spacing 15 xsize 550 xalign 0.4 box_reverse True:
I tried putting the game on vertical screen 720x1280 to make it look like a phone screen (only the phone screen would show up), but I just made it more confused and crashed hah But thank you so much! I'll use it as it was before. Thank you for your help
screen telegram():
frame background "messenger/back.png" xysize (600,975) align (0.9,.5):
align (0.5,.5)
Hello! Is it possible to make the messages skip automatically? So that could give you the impression of being in a real time chat? I tried using "{w=2.0}{nw}" with the messages, but it didn't work. Once again, thank you so much for your help and sorry for making so many questions

-
Andredron
- Miko-Class Veteran
- Posts: 535
- Joined: Thu Dec 28, 2017 2:37 pm
- Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
- Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
- Location: Russia
-
Contact:
#22
Post
by Andredron » Mon Sep 03, 2018 4:40 pm
Nanahs wrote: ↑Sun Sep 02, 2018 3:44 pm
Andredron wrote: ↑Fri Aug 31, 2018 3:10 pm
Nanahs wrote: ↑Fri Aug 31, 2018 11:50 am
I tried putting the game on vertical screen 720x1280 to make it look like a phone screen (only the phone screen would show up), but I just made it more confused and crashed hah But thank you so much! I'll use it as it was before. Thank you for your help
screen telegram():
frame background "messenger/back.png" xysize (600,975) align (0.9,.5):
align (0.5,.5)
Hello! Is it possible to make the messages skip automatically? So that could give you the impression of being in a real time chat? I tried using "{w=2.0}{nw}" with the messages, but it didn't work. Once again, thank you so much for your help and sorry for making so many questions
2 version message telegram(gui)
http://renpyfordummies.blogspot.com/201 ... i.html?m=1
Alt version Renpy
http://renpyfordummies.blogspot.com/201 ... t.html?m=1
-
Morhighan
- Miko-Class Veteran
- Posts: 973
- Joined: Sun Jun 27, 2010 12:54 pm
- Completed: AIdol, When Our Journey Ends, Forgotten Not Lost
- Organization: MysteryCorgi
- Tumblr: MysteryCorgi
- Deviantart: MysteryCorgi
- Soundcloud: MysteryCorgi
- itch: MysteryCorgi
- Location: USA
-
Contact:
#23
Post
by Morhighan » Tue Sep 04, 2018 4:38 am
The update looks really neat! I can't wait to try it out. Thank you for your hard work!
-
zeroTheHero
- Regular
- Posts: 64
- Joined: Mon May 07, 2018 10:49 am
-
Contact:
#24
Post
by zeroTheHero » Thu Sep 13, 2018 12:11 pm
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 what I was looking for, and it's saved me many hours of slogging.
Both of you should have a drink, I say XD
-
Andredron
- Miko-Class Veteran
- Posts: 535
- Joined: Thu Dec 28, 2017 2:37 pm
- Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
- Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
- Location: Russia
-
Contact:
#25
Post
by Andredron » Fri Sep 14, 2018 5:17 pm
Please, whoever can check both versions how they work on android and iphone. Friend wrote: a bug and the image does not show
-
Nanahs
- Veteran
- Posts: 310
- Joined: Wed Aug 22, 2018 5:50 pm
-
Contact:
#26
Post
by Nanahs » Tue Sep 25, 2018 8:26 pm
The second version is also great!

-
Nanahs
- Veteran
- Posts: 310
- Joined: Wed Aug 22, 2018 5:50 pm
-
Contact:
#27
Post
by Nanahs » Mon Oct 01, 2018 8:35 pm
Andredron wrote: ↑Fri Sep 14, 2018 5:17 pm
Please, whoever can check both versions how they work on android and iphone. Friend wrote: a bug and the image does not show
Hello! On the first version of the messenger, can I have different message boxes? Like, the gray one for the character that's talking to you, and yours be another color? (green, blue, etc).
How could I add this? (if possible)
Thanks

-
zeroTheHero
- Regular
- Posts: 64
- Joined: Mon May 07, 2018 10:49 am
-
Contact:
#28
Post
by zeroTheHero » Tue Oct 09, 2018 11:07 am
Hey, how do I make the text in messenger in italics?
-
Andredron
- Miko-Class Veteran
- Posts: 535
- Joined: Thu Dec 28, 2017 2:37 pm
- Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
- Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
- Location: Russia
-
Contact:
#29
Post
by Andredron » Wed Oct 10, 2018 1:16 am
zeroTheHero wrote: ↑Tue Oct 09, 2018 11:07 am
Hey, how do I make the text in messenger in italics?
Text tag
"{i} text{\i}"
-
zeroTheHero
- Regular
- Posts: 64
- Joined: Mon May 07, 2018 10:49 am
-
Contact:
#30
Post
by zeroTheHero » Thu Oct 11, 2018 8:29 am
Andredron wrote: ↑Wed Oct 10, 2018 1:16 am
zeroTheHero wrote: ↑Tue Oct 09, 2018 11:07 am
Hey, how do I make the text in messenger in italics?
Text tag
"{i} text{\i}"
I tried
Code: Select all
msg("Привет,{i} text{\i} всё хорошо, а как у тебя?")
but no dice
Code: Select all
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 ^_^
Users browsing this forum: Google [Bot]