Character Feet-Spot?

Started by Tosek, Fri 20/09/2013 12:48:06

Previous topic - Next topic

Tosek

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

Billbis

Hello Tosek,
It's quite a common problem.
Best solution is probably to change your chracters Z property on game start :
Code: AGS
cEgo.z = -5;


DoorKnobHandle

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.

SMF spam blocked by CleanTalk