Jump to content
  • Advertisement
Sign in to follow this  
Tegramon

OpenGL OpenGL and Netcode

This topic is 3651 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I want to start developing an engine in OpenGL and making it as much portable as possible on every system that supports the API. The problem is that i'm creating it on windows vista and the engine need to have absolutely netcode. If I use winsock to create the netcode I presume it wont be compatible with other systems. Any advice, should I use a special API or? Also, I want to develop tools for the engine, like a worldbuilder, what cross platform API should I use? And also, some advice from you guys, should I develop it on Win Vista or would be better suited for the job by other OS? And why did you chose that OS if you chose it over Win Vista. Also, the engine would have a physix module integrated into it, would C++ be suited well for this kind of calculations or C would be much faster?

Share this post


Link to post
Share on other sites
Advertisement
No offense, but I feel you might be in a bit over your head. But to answer your questions:
Use Enet, for example, instead of winsocks, although they're a lot like BSD sockets, which are plain universal.
Use FLTK for cross platform GUI (again, among others, I just prefer it).
I personally develop on vista. YMMV. Just don't use vista specific APIs without a fallback.

Share this post


Link to post
Share on other sites
Thanks for your help Starfox. I know im over my head, but I learn and advance. No one has ever done this ideea that I found in any game engine to date, so, time to start coding :)
I know C++ and some basic OpenGL, indeed, I remembered Beeje's Guide and what he said about Winsock's, and you are right. Thanks again for the info!

Share this post


Link to post
Share on other sites
You could always use the standard socket funtions : send, recv, bind, connect.
For physics, use some already created engine like ODE, Newton, Bullet, ...
For some worldbuilding, GTK, GTK+.

Good luck!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!