Jump to content

  • Log In with Google      Sign In   
  • Create Account


drawing a rectangle for text


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 infernapelover   Members   -  Reputation: 160

Like
0Likes
Like

Posted 28 August 2012 - 03:04 PM

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

Sponsor:

#2 Lightness1024   Members   -  Reputation: 736

Like
0Likes
Like

Posted 28 August 2012 - 05:15 PM

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#.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS