Hey Pyro, please reply about "sprite - image"

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
juliocpaes
Posts: 1263
Joined: Mon Feb 14, 2011 12:07 am
Location: Madrigal - Brazil
Contact:

Hey Pyro, please reply about "sprite - image"

Post by juliocpaes »

Pyro,

I make a unit (wild boar)Image but stood so :

(in Oak) I put a fund "black", would have another color that I could use as fund? for not happen this with the image?

Image
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Hey Pyro, please reply about "sprite - image"

Post by Pyro »

The English word for "fundo" is not "fund". It is "background".

When you index the image, you need to force the first two colors to something specific. The first color should be whatever the background your images will use. The second color has to be something that is not on the image.

Open the image you want to index and do the following. It might be different on the program you use to edit your images. First you must change the background to something that won't conflict with the part of the image you want to show. I picked blue.

I used the bucket icon to flood the area with the color I want. If you are using Photoshop, you can set the "Tolerance" to 1 and check "Contiguous". Uncheck "Anti-alias" unless you know what you are doing.

As you can see, this is not perfect because it is taking away some black pixels you might want to keep like part of the tail or feet. So if the bucket is not good enough you can use a brush or pencil option.

Image

Then you need to index the image.

Image

Then go to "Forced" and select "Custom". This will let you force the colors you need.

Image

In this last image, I picked blue for the first color. Your images has black inside of it and not just part of the background. You will need to edit those images manually. For the second color I picked a very bright pink.

Image

After that, you can export the color table you used and import it to the other images. Remember you might want to create a better color table by indexing a bunch of images as one big image. This way you get all the colors you need into one color table. Then you can delete the big image and use the new color table on all the images.
User avatar
juliocpaes
Posts: 1263
Joined: Mon Feb 14, 2011 12:07 am
Location: Madrigal - Brazil
Contact:

Re: Hey Pyro, please reply about "sprite - image"

Post by juliocpaes »

Pyro,

once again : thanks.

Hmm, my photo shop is Paint Net v.3.36 - it not have "image - mode - indexed color"
so I can not open "forced colors" in custom ... i need other photo shop best.

Image
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: Hey Pyro, please reply about "sprite - image"

Post by Melekor »

OT- dat homm2 tho
User avatar
juliocpaes
Posts: 1263
Joined: Mon Feb 14, 2011 12:07 am
Location: Madrigal - Brazil
Contact:

Re: Hey Pyro, please reply about "sprite - image"

Post by juliocpaes »

Melekor wrote:OT- dat homm2 tho
H of M and Magic 2 - that's it...?! Huh. :lol:
Post Reply