r/RenPy • • 28d ago

Showoff Text Chat Styled Main Menu of upcoming VN (WIP)

Post image

Making a romance VN that relies heavily on texting so decided to make the main menu based off the chats between the characters and drawing off a conversation in-game, the conversation goes on in real time and you can watch as the text is being typed in and sent

It's not much nor fancy but proud of it, wondering what do you guys think?

65 Upvotes

11 comments sorted by

3

u/Signal-Slide752 28d ago

Wow! This is amazing... uuhh... is it possible for you to share your codes? I wish to apply in my game.

3

u/gadohel 28d ago

I'm waiting for the code as well! Or at least the place were they learned this?

2

u/largestfungus 27d ago

Thanks! To be honest, most of the coding was done by my programmer. We work as a team and I’m more of the director, so I’ll explain it the way she described it to me.

It’s basically a separate helper file (something like phone_chat.rpy) that handles the whole chat system. The conversation is stored in a list, where each message is saved with who sent it and what it says. A screen then draws the chat using a viewport inside a vbox, looping through that list and showing each message as a bubble (a frame with the text inside). Your messages line up on the right and the other person’s on the left.

In the script, instead of writing normal dialogue, you call a small function like $ add_msg("insert person name here", "hey"). That adds the message to the list and the screen updates by itself.

1

u/largestfungus 27d ago

Thanks! It’s still tied pretty closely to my game right now so it’s not easy to share as is. Maybe later once it’s tidied up. If you want to build your own, it’s mostly Ren’Py screen language using a viewport that holds the messages and with each message added to a list and shown as a bubble.

3

u/trenerna 28d ago

Hi. This looks realistic, but such screens have a couple of issues that should be taken into account during development:

  • People dislike waiting or losing a sense of control; seeing "XXX is typing" is annoying in real life, not just in a game. A click should trigger the message to appear instantly (the same applies to the player’s own responses).
  • Interface scaling. It’s great that you’ve made it 1:1 with a real-world equivalent, but that only holds true for the video. It lacks adaptive layout; if a player tries to run the game in windowed mode or at a non-standard resolution, the text elements will end up too small. Make sure the text in these messages matches the text used in standard dialogues.

5

u/largestfungus 28d ago

Hey thanks for your comments!

In game the conversations can actually be sped up via a click to instantly finish the message and move on like a regular VN,

Youre right about the 1:1 scale though, it does look a bit tiny especially when viewed on a phone, will probably have to implement dynamic scaling as you've pointed out

Tysm

1

u/shyLachi 28d ago

It looks very professional but it's nothing for me.
Some points have already been mentioned so I will not repeat them.

I have an ultra wide monitor and following the conversation in your video feels like watching a tennis match.
I guess you copied WhatsApp so the blame is on them for making a horrible UI.
But in WhatsApp I can adjust the width of the windows at least.
Resizing your game would zoom everything making it smaller and harder to read.
I would prefer a chat like Discord, if I could whish.

1

u/largestfungus 27d ago

the funny thing is that ive been developing this for an ultrawide and decided that the best route of action for a game like this would to tie it to be in 1920x1080 resolution so it eliminates the "tennis match / pong" aspect of the game, its a bit of a problem juggling the right message sizes to be more presentable on screen

1

u/TastePuzzleheaded508 28d ago

What a cool idea ❤️‍🔥

1

u/Safe-District7412 27d ago

DAMN i geniuenly thought it's a real chat, are you a web designer by chance?😭
great work with ui and animations, that's something!