First up let me say I am new to Gamedev, I hope this is in the right section, if not, please let me know. Second up, I have not been coding that long, at least in C++.
My dilemma is that I am not sure if what I am doing is that feasible, since I'm running in to mountains of problems the more I try. I had an idea of having SDL running within a class, and passing any and all surfaces to that class to be handled, leaving the main() function for the calculation and movement of characters, and all that sort of thing. The more I seem to try, the more complicated and broken this seem to be. Example, my flatterAndRender function.
I have in place, in a System class, two SDL_Surfaces to start with. layer1, and buffer. I was going to have main() create surfaces, pass them to the System, and have flattenAndRender blit the layers on to the buffer in succession, though this is leading to errors with my pointers and just a huge mess. What is the best way to go about having a System class? I feel like I'm going about this the wrong way.
Hope you guys can *me in the right direction. xD
I actually feel kinda bad for that joke.
ThomasuDesuMember Since 29 Jan 2012
Offline Last Active Feb 07 2012 05:38 AM
- Group Members
- Active Posts 1
- Profile Views 422
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
ThomasuDesu hasn't added any contacts yet.
No latest visitors to show