Hi guys!
After 9 hours last night writting a particle class, I came across a problem in my project and I'd like to get your guys comments please.
If I move "Texture.Loadtexture(...)" into the default constructor, it will not render (I can not see) the image that I loaded. (The function that loads the image returns "true" in both cases, so I know its loading.) Any ideas as to why its not rendering my image? (Trust me no "DECLARE_CLASS" macros, :P). In my "Main loop" class, I have to do the following:
Display All
I would like to get rid of the "Init(..)" in all my scene classes and just have the default constructor load any images, but again its not letting me put the "Loadtexture(...)" in the c_tor. I'm kinda stumped as to whats going on.
Sabrina
After 9 hours last night writting a particle class, I came across a problem in my project and I'd like to get your guys comments please.
If I move "Texture.Loadtexture(...)" into the default constructor, it will not render (I can not see) the image that I loaded. (The function that loads the image returns "true" in both cases, so I know its loading.) Any ideas as to why its not rendering my image? (Trust me no "DECLARE_CLASS" macros, :P). In my "Main loop" class, I have to do the following:
Source Code
I would like to get rid of the "Init(..)" in all my scene classes and just have the default constructor load any images, but again its not letting me put the "Loadtexture(...)" in the c_tor. I'm kinda stumped as to whats going on.
Sabrina