Graphic problems [SOLVED]

Started by Stridon, Tue 15/09/2009 14:04:30

Previous topic - Next topic

Stridon

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

Khris

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.


Stridon

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?


Akatosh

Just upload the picture to, say, imageshack.us... as Khris said. Did you even read his post?

Khris

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.



Khris



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?

Stridon

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

Khris

You need to crop the sprites of the characters. This will solve all your problems.

Stridon

How do I cut out sprites?


Stridon

I solved. You are fantastic Khris!

SMF spam blocked by CleanTalk