Page 2 of 9

Re: telegram messenger

Posted: Fri Aug 31, 2018 1:21 am
by Andredron
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:

Re: telegram messenger

Posted: Fri Aug 31, 2018 10:49 am
by Nanahs
Thank you so much! :)

Re: telegram messenger

Posted: Fri Aug 31, 2018 11:50 am
by Nanahs
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 :)

Re: telegram messenger

Posted: Fri Aug 31, 2018 3:10 pm
by Andredron
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)

Re: telegram messenger

Posted: Fri Aug 31, 2018 4:47 pm
by Nanahs
Thank you sooo much! :D

Re: telegram messenger

Posted: Sun Sep 02, 2018 3:44 pm
by Nanahs
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 :D

Re: telegram messenger

Posted: Mon Sep 03, 2018 4:40 pm
by Andredron
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 :D
Image

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

Re: telegram messenger (2 version)

Posted: Tue Sep 04, 2018 4:38 am
by Morhighan
The update looks really neat! I can't wait to try it out. Thank you for your hard work!

Re: telegram messenger (2 version)

Posted: Thu Sep 13, 2018 12:11 pm
by zeroTheHero
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

Re: telegram messenger (2 version)

Posted: Fri Sep 14, 2018 5:17 pm
by Andredron
Please, whoever can check both versions how they work on android and iphone. Friend wrote: a bug and the image does not show

Re: telegram messenger (2 version)

Posted: Tue Sep 25, 2018 8:26 pm
by Nanahs
The second version is also great! :D

Re: telegram messenger (2 version)

Posted: Mon Oct 01, 2018 8:35 pm
by Nanahs
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 :)

Re: telegram messenger (2 version)

Posted: Tue Oct 09, 2018 11:07 am
by zeroTheHero
Hey, how do I make the text in messenger in italics?

Re: telegram messenger (2 version)

Posted: Wed Oct 10, 2018 1:16 am
by Andredron
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}"

Re: telegram messenger (2 version)

Posted: Thu Oct 11, 2018 8:29 am
by zeroTheHero
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 ^_^