Hey everyone, I based this on the code and assets that were provided in Cute Demon Crashers. Basically I had the struggle to copy the system to my own game, and then I wanted the ability to "text back". I played around and managed to implement a system that lets you use a basic menu system to select a reply, and based on the reply it will jump to a new label and continue from there. Most of the modification came from me setting up a different color box which will be the players reply and positioning it.
The code is cleaned up a lot and I have commented it so you can hopefully see what's going on.
I use a 1920x1080 so all the numbers will be very off if you have a different dimension, but I'm sure you can manage to play around and fix it! I may not be able to help with problems you all come up with, but I hope just sharing this some people will find it useful and be able to play around and make it work to your needs as I managed with the original code.
I have uploaded the code as an example game in a .zip file which you can download and run.
It looks like this in the code now;
Code: Select all
call message_img("nadia", "it works with images too!","images/pic1.png")
call message_img("nadia", "receive cute pics from your friend","images/pic2.png")
call message("nadia", "the text box changes depending on how much content there is. dont put too big images or its gonna look weeeeiiiird")
call message("nadia", "you can also do menus here")
https://nadianova.itch.io/phone-message ... -for-renpy