Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Tosek on Fri 20/09/2013 12:48:06

Title: Character Feet-Spot?
Post by: Tosek on Fri 20/09/2013 12:48:06
Hi there,

I am new to AGS and I already searched the board, but could not find exactly what I am looking for.
All of my main character sprites are sized 80x140 pixels. But below the feet of my character there are a few transparent lines. I need them, because when my character is walking down his feet are perspectively using these lines, but they are'nt used when the character is standing. I am looking for a way to tell AGS where the middle of his shoes, the "Standing-Spot" is, so that AGS could use that to check against the walkable areas. Is there any way to define that? A workaroud is to define the walkable areas deeper than visually necessary, but I hope there is another way?

I hope I could make my clear about my problem.

Thanks in advance.
Tosek
Title: Re: Character Feet-Spot?
Post by: Billbis on Fri 20/09/2013 12:57:28
Hello Tosek,
It's quite a common problem (http://www.adventuregamestudio.co.uk/forums/index.php?topic=48955.msg636467468#msg636467468).
Best solution is probably to change your chracters Z property on game start :
Code (AGS) Select
cEgo.z = -5;
Title: Re: Character Feet-Spot?
Post by: DoorKnobHandle on Fri 20/09/2013 12:58:03
I highly doubt you actually searched the forums, considering the results you get for even just searching 'feet'. This was asked and answered last week for example:

http://www.adventuregamestudio.co.uk/forums/index.php?topic=48955.0


EDIT: Beaten.