Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: TheRoger on Sat 28/05/2011 19:39:27

Title: Speech position
Post by: TheRoger on Sat 28/05/2011 19:39:27
  I'm using AGS 3.2.1 and I create game with 640x480 resolution. Though I got problem (again). It's with speech. When I use "character.Say", his text gets way above his head. Probably it's because I use bigger sprite frame (all sprites uses same frame, and the top of sprite is not the head of character, but raised hand).  Is there any way to get that text lowered?

P.S. I found something similar here: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=42906.0

Though it has some problems with variables, speech labels... Probably it's because of AGS version difference (I'm a bad scripter, can't make this work)
Title: Re: Speech position
Post by: Khris on Sat 28/05/2011 19:48:37
Character sprites are positioned using the bottom center, so all you need to do is make sure that the talking view sprites are properly cropped at the top.
Title: Re: Speech position
Post by: TheRoger on Sat 28/05/2011 20:02:46
Are you sure it's talk view? Because I changed all talking sprites to default ego, and speech text was at the same height.

EDIT: It's using characters basic/walking view 1st frame. Not I'll have lots of aligning to do.