Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


I've mostly been working on trimming down cConsole, but a new addition to the list of functions is setBG(char color);, which allows you to set an overall background color. Basically, you call setBG before you do anything (unless you want a black BG) and you start with a background of that color. Then, you can call output with either a value with only the foreground (0x0F for white foreground), and it'll OR the background with the foreground, or you can pass a background and foreground value (0xAF) and it'll override the setBG value.

I've also removed the flush boolean paramater from output, and added a flushBuffer() function, to make it easier to use output() properly.

Also, I've uploaded a new version of Arenamatic, complete with cConsole[.h/.cpp]. It's at the same link as usual, just above this post.

EDIT: The 'cyan' colored cConsole entry up top is just a temporary color I added to at least show I've been working on something. [wink]

EDIT2: What's with tags not working?
Sign in to follow this  

1 Comment

Recommended Comments

Try not to worry too much about the implementation. It is a very simple project once you get down to it and when you complete it you'll wonder why it was so hard (I did anyway). A lot of people say "you cant make a game engine before you make a game," and I'm inclined to agree.

Anyway, good luck =) And thanks for commenting on mine. I'm definitely going to make a more robust console output class for project 2.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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!