Jump to content
  • Advertisement
Sign in to follow this  
zensunnione

Simple Linux Game graphical output.

This topic is 3758 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'd like to take a baby-step in graphical output by making an ascii console game, or something very simple like that. What linux libraries would I be using to create a window that you can take charge of size and characters (maybe even pixels), and output what you want? I'm just new to C++ and I'd like to go beyond text games. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
If you want to do an ASCII game you probably want Ncurses or something similar.

For actual graphics you could try SDL or SFML, or similar libraries.


Note that I'm a Windows user and havn't tried the Linux versions of any of the above, someone more experienced with the platform may be able to give you more advice on how good these libraries are on a linux machine.

Share this post


Link to post
Share on other sites
id definitely say SDL is the way forward for a next step. easy to get up and running under Linux as well

Share this post


Link to post
Share on other sites
I think I'll try ncurses for now. Does anyone know how to set ncurses up on the g++ compiler? I couldn't find a way to install. I'm using Fedora Core 8.

Thanks.

Share this post


Link to post
Share on other sites
Since your flavor of choice is C++, I'd give SFML a shot when you get to graphics. Despite its lack of maturity as a library, it shows some definite promise and works very nicely with Linux.

It has other language bindings, too, though I can't comment on how nicely those work out.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!