# Here is a Screenshot of my GUI for my RPG

Show 80 post(s) from this thread on one page
Page 3 of 3 First 123
• 12-14-2007
Elysia
Btw, itoa is not standard so it's best to steer away from it.
• 12-14-2007
VirtualAce
Quote:

...you'll have what the vast majority of amateur programmers don't: an actual playable game.
Hehe. :D That includes us does it not Bob? I have more of what I would call really fancy tech demos. I get so caught up on new algorithms or wanting to try this or that I totally lose the whole 'finished game' concept. Oh and I'm a 'professional' programmer now but I'm still an 'amateur' game/tech demo programmer. :D

@ the OP:
I say this GUI is a great start to a very doable (if that's a word) and playable game. Keep up the work and let us know how it's progressing. And kudos to you for realizing what is really important in a game. If you learn the underlying fundamental concepts the sky is the limit.
• 12-15-2007
dwks
Quote:

Originally Posted by eaane74
dwks:

By "cache" do you mean:
Code:

```COORD SetPosition(COORD Position, int x, int y) {     COORD old_Position = Position;         Position.X = x;     Position.Y = y;     SetConsoleCursorPosition(m_Screen, Position);     return old_Position; }```
I know some Window functions do do something like that, most notably SetTextColor

I was thinking of something more like this:
Code:

```static int last_x_pos = 0, last_y_pos = 0; void SetPosition(int x, int y) {     COORD Position;         Position.X = x;     Position.Y = y;     SetConsoleCursorPosition(m_Screen, Position);     last_x_pos = x;     last_y_pos = y; } void SetXPosition(int x) {     SetPosition(x, last_y_pos); } void SetYPosition(int y) {     SetPosition(last_x_pos, y); }```
It doesn't matter too much, though.

Though you'd probably use a class instead of global variables in C++ . . . .
• 12-16-2007
Shamino