Question about outputting

I want to make a game similiar to dwarf fortress (if you dont know what it is, google it, great game) but a single survivor game, and I already know how i could do it buuuut there is one problem. In a console/command line (w/e its called) program, the characters outputted are not perfect squares, this pisses me off. A 15x15 map would be about 6 times as tall as it is wide. Is there a way to fix this, or a different coding language or technique? thanks

Ex.

0000000
0000000
0000000
0000000 This is not perfect square, but is 7x7. Thats my problem.
0000000 I cannot stand this :(
0000000
0000000
That's just how it is, Dwarf Fortress has the same "problem".
Use a 2D library such as SFML. That'll allow you to use whichever shape you want.
Actually no, they have an option that fixes that problem. i want to know how to do whatever it does
plus, i dont know what sfml/2d library is, i kind of only know intermediate coding stuff
You can get the tiles you want here -> http://df.magmawiki.com/index.php/Tileset_repository#Square_tilesets

But in order to draw them on the console, you need to know more than intermediate
coding stuff, so it's probably better to go with a 2D library as suggested above.

Useful link -> http://cplusplus.com/articles/G13hAqkS/
Last edited on
will that work for vb 2010 express?
SFML will work, yes. Assuming you meant Visual Studio.
yes, thats what i meant. and i got it on there, now i just have to learn how to use it XD
Topic archived. No new replies allowed.