Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 An octree class
Index -> Programming, C++ -> C++ Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
CodeMonkey2000




PostPosted: Wed Nov 26, 2008 12:09 am   Post subject: An octree class

Alright, for the main program use the arrow keys to move around, space to shoot, and if you are using an octree, press 'u' to update the frustum (by default everything is in it, so it draws everything) and click to see the bounding boxes. For the editor, use '+' and '-' to cycle through floors, and press escape to save/quit.

I spent a fair bit of my summer doing this, I plan to add AI soon. I need to rewrite a lot of stuff because it's so messy.



octree.rar
 Description:
Updated Version

Download
 Filename:  octree.rar
 Filesize:  1.21 MB
 Downloaded:  488 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Wed Nov 26, 2008 10:35 am   Post subject: RE:An octree class

The source code loses some points for inconsistent naming style.
CodeMonkey2000




PostPosted: Sat Dec 06, 2008 10:48 pm   Post subject: RE:An octree class

There were a bunch of parts that were rushed. And I updated the game, it now has a camera class which you can use to roam around the world. Now I need to clean up the code.

Can this be considered a game engine yet?
Display posts from previous:   
   Index -> Programming, C++ -> C++ Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: