Skip to main content
gamedev.net
🔒 Locked

Multiple Libraries

Started by zike22 Feb 18, 2005 at 3:36 PM 1 replies 650+ views
Original Post
zike22
zike22
Can you use multiple libraries in a single application/game. Am I able to use DX9 and Allegro in one game??
------------------------------------------------------------------------------------------- My Email: [email=zike22@aol.com]zike22@aol.com[/email] - My AIM: zike22@AIM
"Facts are chains that bind perception and fetter truth. For a man can remake the world if he has a dream and no facts to cloud his mind." - The Emperor, WarHammer 40K
FerretallicA
FerretallicA
Yes, in fact it's almost a standard practice. It is nothing unusual for a single project to use DirectX/OpenGL to provide access to graphics hardware, an abstraction layer like Allegro/SDL/Ogre3D/Crystal Space/etc to simplify interaction with the graphics API and windowing API, OpenAL/FMod/etc for sound, Newton/ColDet/etc for collisions, etc etc etc. You get the idea.

In general just make sure you know what any given library is intended for and don't use libraries that perform conflicting tasks. For example you can provide both DirectX- and OpenGL-based rendering for a game but you generally wouldn't allow both to be used at any given time.
Intelligence is only a state of mind.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.