telegram messenger (4 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 »

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: 17
Joined: Tue Apr 21, 2020 5:18 am
Contact:

Re: telegram messenger (2 version)

#122 Post by unregistered »

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 »

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'.


User avatar
Andredron
Miko-Class Veteran
Posts: 689
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: telegram messenger (3 version)

#124 Post by Andredron »

https://github.com/shawna-p/mysterious-messenger

A messenger program with many features such as phone calls, text messages, chatrooms, emails, and Visual Novel sections. This is an ongoing project intended to give me practice experimenting with the Ren'Py engine and its capabilities

https://mysterious-messenger.readthedocs.io/en/stable/

Post Reply

Who is online

Users browsing this forum: Google [Bot]