BANANAMAN
Resident Star Battle Expert.
- Reaction score
- 150
Ok so after some experimenting with SFML i managed to display a small white square (pixel?) that bounces around the screen.
I'm trying to make a program that displays an png image in place of the square and there are three of these images on the screen that start at the center and bounces around the screen (just at the window borders not at each other yet) but I can't even seem to make at least one because this error keeps popping up.
1>c:\users\toshiba\documents\visual studio 2010\projects\plate4\plate4\main.cpp(160): error C3861: 'processEvents': identifier not found
I've checked the other cpp files and it appears that "Main.cpp" is the only one that has this error. Is this a Header file error? If so How do I fix it? Also how do I make 2 more instances of the square and to map textures to them?
"Download it here"
I'm trying to make a program that displays an png image in place of the square and there are three of these images on the screen that start at the center and bounces around the screen (just at the window borders not at each other yet) but I can't even seem to make at least one because this error keeps popping up.
1>c:\users\toshiba\documents\visual studio 2010\projects\plate4\plate4\main.cpp(160): error C3861: 'processEvents': identifier not found
I've checked the other cpp files and it appears that "Main.cpp" is the only one that has this error. Is this a Header file error? If so How do I fix it? Also how do I make 2 more instances of the square and to map textures to them?
"Download it here"