1
Graphics / Outside Visual Studio screen goes black
« on: November 04, 2011, 04:40:02 pm »
I solved the problem.
In my game engine is a boolean variable that tells whether the object will be drawn or not.
And I forgot to initialize this variable in the constructor of my class.
It is the most basic of all the commandments, initialize all variables.
In my game engine is a boolean variable that tells whether the object will be drawn or not.
And I forgot to initialize this variable in the constructor of my class.
It is the most basic of all the commandments, initialize all variables.