Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jdc1197

Pages: [1]
1
Graphics / Replace one color with another.
« on: December 20, 2011, 05:18:55 pm »
Hey guys, this is my first post on the forums.
Anyway, I'm trying to make a rendering engine for my game, but I'm kinda stumped on how to go about this.

I have an image this is made up of 2 colors. I would like for these 2 colors to be changed on run-time (e.i. Draw this tile, the white is green, and the black is blue).
I don't know how to go about this...

Any help would be appreciated. I'm using SFML 1.6, but willing to change to 2.0 if necessary.  :)

Pages: [1]
anything