Jump to content
  • Advertisement
Sign in to follow this  
infernapelover

drawing a rectangle for text

This topic is 2298 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

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

Share this post


Link to post
Share on other sites
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#.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!