Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Mister Stewart

2d graphics prob

This topic is 6484 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am using MSpaint in my 2d games, but for some reason the colors are all messed up whenever I run them. The bitmaps are 8 bit. I don''t think it''s the code, but tell me, does it matter which paint package I use. I keep hearing/reading about how PaintShop Pro is the Mutts Nutts, so should I go with that? Which package do you guys use/recommend? Thanks. I do not have to destroy, because I do not fear.

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
Well Mr. Stewart, your problem is probably becuase the palette is not included in your graphics files. Perhaps you need to save the palette into a file, load it into memory in your program, and flush it into your video memory to make it the active palette. That should put your pictures in their proper colors. Of course PSP, Photoshop, and Corel Photopaint are my three favorite to work with, and whether you like Allegro or not, Allegro comes with a file called FixPal which is very handy to make an optimized palette for all the graphics that you may have. I use Photoshop because I can have a file that is 8-bit indexed palette using the palette from my game and I can draw a graphic using RGB color, copy it, and paste it into the indexed palette picture, and Photoshop will automatically quantize the colors down to the closest match of colors. It will also "pattern" the colors if the desired color is equally close to two or more colors. At any rate, I''d recommend Photoshop, PSP, or Corel.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!