Search found 19 matches

by sDextra
Fri Jan 11, 2019 5:13 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Do you know what this error means? While running game code: File "game/script.rpy", line 456, in script python: File "game/script.rpy", line 457, in <module> msg (None, sound="opening.mp3", who=1) TypeError: unsupported operand type(s) for -: 'ATLTransform' and 'float' It shows up whenever I try to...
by sDextra
Thu Jan 10, 2019 3:57 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

So the message would be: python: msg("Hello Anna!", p=3, who=1) And I did the same thing in this new code: def msg(txt, who=False, sound=False, pic=False, hm=False): if message_time: h,m = message_time hm = hm if hm else '%s:%s'%(h,m) time_update() hm = get_current_time() if message_time_current el...
by sDextra
Thu Jan 10, 2019 1:48 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Oh, ok. Got it. Thamk you! :) But now how I show the image inside the message? Because the messages are working this way, like the older code like: python: msg("Hello Anna!!", who=1) But in the new code it's like this (image and sound): $ msg (None, audio="opening", who=1) $ msg (None, pic="crow", ...
by sDextra
Thu Jan 10, 2019 12:40 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Sorry to bother you for the 100000000th time :oops: :lol: But is it possible to add that function that opens the image when you click on it + the time the message was sent/received, to the older messenger code? Only this two things. It's because I had already edited many labels and pictures accordi...
by sDextra
Wed Jan 09, 2019 10:39 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Sorry to bother you for the 100000000th time :oops: :lol: But is it possible to add that function that opens the image when you click on it + the time the message was sent/received, to the older messenger code? Only this two things. It's because I had already edited many labels and pictures accordi...
by sDextra
Mon Jan 07, 2019 9:32 am
Forum: Ren'Py Cookbook
Topic: [CODE] Tetris
Replies: 5
Views: 525

Re: [CODE] Tetris

Hoho! This is a good tetris code! But is there any possible code that when you lose or when you win, The following character (or the narrator) will say such a thing? And plus sorry for my bad english. And thanks for the tetris code! :D You can add this to the 'end_turn' function, for example: def e...
by sDextra
Fri Jan 04, 2019 8:01 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Sorry to bother again, but how do I make the messenger (the one with group chat) stay in the middle of the screen? #images.rpy transform move_messenger(t=1.0): xalign .9 yalign .5 on show: xalign 1.5 easein t xalign .9 on hide: easeout t xalign 1.5 alpha 0 The default is 'xalign .9', you can replac...
by sDextra
Wed Jan 02, 2019 3:15 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Thank you SO much for this code! :) Sorry to bother you again :oops: :lol: But is it possible to "attach" the avatar to the "who"? Because in my game I let the player name all the characters. So this part won't work for me at all. self.avatar = 'messenger/av/'+name.lower().replace(' ', '_')+'.png' ...
by sDextra
Wed Jan 02, 2019 12:11 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Thank you! That's great! Edit: Sorry, but how would you get the input function to work in a text message? Like naming your character? Update to Messenger 1.3 Input function for name $ msg(None, name_input=True) GitHub Thank you SO much for this code! :) Sorry to bother you again :oops: :lol: But is...
by sDextra
Wed Jan 02, 2019 3:30 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Forestofmyown wrote:
Tue Jan 01, 2019 6:47 pm
Thank you! That's great!

Edit: Sorry, but how would you get the input function to work in a text message? Like naming your character?
Update to Messenger 1.3
Input function for name
$ msg(None, name_input=True)

GitHub
by sDextra
Tue Jan 01, 2019 3:57 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

I hope you don't mind me asking, I know this thread gets a lot of requests, but how would one go about making the phone/messenger full screen? Not so much making the messenger the full size of the renpy program, but that renpy opens to the size of the messenger and that's all there is, like if you ...
by sDextra
Mon Dec 31, 2018 8:04 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

taeffeine wrote:
Sun Dec 30, 2018 4:16 pm
Hello,

thank you so much for making this, seriously. If you don't mind me asking, is it possible to make a groupchat with more interlocutors? How would I go about doing this? Thank you very much!
Ok, no problem.
Messenger 1.2 (Telegram Emulator)
with Group Chat
GitHub
by sDextra
Sun Dec 23, 2018 4:17 pm
Forum: Works in Progress
Topic: d20: Sweet Roll Club [GxG] [Ecchi, Fantasy, SchoolLife, Comedy] [RPG] [Steam] [Commercial]
Replies: 3
Views: 505

d20: Sweet Roll Club [GxG] [Ecchi, Fantasy, SchoolLife, Comedy] [RPG] [Steam] [Commercial]

https://pp.userapi.com/c849136/v849136083/eeeba/SeOawW36tG0.jpg Visual novel «d20: Sweet Roll Club» tells us an emotional story about friendship and love between girls in the school tabletop RPG club. Five cute high school students turn into their play characters to take on the imaginary world of d...
by sDextra
Thu Dec 13, 2018 3:51 am
Forum: Ren'Py Cookbook
Topic: [CODE] Tetris
Replies: 5
Views: 525

[CODE] Tetris

https://pp.userapi.com/c849416/v849416003/dc39a/luZjOyp1dgg.jpg Keys: Left Arrow - move tetromino to the left; Right Arrow - move tetromino to the right; Up Arrow - rotate tetromino; Down Arrow - increasing the speed of falling (pressing again disables it); Enter - instantly lower tetromino; Space ...
by sDextra
Wed Dec 12, 2018 6:22 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 67
Views: 4730

Re: telegram messenger (2 version)

Update to 'Messenger 1.1' (Telegram Emulator) GitHub Google Drive Features: Sending a Picture Message (Click open to full screen); Sending an Audio Message (Audio Player); Typewriter Mode (typing emulation); Make Choices (inside the message bubble) Message Search (Magnifier Icon); In Search '#pic' -...