Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  We've upgraded to YaBB 2!
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
TEST-3.10.2009 : Speech Command (Read 406 times)
exploreRPG
Administrator
*****
Offline


Explorations Forever!

Posts: 264
Explorations HQ
Gender: male
TEST-3.10.2009 : Speech Command
Jan 5th, 2010 at 5:56pm
 
Code:

Speech {PC, Explorations is a truly awesome Game Development Interface!}
Dialog {PC, Explorations is a truly awesome Game Development Interface!}
EndEnc


The Speech/Dialog Command allows you  to create a speech dialog for any sprite. The Speech bubble is attached to the sprite and will move when the sprite moves. It is overlayed on the screen like the user interface controls.

The Speech/Dialog effect is controlled by a simply eMotions script file. \GUI\SPEECHDIALOG.MOTION By simply setting a series of SPEECH_ script variables and executing the .MOTION file, a Speech bubble will appear and attach itself to any sprite. the dialog will size vertically and word wrap any text of your choice.

The control variables for the Speech Dialog:

Code:

SPEECH_HND$
- The Handle of the Sprite that the dialog is attached.
SPEECH_X%
- The left location of the speech dialog. (in pixels)
SPEECH_Y%
- The top location of the speech dialog. (in pixels)
SPEECH_W%
- The width of the speech dialog box. (in pixels)
SPEECH_IMAGE$
- The image used to create the speech bubble. eMotions has default images, but you can replace this border
 template with your own.
SPEECH_INFO$
- The actual text that will appear within the speech dialog.



...
Back to top
« Last Edit: Jan 9th, 2010 at 8:34am by exploreRPG »  

The Administrator.
WWW exploreRPG explorerpg@yahoo.com  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print