I want to program the pair matching game in OpenGL. I am using Visual Studio 2008 for this.
The game is pretty common. It consists of a grid of tiles. Under each tile there will be a picture.
The picture is revealed for a short amount of time when the user clicks on it.
The goal of the player is to successively click on a pair of similar image tiles.
It is the same as the game found here.
Now, Since I know a bit of C and C++, I'm planning to implement using OpenGL. I will program the logic myself.
I wish to use external pictures to be read and displayed in place of hidden picture.
The program must be able to read it from a folder which contains all the pictures (which could be replaced each time before running exe file)
I have no experience in the external file reading and writing.
So, please help me with the code to read external images. Something that uses OpenGL would be preferred (I think it will be simpler).
The format of image is no problem (jpg, tiff, bmp or anything which is easier to handle).
This post has been edited by RCL0000ZK: 23 March 2010 - 10:38 AM