Provinces from PNG-file
Posted: Sun May 27, 2012 5:06 am
Hello Chaos Rift!
I am thinking about creating a small grand strategy game where the map is seperated into provinces, much like in Paradox Interactives titles. I would like to get the shape and the color of my provinces from a PNG-file. The color will then be linked to a province ID which is used internally in the game. Do you have any suggestions on how to do this?
Also, I am going to use SDL for this project.
Thank you in advance.
I am thinking about creating a small grand strategy game where the map is seperated into provinces, much like in Paradox Interactives titles. I would like to get the shape and the color of my provinces from a PNG-file. The color will then be linked to a province ID which is used internally in the game. Do you have any suggestions on how to do this?
Also, I am going to use SDL for this project.
Thank you in advance.