Search found 21033 matches

by Tony Li
Sat Feb 21, 2015 10:59 am
Forum: Dialogue System for Unity
Topic: Chat box and text scale
Replies: 6
Views: 2803

Chat box and text scale

On the JRPG Dialogue UI, the scaled rect of "Dialogue Panel" is set to an absolute pixel height (128 pixels). Try changing this to Normalized at, say, 0.25 (one-quarter the screen height) or whatever proportion looks good to you. And then set Min Pixel Height to the smallest pixel height t...
by Tony Li
Sat Feb 21, 2015 7:08 am
Forum: Dialogue System for Unity
Topic: Chat box and text scale
Replies: 6
Views: 2803

Chat box and text scale

Add ScaleFontSize to your GUI Root GameObject. Then set the Styles list size to 5, and add these style names: label Response Top Left Middle Center BottomCenter You may need to tweak the Scale Factor, or even customize the script to your own specific needs. If you're using Unity 4.6 or higher, consi...
by Tony Li
Sat Feb 21, 2015 6:41 am
Forum: Dialogue System for Unity
Topic: Chat box and text scale
Replies: 6
Views: 2803

Chat box and text scale

Hi, You can scale the panels by setting their scaled rects to Normalized, but unfortunately the legacy Unity GUI doesn't provide a way to scale fonts. The best you can do is to use a script to set the font size bigger or smaller compared to a default reference size. For example, if your font is size...
by Tony Li
Thu Feb 19, 2015 4:34 am
Forum: Dialogue System for Unity
Topic: Content in dialogue/conversation not appearing right.
Replies: 10
Views: 2410

Content in dialogue/conversation not appearing right.

Did you tick Disable Internal Sequencer Commands on the Dialogue Manager? If so, try unticking it.
by Tony Li
Wed Feb 18, 2015 1:43 pm
Forum: Dialogue System for Unity
Topic: Content in dialogue/conversation not appearing right.
Replies: 10
Views: 2410

Content in dialogue/conversation not appearing right.

Hi Daniel, For the continue button: When the Dialogue System draws Unity GUI elements, it draws the parent first and then children. Let's say you have this set of GameObjects in your hierarchy: GUI Root Dialogue Panel Continue Button NPC Subtitle Line The Dialogue System will draw GUI Root first, th...
by Tony Li
Wed Feb 18, 2015 6:34 am
Forum: Dialogue System for Unity
Topic: Content in dialogue/conversation not appearing right.
Replies: 10
Views: 2410

Content in dialogue/conversation not appearing right.

Hi,



I'm out of the office right now, but I'll send a reply as soon as I can. The continue button will be an easy fix. Do you want the image to look like the top or bottom one? (Just want to make sure I have it clear.)
by Tony Li
Tue Feb 17, 2015 3:40 pm
Forum: Dialogue System for Unity
Topic: Content in dialogue/conversation not appearing right.
Replies: 10
Views: 2410

Content in dialogue/conversation not appearing right.

Sorry, this isn't the greatest forum software. I plan to move to phpBB soon. In the meantime, try the attachment feature that I just enabled. (I'm attaching an image as a test.) If that doesn't work, try the image BBcode: [ img]url-to-image[ /img] I don't quite follow about the continue button posit...
by Tony Li
Tue Feb 17, 2015 3:45 am
Forum: Dialogue System for Unity
Topic: Can't disable head movement
Replies: 3
Views: 927

Can't disable head movement

Hi, Your camera GameObject probably has a second MouseLook script. Often the player object has a left/right MouseLook, and the camera has an up/down MouseLook. Use Set Component Enabled On Dialogue Event to disable this script, too. The easiest way to do this is to lock the inspector view on your pl...
by Tony Li
Mon Feb 16, 2015 7:50 am
Forum: Dialogue System for Unity
Topic: Content in dialogue/conversation not appearing right.
Replies: 10
Views: 2410

Content in dialogue/conversation not appearing right.

Hi Daniel, What GUI system are you using? If you're using legacy Unity GUI, look at the Scaled Rects for sizes and positions, and at the portrait image's GUILabel settings for the actor's image. If you're using the new Unity UI, look at the Rect Transforms. All scaling, sizing, and positioning is do...
by Tony Li
Fri Feb 13, 2015 7:58 am
Forum: Dialogue System for Unity
Topic: Trouble displaying a Variable
Replies: 22
Views: 3974

Trouble displaying a Variable

Here's a brief summary for other readers: DS sequencer commands can't control animation: AC's "NPC" script took frame-by-frame control of the animator. Two solutions: (1) Instead of AnimatorPlay() or AnimatorPlayWait() [which waits for the animation to finish], use the AC() sequencer comma...