telegram messenger (2 version)

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.
Message
Author
User avatar
Prandygame
Newbie
Posts: 16
Joined: Tue Oct 06, 2020 10:10 pm
Completed: Romance Dimensional
Projects: Romance Dimensional 2
Organization: Prandy Game
itch: prandygame.itch.io
Contact:

Re: telegram messenger (2 version)

#121 Post by Prandygame » Thu Oct 15, 2020 7:19 pm

I am not English speaking, so I will use the translator, this code is incredible, I have version 1.3 and it works quite well, however it seems to be created exclusively for a certain resolution and my game is at a 1280x720 resolution, I try all the ways it is possible to play with the positions of the screen messenger and unfortunately I have not been able to control the positions, even changed the size of the images to my resolution ordering it is a complete chaos for me, maybe some specifications of what I am going to move since You cannot see the upper part of the phone, it would be more comfortable for the values to adapt according to the screen resolution, the code is very good, but it makes me a problem to move and test the positions when I have no idea what I am moving sometimes.
My first game made in Renpy check it out.
https://prandygame.itch.io/visual-novel-romance

unregistered
Newbie
Posts: 11
Joined: Tue Apr 21, 2020 5:18 am
Contact:

Re: telegram messenger (2 version)

#122 Post by unregistered » Fri Apr 16, 2021 1:14 pm

This is really an awesome messenger. Is there an option to "autoplay" audios? So as soon as audios are sent to the messenger, the audioplayer is started right away?

JuicyEliot
Newbie
Posts: 6
Joined: Wed Sep 23, 2020 8:04 am
Contact:

Re: telegram messenger (2 version)

#123 Post by JuicyEliot » Fri Feb 25, 2022 12:01 pm

Hi there!

First of all, thanks a lot for your amazing work! This code is very clean.

It works perfectly fine on PC but I had an issue on Android though. (Version1)
The sfx sounds can't play. The sound of message notification works perfectly, but the audio message (like the crow) can't be found.

Any idea?

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 122, in <module>
  File "game/messenger.rpy", line 201, in msg
  File "game/messenger.rpy", line 148, in __init__
  File "game/messenger.rpy", line 104, in __init__
  File "game/messenger.rpy", line 110, in get_audio_length
Exception: Couldn't find file 'sfx/raven.mp3'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "script.rpyc", line 122, in script
  File "renpy/ast.py", line 928, in execute
  File "renpy/python.py", line 2245, in py_exec_bytecode
  File "game/script.rpy", line 122, in <module>
  File "game/messenger.rpy", line 201, in msg
  File "game/messenger.rpy", line 148, in __init__
  File "game/messenger.rpy", line 104, in __init__
  File "game/messenger.rpy", line 110, in get_audio_length
  File "renpy/loader.py", line 875, in transfn
Exception: Couldn't find file 'sfx/raven.mp3'.


Post Reply

Who is online

Users browsing this forum: Google [Bot]