Page 2 of 2
Re: yet another phone system + UI
Posted: Thu Jul 20, 2023 6:57 pm
by edgebug
(fixed)
Re: yet another phone system + UI
Posted: Mon Oct 16, 2023 3:18 pm
by Two Dollars
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)
Re: yet another phone system + UI
Posted: Mon Oct 16, 2023 3:28 pm
by Nighten
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
Re: yet another phone system + UI
Posted: Mon Oct 16, 2023 3:29 pm
by Two Dollars
Nighten wrote: ↑Mon Oct 16, 2023 3:28 pm
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
It rocks. I'm not a coder and was a little scared about trying to implement, but turned out to be pretty easy.
Re: yet another phone system + UI
Posted: Wed Oct 18, 2023 11:25 pm
by Two Dollars
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...
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/
Re: yet another phone system + UI
Posted: Wed Dec 06, 2023 7:14 am
by SiddyJUK
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