Jump to content

  • Log In with Google      Sign In   
  • Create Account


Game for Linux and Windows OSs


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
8 replies to this topic

#1 Yazaki   Members   -  Reputation: 100

Like
0Likes
Like

Posted 02 January 2012 - 11:45 AM

Hi. I would like to create a 3D game with my own built engine for Linux and Windows operating systems. Is it possible to do? If so, what kind of graphic library can support both systems?

Sponsor:

#2 Black-Rook   Members   -  Reputation: 1563

Like
1Likes
Like

Posted 02 January 2012 - 12:00 PM

If you make your game with Allegro, or SDL, you should be fine. There are several other libraries as well. Google cross platform libraries for your selected language.
GameDev Journal: http://www.gamedev.n...-rooks-journal/

OpenChess - 1.0 done!

Classic RPG #1 - Task 9 -> January 1st 2013

#3 Rakso   Members   -  Reputation: 120

Like
-1Likes
Like

Posted 02 January 2012 - 12:03 PM

The language called Python runs on both Linux and Windows.

But with the application called "Wine" for Linux you can also run C++ games or applications on Linux.

Wine is an application for linux that lets you run Windows applications so you can install games through wine too.
http://www.winehq.org/

#4 boogyman19946   Members   -  Reputation: 957

Like
-1Likes
Like

Posted 02 January 2012 - 01:56 PM

Just because the game is written in C++ doesn't mean it needs wine to run. There are plenty of cross-platform libraries that will not only run on windows and Linux but Macs as well.

OpenGL is cross-platform and I'm pretty sure you can use SFML and SDL to handle all the non-graphics stuff and windowing.
"If highly skilled generalists are rare, though, then highly skilled innovators are priceless." - ApochPiQ

My personal links :)
- Khan Academy - For all your math needs
- Java API Documentation - For all your Java info needs :D
- C++ Standard Library Reference - For some of your C++ needs ^.^

#5 Yazaki   Members   -  Reputation: 100

Like
0Likes
Like

Posted 03 January 2012 - 02:05 AM

I've decided to use SDL 1.3. Sorry, but i've a lot of simple questions. The first one: How to prepare Visual Studio Express 2010 project for using SDL 1.3? I mean, how to add libraries, includes and etc. Second one: how to build game on more than one OS (for Linux and Windows)? I know how to build on Windows, but is it possible to build both in one building process? If so, how then? Thank you.

EDIT: Just found answer to the first question (thank you tutorials).

#6 Black-Rook   Members   -  Reputation: 1563

Like
0Likes
Like

Posted 03 January 2012 - 02:33 AM

Check out Lazy Foo's tutorials.

http://lazyfoo.net/SDL_tutorials/
GameDev Journal: http://www.gamedev.n...-rooks-journal/

OpenChess - 1.0 done!

Classic RPG #1 - Task 9 -> January 1st 2013

#7 SimonForsman   Crossbones+   -  Reputation: 5462

Like
1Likes
Like

Posted 03 January 2012 - 05:08 AM

Second one: how to build game on more than one OS (for Linux and Windows)? I know how to build on Windows, but is it possible to build both in one building process? If so, how then? Thank you.

EDIT: Just found answer to the first question (thank you tutorials).

http://www.kegel.com/crosstool/

It requires cygwin if you want to build from Windows but you should be able to insert it into your IDE:s build process, Personally i'd recommend going with a cross platform IDE instead and just build the app separatly for each platform, you have to test it on all supported platforms anyway, running a virtual machine is a good idea.
I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

#8 Storyyeller   Members   -  Reputation: 212

Like
0Likes
Like

Posted 03 January 2012 - 07:55 AM

You don't have to use Cygwin. Mingw works too and has the advantage of coming with the Windows distribution of Code::Blocks and being supported by the Lazy Foo tutorials.
I trust exceptions about as far as I can throw them.

#9 SimonForsman   Crossbones+   -  Reputation: 5462

Like
0Likes
Like

Posted 03 January 2012 - 09:49 AM

You don't have to use Cygwin. Mingw works too and has the advantage of coming with the Windows distribution of Code::Blocks and being supported by the Lazy Foo tutorials.


Mingw only produces Windows binaries which isn't quite what the OP wanted. (He wants to make Linux binaries from Windows)
I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS