Code: Select all
# How this scene is implemented:
nvl_narrator "Nighten added Eileen to the group"
n_nvl e2m2 "Hey! Welcome to the demo Eileen!"
e_nvl "who's this?"
n_nvl e2m1 "haha, silly you"
n_nvl e1m2 "We talked about showing off the phone the other day, remember?"
e_nvl "it's today? {image=emoji/fear.png}"
Instructions:
- Add the images and PhoneTexting.rpy to your project folder
- In this file, change the name of the main character to yours (MC_Name)
- Edit the nvl screen in screen.rpy as follow:
Code: Select all
screen nvl(dialogue, items=None): #### ADD THIS TO MAKE THE PHONE WORK!! :) ### if nvl_mode == "phone": use PhoneDialogue(dialogue, items) else: #### ## Indent the rest of the screen window: style "nvl_window" # ...
- Change gui.nvl_list_length in gui.rpy to None, so that all the message are shown
- You'll then have to make a nvl character speak!
- To use the regular nvl screen again, change the nvl_mode variable to something else, like "classic"
- To include emojis and pictures, you can simply use an image tag; make sure they are the right size for the phone screen.
Mirror download on my website
Full source code on Github
Credits:
The background is made by Uncle Mugen. All the other art assets and the code are done by me, Nighten, and free to use in your project if you want (the source files are available).
I'm really interested in your feedback, so if you see any improvement to make to this system, don't hesitate to point it out!
Have a nice day!