Guys, I have another problem. Time and type feel. In my room there is a player who can walk freely in the room. In the room besides him there is another character. If the player comes close to the character and the character walks in front of the head is severed as if in fact going backwards. Maybe I was not well expressed. To make me understand I could put a picture. I can not
What gets drawn in front is determined by baselines. Each character has one and by default it's at their feet. So that shouldn't have happened unless you've manually set the baseline in a script.
To show a screenshot, upload the picture to the net, e.g. here: http://imageshack.us
Then copy the "direct link" to your post and put the image tag around it.
(http://i208.photobucket.com/albums/bb259/khrismuc/gnaaa.png)
I did not have the image on a site but only on my computer. Why do not you understand anything of what I said? Someone who understood the problem?
Just upload the picture to, say, imageshack.us... as Khris said. Did you even read his post?
Geez. To diagnose the exact nature of the problem, a screenshot would be a big help.
So either press F12 while the game is running (the screenshot will end up in "My Documents/My Saved Games/*gamename*/") or press PrintScreen on your keyboard and paste it to a new empty document in a Graphics Program.
Convert the file to png if it is a bmp, then upload it at the site I mentioned and link us to it.
The picture is this. Maybe you understand more about the problem
http://img178.imageshack.us/content.php?page=done&l=img178/1676/42420616.png&via=mupload
(http://img178.imageshack.us/img178/1676/42420616.png)
Assuming you didn't manually change the baseline, the only explanation seems to be that the sprite of the guy with the red cap isn't properly cropped.
A character is handled using the bottom center of their current sprite, so if the actual position of the red guy is below the other's, he'll get displayed in front.
Could you tell us the starting coordinates of the right guy?
The coordinates are these: 350, 600
Are quite strange because if I use the cursor to edit the room do not match.
Even to edit the areas we walked I had to move everything to run the edges as well as the coordinates of the player.
Maybe I put bad edges or do something else?
Here's a picture of how I put the areas walkers
http://img136.imageshack.us/content.php?page=done&l=img136/9230/14541906.png&via=mupload
You need to crop the sprites of the characters. This will solve all your problems.
How do I cut out sprites?
It's all in the manual:
http://www.adventuregamestudio.co.uk/manual/Importing%20your%20own%20sprite%20graphics.htm
I solved. You are fantastic Khris!