Network Game Skeleton - free, well-commented source code!
Posted: Tue Mar 27, 2007 3:17 pm
Download the Source (6 MB)
View the Documentation
I dug up some old source code that I had created almost a year ago now, and tweaked it a bit so all of you who want to have a look at a real, working networked 3d application can do so. This project contains:
Now, for the disclaimer. This source doesn't have any kind of chat capability, items, weapons, terrain (other than a flat sheet of grass), etc. Essentially, it has no content--but the core of the application is there for you to tinker with, and add on to.
Also, you might find that the server code isn't too well documented. Most of the documentation for this code can be found in the source files itself--I have yet to go through and add comments to all of the function declarations in the headers.
Enjoy! I'd love to hear from anyone who finds this useful
Karl
View the Documentation
I dug up some old source code that I had created almost a year ago now, and tweaked it a bit so all of you who want to have a look at a real, working networked 3d application can do so. This project contains:
- Fully-functional client
- Fully-functional server (yes, it works over the internet)
- Support for up to 16 players simultaneously (although this is only limited by a #define statement)
- OPTIMIZED, ANIMATED .X MESHES!
- DirectInput keyboard and mouse recognition
- Camera control
- Only ~3500 lines of code
- Simple, funtion-oriented design
- Complete online documentation (also included in download)
- Precompiled demos in the /Bin/ directory
Now, for the disclaimer. This source doesn't have any kind of chat capability, items, weapons, terrain (other than a flat sheet of grass), etc. Essentially, it has no content--but the core of the application is there for you to tinker with, and add on to.
Also, you might find that the server code isn't too well documented. Most of the documentation for this code can be found in the source files itself--I have yet to go through and add comments to all of the function declarations in the headers.
Enjoy! I'd love to hear from anyone who finds this useful
Karl