A downloadable phone code

Download NowName your own price
  • free to use, crediting me is appreciated but not required
  • based on the code found in cute demon crashers
  • supports menus and images
  • designed for 1920 x 1080, but if you play with the numbers enough you can make it work for any size
  • uh windows only i guess? i just zipped the whole renpy project idk if it works on other OS's lol
  • done with and for renpy version 
  • example of how you can write the code in your dialogue
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")

i hope you enjoy!

Authornadia nova
Made withRen'Py
Tagsasset, renpy, sourcecode


Download NowName your own price

Click download now to get access to the following files:

phone template new.zip 1 MB

Development log


Log in with itch.io to leave a comment.

Thank you, now I can continue to finish my project (for personal use only)

I've wanted to implent something like this in one of my VNs for so long! Thank you so much for posting this, that makes it so much easier!


(1 edit)

I was playing around with the code and i wanted to send as the MC a picture. Is there a way to "reply" with an image being the MC?

The best i could do is put the call in the script.rpy as:

call message("nadia", "Why you don't send me a picture?")

call reply_message_img("me", "what do you think?","graphics/pic1.png")

and put the label in the options.rpy as follows:

label reply_message_img(who, what,img):
    $ renpy.pause()
    hide screen phone_message
    hide screen phone_message2
    hide screen phone_message3
    hide screen phone_message_image
    $ renpy.pause(0.1)
    show screen phone_message_image(who, what,img)

But playing the game the message of the MC still looks as a message of nadia, I know i have to do something in the screen panel but i'm out of ideas.

Thanks for sharing the code, btw :) 

This is beyond cool!

Thanks for sharing :)

Just played around with it for a few hours. Thanks so much for sharing. I wish I would have looked for this when I was doing nanoreno 2018 lol

Useful code. Great comments. Very helpful! Thanks :)

Loved! Thanks! I was looking for this!

Cute design. I like it. I tried to run your original file and find out that it fit my small screen. But when I copy your marked phone code to my project, it has bigger phone size. How to fix this? I'm still new at Ren'py.

if youre changing the  size you have to edit the image file for the phone to either make it  bigger or smaller to suit what you need. and change the numbers in the code to match the new size

I don't understand with the screen properties so I changed my whole project resolution to 1920*1080 lol and it's works fine with yours. Thank you. Your project really helpful for my school project.

Nadia, thanks for this and if you don't mind, can you tell me what I must change, I just need the name and then I'll solve it by my self.

Aaaahhh, thanks so much for posting this!!

i don't really understand how to do it. can u explain?

can you be more specific? 

hi!! i downloaded this and i'm really looking forward to using it, but it gives me an error when i try to run it :(

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/screens.rpy", line 276, in script
    init python:
  File "game/screens.rpy", line 277, in <module>
Exception: config.character_id_prefixes is not a known configuration variable.

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

Full traceback:
  File "game/screens.rpy", line 276, in script
    init python:
  File "G:\software\game development\renpy-6.99.11-sdk\renpy\ast.py", line 805, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "G:\software\game development\renpy-6.99.11-sdk\renpy\python.py", line 1641, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/screens.rpy", line 277, in <module>
  File "G:\software\game development\renpy-6.99.11-sdk\renpy\defaultstore.py", line 80, in __getattr__
    raise Exception('config.%s is not a known configuration variable.' % (name))
Exception: config.character_id_prefixes is not a known configuration variable.


i havent ran into an error like that before. are you directly running the game template you download with no modifications? cause if not try that first. also make sure your renpy is up to date. i dont know how to offer advice out of this though, sorry!


this is pretty neat!!!! thanks for posting this

thanks! im happy to hear you like it