Archived

This topic is now archived and is closed to further replies.

Big Cheez

Need help with Elimanating Support Code

Recommended Posts

Big Cheez    122
Note: This seemed like a basic question so I posted it here. If it''s not, tell me and I will post it in C/C++ forum. Ok, to the meat. Keeping it simple, I have an fps with game objects simply being instances of classes. Ideally, I''d like to drop an instance of the PlayerAvatar class into the program and have it automatically call its main loop, rotate the screen, translate the screen, yada yada yada, but currently I have to rotate and translate the screen based on its position and orientation and call its main loop. Please help! BTW eliminating support code goes for all my classes, and I haven''t posted any code because I figure it''s a pretty general problem.

Share this post


Link to post
Share on other sites