Sign in to follow this  

Simple Linux Game graphical output.

This topic is 3570 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
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
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

This topic is 3570 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.

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