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

Pages: [1]
1
SFML projects / Re: Thor 2.0
« on: June 06, 2014, 01:05:06 pm »
I have created a new class called PlayerInput that inherited de thor::ActionMap<std::string> in order to create two new method : loadFromFile and saveToFile.

- LoadFromFile  : it reads the xml file (PlayerInput.xml for example) that contains the player input saved and add them to mActionMap (i had to set it as protected).
- SaveToFile :  the same that LoadFromFile but it saves instead of to load player input.

The goal is to load/save directly player input from/to a xml file from this class.

Thanks you for your answer. It's not a problem, i will do it in another class that will contain a map<std::string,std::string> with for example the first string, the action name and the second string, the keyboard key string.

2
SFML projects / Re: Thor 2.0
« on: June 05, 2014, 06:15:00 pm »
I have a question.

I need know the keys(keyboard or mouse) that have been set in a Thor::Action.
Does it give a way to know them?

3
SFML projects / TGUI: a c++ GUI for SFML
« on: February 14, 2012, 01:58:43 pm »
Nice project  :D

I have just a question : It require SFML 1.6 or SFML 2 ?

Pages: [1]
anything