drawing a rectangle for text

Started by
0 comments, last by Lightness1024 11 years, 7 months ago
Im working on an rpg sort of game with standard c++, console application. Im working on the combat part of it.
I want a rectagle that tells you the stats,
i want a rectangle that tells you the damage done to the opponent,
Finally, i want a rectangle that tells you the monster your going against


How exactly can i do this?


Thanks in advance
Advertisement
hm, you could checkout conio library (or ncurses for unix), there is somekind of SetPos function to place the curret, so you can "printf" the text at the position you want. reprint over it will update it.
but if you are at this stage in terms of question, I will propose to use a language with more graphic assistance, like dark basic or pygame library, or even C#.

This topic is closed to new replies.

Advertisement