Sign in to follow this  
zensunnione

Simple Linux Game graphical output.

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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this