import sprite problem

Started by Riptide, November 05, 2010, 05:49:04 PM

Previous topic - Next topic

Riptide

when I import sprites and assign them a group number some of the sprites I selected are blank frames. The colors should be all the same. Some times sprites vanish in my animations.


Cobra Caddie

Make sure all the sprites have the correct palette applied. Also, palette errors can be caused if you add shared palette sprites after adding something that isn't shared palette(like the portraits). Finally, check and make sure that the animations are correct in the air file.

Riptide

yeah I did import some sprites with a shared pallet then I deleted them and re-added it.
the main problem is, I add the hit boxes to a character and I can see the sprite. I go to import something else and come back to animation and there are hit boxes on empty sprites. random emptys where sprites were.

Cobra Caddie

Probably has to do with the editor you're using. Make sure you save the sff file. What editor are you using? Someone else will probably have to help you when you answer. :-X

Also check and see if the sprite group and animation number are still correct when you go back to the clsn box editing.

Riptide

I was using photoshop cs3 and paint.net

the sprites still have the same group number and sprite number but the sprites are messed up at the bottom where add air is.

Cobra Caddie

I have no idea what paint.net is and how you can make mugen sff files with it and photoshop. Sorry you'll have to wait for someone else to help ya. May I suggest working with either Fighter Factory or MCM instead?

Riptide

no, I was using photoshop to make them all into pcx files. I changed the background color in paint.net
I'm using fighter factory.

Cobra Caddie

Ya, I was asking what you were using to make and edit the sprite files, sorry. Beyond the tips I gave I can't think of anything. It looks like it's either not saving your imports, or it's corrupting them.

Riptide

Well do I really need to save the files after adding them by the pcx button.
Also I have a sprite with different animation sets for walking, punching, kicking right and left. Should I have put them all in the same group?

Cobra Caddie

#9
Quote from: Riptide on November 05, 2010, 06:27:28 PM
Also I have a sprite with different animation sets for walking, punching, kicking right and left. Should I have put them all in the same group?
No, give them all their own groups.
Quote from: Riptide on November 05, 2010, 06:27:28 PM
Well do I really need to save the files after adding them by the pcx button.
Well you saying that they show up at first and then disappear sounds like that it's not saving when you add them the first time. This might be a common Fighter Factor bug though.

Riptide

#10
I removed the bad sprites and then re-added them but I'm getting the list index out of bounds -1 error when I tried to add one sprite to the animation.

hum...it looks like there is some sort of glitch when I try and rename sprites to 5 and 4. those images mess up.
but the problem could be that the first two sets of animation are supposed to be for the profile. but I was hoping to just change that in the code or something. do the first two animation have to be for the profile

edit- I dumped all the sprites and imported some others, I thought I work on some punches, the problem shows up again blank sprites, wrong sprites, and a black bar on the right side with just the background color and no sprite.
I noticed that this problem happens in only two frames at a time and in the same order.

Cyanide

You haven't applied a palette to your images. They MUST be 8bit .pcx files. Saying to your computer "pink is the bg colour" isn't enough. You need to position THAT colour correctly on the palette.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Riptide

I started out with 24bit bitmap turn it to pcx. And moved the pink( which is green) background color to the last square on the bottom right.

were they the wrong type of bmp file?

Cyanide

If it's truely 8bit you should not be having the problem you are. Most likely you have a palette but it's not actually on the image. It needs to be applied to the image before you add it.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Riptide

#14
I was going to go and see what I was doing wrong but now I'm getting a stream read error. what's happening I don't remember having so many problems before.
I'm having less problems but it looks like it might be a pallet issue but I can't get the pallets right even after changing them.

I'm currently using the blank.zip you have

-Edit I'm using a pallet I made in photoshop after re-ripping the characters. now they are all the same color but the background is the wrong color. I can't seem to make a pallet right.

Riptide

 :bigcry:
I can't make a pallet in photoshop. I keep trying and the background is always the third color in FFU. even when I move the background color to the last square.