Jump to content
  • Advertisement
Sign in to follow this  
moeen k

changing platform on sdl

This topic is 1494 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. im working on some tutorials on c++ opengl and sdl. those tutorials are on eclipse and i think its on linux because as i heard sdl just works on unix platforms like linux. is it possible to work on it on windowss and visual studio? is the code diffrent or just the same? and for more question can i work with opengl and directplay or winsocket as base windows net library or just direct3d is pissible? thank you

Share this post


Link to post
Share on other sites
Advertisement

SDL and OpenGL are supported in Windows too and you can configure Visual Studio for that. The code should be the same, but if you use OpenGL only you'll need the Windows API to handle windows and user I/O.

Share this post


Link to post
Share on other sites

is network and socket programing part of a sdl or its just about input and sound? what is the diffrence with openAL. what are our network api,s on diffrent platforms?

Share this post


Link to post
Share on other sites

You can handle sockets and other thing to do concurrent and distributed programming with SDL. I've never used openAL, but I think it's an audio library. You can handle audio with SDL too, but maybe openAL is better for that, I don't know.

 

I'm not sure what you mean with "our network apis on different platforms", but you can use the network in a lot of ways, maybe you should be more specific in what you want to do and your target platform (not your development one).

 

Don't mean to be rude, but it sounds like you're new to programming in general, so maybe you should reconsider starting with sockets and networks, it's a really complex subject even for simple games.

Edited by DiegoSLTS

Share this post


Link to post
Share on other sites

not in programming but in network programing yes. im still searching on internet that what is best api and tools for starting on network. now im searching on bsd too and i know there is winsocket too but idont know which to work.

Edited by moeen k

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!