Results 1 to 9 of 9
What I want to do is create a game like an old DOS game, but on the debian linux console. I don't know much about linux yet, but I know ...
- 09-25-2010 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 11
Programming a game for console
What I want to do is create a game like an old DOS game, but on the debian linux console. I don't know much about linux yet, but I know C. What would be the best library for doing something like this?
- 09-25-2010 #2Linux Newbie
- Join Date
- Mar 2010
- Posts
- 121
Depends on what you really want. If you want a pure console game, the ncurses library is probably what you should go for - there are plenty of tutorials on the web.
- 09-25-2010 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 11
What about for games like Doom and Castle wolfenstein?
- 09-25-2010 #4Linux Newbie
- Join Date
- Mar 2010
- Posts
- 121
SDL provides a fairly complete and cross-platform library for doing general game "stuff" - you can even check out prboom, a complete Doom clone written using it.
- 09-25-2010 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 11
Oh I didn't realize that you could use SDL on the console, thanks.
- 09-26-2010 #6Linux Newbie
- Join Date
- Mar 2010
- Posts
- 121
- 09-26-2010 #7Just Joined!
- Join Date
- Jan 2008
- Posts
- 11
I mean like if I press ctrl-alt-F1, that kind of terminal I guess.... Sorry I'm bad at explaining this stuff
- 09-26-2010 #8
you couldn't run doom or wolfenstein on those, as they require graphics framebuffer
if you are running console only, you will need to use something like ncurses as previously suggested
- 09-27-2010 #9Just Joined!
- Join Date
- Jan 2010
- Posts
- 12
ncurses will be a great help to you for a game like space invaders


Reply With Quote
