🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
ASCII C++ Graphics Library
Thank you
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.
https://msdn.microsoft.com/en-us/library/windows/desktop/dd144925(v=vs.85).aspx + OEM_FIXED_FONT
https://msdn.microsoft.com/en-us/library/windows/desktop/dd162957(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/dd145133(v=vs.85).aspx
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.
Thank you.
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
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)
You might try libtcod.
--- Official D Blog | Learning D | The One With D | D Bits
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.