quote:
How do I space out the text I have on the same line?
#include <sstream>
std::stringstream ss;
ss << "Score: " << iScore;
dc.DrawText(ss.str().c_str(), ...);
quote:Also how do I update the score?
I haven't used
DrawText()
before, but I would guess that you redraw it in the update part of your main game loop.[ Google || Start Here || ACCU || MSDN || STL || GameCoding || BarrysWorld || E-Mail Me ]
[edited by - Lektrix on May 28, 2003 6:23:02 PM]