SFML community forums
Help => General => Topic started by: NinjaFishleg on March 17, 2014, 09:17:45 pm
-
I have a suspicion that for some reason my Classes with SFML are behaving wrong (maybe due to my install?). Could a SFML hero spend a few seconds of there day to reply with a quick classes example with sfml?
example:
class classname{
public:
sfml member
}
This is either me being an idiot or my setup is wrong (it seems strange that only classes would mess up)
Thanks in advance!
-
Can you be more specific about your problem? Please read this thread (http://en.sfml-dev.org/forums/index.php?topic=5559.0) before posting.
The only thing you should keep in mind is to avoid global/static variables of SFML types. But there's no fundamental problem with classes.
-
Thank you Nexus! Kind as always! Keep up the good work.
-
my Classes with SFML are behaving wrong
This is either me being an idiot or my setup is wrong
You should describe your problem (precisely) rather than being vague and saying you're maybe an idiot ;)
Do you have a compile error? Linker error? Crash? Unexpected behaviour?