2015-04-11 11:22:10 (edited by burak 2021-06-23 16:13:23)

Hi, I have made a little dialog box class, here goes the readme:
DIALOG CLASS
Created by Burak Yüksek
This class allows you to create timed or untimed dialog boxes.
Properties:
string closes:
Adjusts the sound that plays when the dialog closes.
string opens:
Adjusts the sound when the dialog box opens
If those strings are left blank, no sound will be played.
bool timed:
Adjusts if the dialog will stay open for a time or if it will be closed manually.
int time(enter in  milliseconds):
Adjusts the time of the dialog box.
If bool timed is set to false, this value will be ignored.
string text:
This is inside the create function. Sets the text of the dialog.
An example is included in the example.bgt file.
lisence:
You can motify the script as you like, but please give credit where it is needed.
Enjoy, I hope you can get some use out of it.
And here goes the link:
https://1drv.ms/u/s!AkMhHe64ysbhgWwcxdC … 4?e=sQKOGo

I post sounds I record to freesound. Click here to visit my freesound page
I usually post game recordings to anyaudio. Click here to visit my anyaudio page

2015-04-11 11:54:49

Hi,
This isn't a bad little class as classes go, at all! In fact I may end up using it for my game in progress, I certainly hope so. This is probably how the story will go through. thanks burak!

Underworld Tech.
Accessibility from us, to you.
Visit us

2015-04-11 11:55:57

You're welcome, I hope you find it useful!

I post sounds I record to freesound. Click here to visit my freesound page
I usually post game recordings to anyaudio. Click here to visit my anyaudio page

2015-04-11 14:15:20

Hi all,
I have modded the class so that you can use screen reader output instead of just tts. You can look at the read me in the zip to find out how. Link is:
https://dl.dropboxusercontent.com/u/247 … sion_2.zip

2015-04-13 17:39:53

hi.
at burak, nice class! I wanna use it in my gamy.
at lucas, OK, thanks! I will download this.

no matter what you do, alwais, ghosts will be there. Demonic spirits waiting for you. Charlie Charlie are you here? suddenly, charlie appears with a knife. He killed me! charlie charlie are you here? tell me if it's yes. Are you gonna persew me or you're leaving me in peaze? oh my gosh charlie is indeed here! he's about to kill me!
:D