Walkable Area deferred

Started by Gardinero, Sun 31/01/2010 11:01:03

Previous topic - Next topic

Gardinero

Hi,

I have a problem with my walkable areas.

My room is based on a photo (800x600), wich was edited in Photoshop.
Afterwards I drew walkable areas.

When I test my game, the walkable area seems to be dereffered a little bit.
The character cannot go to the bottom edge of the walkable area, but has the possibility to trespass the upper edge of it.


Did I make a beginner mistake?


Thank you in advance.

Gardinero

ThreeOhFour

One possibility is that your character sprite has blank pixels beneath his feet. This is a likely cause for the problem - check your character's sprites and make sure that his/her feet touch right at the bottom of the sprite's frame.

If this doesn't work, and the walkable area is set in the proper spot, I'd suggest checking to see if you've altered the character's z value somewhere.

Gardinero

Hey cool.

It's working.


Thank you very much.


Gardinero

SMF spam blocked by CleanTalk