2
« on: July 27, 2014, 03:11:39 am »
I have searched and searched for ways to do this but all I found was either nowhere close to what I was doing or simply didnt work. I am a newbie first off, so please bear with me. Between SFML and SFGUI, there has to be an easy way to do this. What I am looking to do is, if you press a button, an image pops up, press a different button and that image goes away and a new one pops up. Each button shows a different image from each other but button 1 always shows image 1, button 2 shows image 2, etc.... For instance a character selection screen: You have 3 characters to choose from, each one having its own button to select them. Once the button of character 1 is pressed, the image of what character 1 looks like shows up. From what I could find, vectors may be the way to go but I cant find anything on just how to do it. If someone could show me the way to go with a detailed explanation, I would greatly appreciate it. Thanks in advance.