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 - stefanhendriks

Pages: [1]
1
General / Re: Team coloring in SFML
« on: September 26, 2013, 10:11:36 pm »
thats exactly what i meant, nice!

2
General / Re: Team coloring in SFML
« on: September 26, 2013, 09:13:38 am »
what color are you changing then when drawing? The default color of a unit is red. How will returning an sf::Color::Blue make the unit have a blue shade?

3
General / Team coloring in SFML
« on: September 26, 2013, 08:50:24 am »
Hello,

This is my first post, regarding SFML so please bear with me :)

At this moment I am working on my project http://dune2themaker.fundynamic.com/ (Dune II - The Maker) using SDL 1.2, and I am strongly considering using SFML instead while we haven't gone too far yet. The only thing I can't seem to figure out how to do with SFML is to do team coloring.

We manipulate the palette of surfaces to draw the correct team. But in SFML there does not seem to be such a thing as a palette. So the question is: How do you apply team coloring then? Is there any other way that is adviced?

Regards,

Stefan

Pages: [1]