Jump to content

View more

Image of the Day

The beast has a mighty searchlight of evil! #screenshotsaturday https://t.co/bzKepOojDL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

drawing a rectangle for text

4: Adsense

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   

161
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

#2 Lightness1024   Members   

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