yet another phone system + UI
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.
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.
-
- Regular
- Posts: 26
- Joined: Wed Oct 11, 2023 1:51 pm
- Deviantart: SophomoricEnt
- Contact:
Re: yet another phone system + UI
Thank you so much for making this code. One issue. Now all my dialogue is appearing as a text. Do I need to have duplicate characters, one for normal operations and one for texting?
Code: Select all
define alena = Actor(Character("Alena")
define adrian = Actor(Character("Adrian")
define alenatext = Character("Alena", kind=nvl)
define adriantext = Character("Adrian", kind=nvl)
- Nighten
- Regular
- Posts: 48
- Joined: Fri Jan 26, 2018 12:29 am
- Completed: Vincit, Sentiment Enneigés, The Devil took my Candies
- Github: NightenDushi
- itch: nighten
- Location: France
- Discord: Nighten#3081
- Contact:
Re: yet another phone system + UI
Yes exactly, you need to create duplicate just like you would do to differentiate NVL characters from classic ones!
Thanks a lot for trying my code, I'm glad it's useful to you
Thanks a lot for trying my code, I'm glad it's useful to you
-
- Regular
- Posts: 26
- Joined: Wed Oct 11, 2023 1:51 pm
- Deviantart: SophomoricEnt
- Contact:
Re: yet another phone system + UI
It rocks. I'm not a coder and was a little scared about trying to implement, but turned out to be pretty easy.
-
- Regular
- Posts: 26
- Joined: Wed Oct 11, 2023 1:51 pm
- Deviantart: SophomoricEnt
- Contact:
Re: yet another phone system + UI
Question. I replaced the phone_foreground.png and phone_background.pnp. Looks sweet, but send and receive icons are off the phone to the left.
Is this where I change the text size...
https://www.instagram.com/p/Cykb0hwuIJH/
Is this where I change the text size...
Code: Select all
creen nvl_phonetext(dialogue):
style_prefix None
$ previous_d_who = None
for id_d, d in enumerate(dialogue):
if d.who == None: # Narrator
text d.what:
xpos -335
ypos 0.0
xsize 350
text_align 0.5
italic True
size 28
slow_cps False
id d.what_id
if d.current:
at message_narrator
https://www.instagram.com/p/Cykb0hwuIJH/
- Attachments
-
- iconbubblephone.jpg
- (147.18 KiB) Not downloaded yet
Re: yet another phone system + UI
This is really cool, and I will be 100% adding it to my game. I have been testing with it, however it appears all messages appear on the same Screen. Is there a way to have different "conversations" for different characters? I am still getting to grips with the more complex coding, so am a little lost.
Thanks in advance
Me
Thanks in advance
Me
Who is online
Users browsing this forum: No registered users