Results 1 to 6 of 6
I am going to design some games for Linux/GNU using opengl and I need some hints as far as windowing goes. What does Linux/GNU use for window programming (not window ...
- 04-29-2008 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 12
Windowing API?
I am going to design some games for Linux/GNU using opengl and I need some hints as far as windowing goes. What does Linux/GNU use for window programming (not window as in the windows operating system)?
Is there an API for creating windows in linux? Like what win32 does for windows? Or is it best to program games in linux with the console?
Thanks
- 04-29-2008 #2
You'll be using the X Window system.
--
Bill
Old age and treachery will overcome youth and skill.
- 04-30-2008 #3
Right. At the most basic level, you could use Xlib, but it is very difficult to use, and not very pretty besides. Gtk and Qt are two very popular widget toolkits that live on top of Xlib that are significantly easier to program with.
Both Gtk and Qt provide tutorials on their websites, and you can probably google for an Xlib tutorial.DISTRO=Arch
Registered Linux User #388732
- 04-30-2008 #4
Well, I think you shall Google for OpenGL Linux tutorial and see what API those tutorials use.
- 04-30-2008 #5
Or, as an alternative:
That isn't necessarily best, but it would be really really really cool.Code:Or is it best to program games in linux with the console?
--
Bill
Old age and treachery will overcome youth and skill.
- 04-30-2008 #6
Ha, this makes me think about DOS games...LOL


Reply With Quote