Walkable Area problem

Started by Samsam, Tue 08/11/2016 23:54:32

Previous topic - Next topic

Samsam

Hi! :-D, I have some problems with the "walkable areas". When I draw the walkable area, everything looks good! :-D , but when I test the game, the walkable area is moved up :undecided: . INFORMATION EXTRA: I'm using 1 walkable area. The game resolution is 800x600 like the background image. Could you tell me what is wrong?

Gilbert

Just a guess. Maybe there are some transparent rows of pixels under the feet of the character sprites, so that the baseline of the character appear lower than his feet, making him shifted upwards?

Samsam

you are right, but how I can fix this glitch ????

AnasAbdin

Set a negative z value for the characters that is equal to the number of transparent pixels below the character.


e.g.
Code: ags
cEgo.z = -10;

Samsam


SMF spam blocked by CleanTalk