• Advertisement
Sign in to follow this  

ASCII C++ Graphics Library

This topic is 407 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 was looking back the other day at my terrible old console based ASCII games and thought "Hey, I wouldn't mind making a good one now." Only issue is I want to avoid the console and there are no libraries that offer good text based libraries that I know of (although that would be great). If anyone has any suggestions I'd be glad to take them. I am a c++ programmer mainly so..
Thank you

Share this post


Link to post
Share on other sites
Advertisement

I've never heard of lib that imitates the console.The easiest way would be using SDL glyph library.Pick a size , prerender all the glyphs you need and then implementing the rendering engine should be easy.

Share this post


Link to post
Share on other sites

I am absolutely in favor of you making a good one.

 

While that idea strikes my own mind from time to time, i remembered this sweet tool i once found while looking up stuff one of those times.

Check out REXpaint, and also this page has some links to libraries people use in combination with it.

http://www.gridsagegames.com/rexpaint/resources.html#Libraries
While much of this isn't truly console, but rather rendered ASCII, i think it might still be interesting.

Share this post


Link to post
Share on other sites
I will probably end up using an SDL glyph library in the end as I really do not like the windows GDI. Thank you for your responces though. I will also look into Rex paint, although for this purpose I will probably make my own just for fun.
Thank you.

Share this post


Link to post
Share on other sites

Are you already familiar with PDCurses? http://pdcurses.sourceforge.net/ That is probably the most commonly used for things like roguelikes. There appears to be a more win32 centric version as well: http://www.projectpluto.com/win32a.htm

 

Using SDL might be just as reasonable at this point, though.

 

Good luck!

Geoff

Share this post


Link to post
Share on other sites

Yeah just make your own. It's essentially just a tilemap, with your tiles being each glyph. May want to take advantage of that to do Unicode as well (getting access to a lot more of useful glyphs in the process). The downside is that you'll have to provide the glyphs =P (I have a bunch from an old project, 16×16 per glyph though)

Share this post


Link to post
Share on other sites
I have taken to making my own using SDL actually, and I had good results and okay speed. I created a loadable/saveable image/color format.
I have also taken a look at pdcurses, and decided against it mainly because I really want resizable text. Also, I already have another library similar that I like use to make rougelikes.
Thank you for your help.

Share this post


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

  • Advertisement