I'm making a Pac Man style of game (at least those are my intentions as of now) in console mode, and I'm trying to find special characters to use. The plain, basic characters of
just aren't cutting it. I know of only one way to do a special character, and I know there are more by screwing up badly on applications before. Here is how I create my special character:Code:X * $ o etc...
This outputs a yellow smiley face onto the screen. To change the color of the smiley face, simply change the number of 6 to whatever number-to-color representation you want.Code:char b; b = SetConsoleTextAttribute (GetStdHandle(STD_OUTPUT_HANDLE), 6 | FOREGROUND_INTENSITY); cout << b;
Please post some of the ways you know how to get a special character or else my pac man game is going to be bla!
Btw, just to let everyone know, my game is going to have a random map editor so that means hours of pac man fun for everybody!