Jump to content
  • Advertisement

Archived

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

tantus

multi-platform api's

This topic is 6928 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

i am looking for some multiplatform api''s, i need to do sound and mouse input, i will most likely use OpenGL for the Display. The language of prefrence is C, as i would like to cut down on as much redundant code as i can. any and all help is appreciated, -Tantus.

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by tantus
i am looking for some multiplatform api''s, i need to do sound and mouse input, i will most likely use OpenGL for the Display. The language of prefrence is C, as i would like to cut down on as much redundant code as i can.



You might start by telling everyone what platforms you intend to target

I think if you can find a multi-platform sound engine, doing the input yourself wouldn''t be too tough. The other big nasty one is networking for multi-player, but sounds like you don''t need that.

There is an article on Gamasutra that you would find useful: Simultaneous Cross-Platform Game Development.

Sorry, I don''t actually know of any APIs....

Hope this helps,

- n8




nathany.com

Share this post


Link to post
Share on other sites
BZFlag has sound, mouse, network, and graphics support, and it supports Windows 95/98/NT/2000, Irix, Linux for i386 and PPC, and Solaris. It also is completely open source, so you might want to take a look there.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Maybe you could take a look at SDL (it''s under the LGPL license) (http://www.devolution.com/~slouken/projects/SDL/index.html)

I''ve used it before and I think it is really great. (it''s even used by some commercial games ported to Linux by Loki)

Share this post


Link to post
Share on other sites
sorry guys.

intended operating systems are the normals
linux, win (of course), mac, and possibly be.

again guys, thanks for the help.

Share this post


Link to post
Share on other sites
Hi, I''ve been using ClanLib. (www.clanlib.org)

It''s Open Source (LGPL), supports Windows, Linux (fairly heavily), and Be. They''ve tweaked it so that you can use OpenGL with it fairly easily, and they are still working on improving it.

It''s in C++ though... (that and they haven''t finished Mac porting since no one on the list has a Mac)

Dark Lord Pi

Share this post


Link to post
Share on other sites
For the mouse input, you might consider using GLUT (since you are using OpenGL already.) It provides nice, simple input methods for Windows, Linux, Mac, and maybe Be (I think.) If you need more info, just let me know. There was also an intereasting sound library called XAudio. I can''t seem to find the link and I haven''t used it yet, but it looked interesting and claims to be cross platform.

Check out the GPI project today!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!