Thread: Here is a Screenshot of my GUI for my RPG

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    89

    Here is a Screenshot of my GUI for my RPG

    Simple I know...but it is a start.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Ugh. Use a window (or a real GUI), if you can.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    What do you mean by real GUI? (wxWidgets, Qt) those take experience to use. I dont have MSVC++ Standard so I cant use MFC.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    A window. The typical thing you see everywhere in your OS. It doesn't matter what you use, be it wxWidgets, Qt or MFC. Just don't use a dos prompt - because the results are, as you see... ugly, to say the least.
    Real professionals (or games designers) tend to use DirectX (or Direct3D) to do graphics, but that's probably overcourse...
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    oops...forgot the disclaimer
    /**********************************
    * I am not a real professional nor a games*
    *programmer. I am just a novice learning *
    * how to program*/


    Actually I think I will stick to a console window. I am not planning any graphics, so I believe a graphics api is a little overkill.
    Last edited by eaane74; 12-13-2007 at 02:04 PM.

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    But you are using graphics. And it doesn't look pretty.
    Everything will look better outside the dos prompt. It wasn't designed for graphics.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    Granted the graphics suck...But I would really like to steer away from real graphics and focus on the programming part.

  8. #8
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    The console is fine, but I'm not a big fan of the green background. Perhaps a different colour?

  9. #9
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Perspective View Post
    ...but I'm not a big fan of the green background. Perhaps a different colour?
    Seconded.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #10
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    I could...there arent a whole lot of options though.

  11. #11
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    After a little more effort...

  12. #12
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    It's quite well done, for a console program. You can't get much better than that.

    Something you might consider is something like T.O.M.E. does. You use a graphics window, so you can have graphics if you need them -- but most of the time you just use text. Use a bitmap font, and it probably wouldn't be much more complicated than ordinary console programming.

    Have you read the book Epic by Conor Kostick by any chance? http://www.amazon.com/Epic-Conor-Kos...7579537&sr=1-2
    It's about an RPG called Epic . . . not that it's an uncommon name or anything.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  13. #13
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Looks better, but still looks very poor. But that's what I guess you get for using a dos prompt.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    Have you read the book Epic by Conor Kostick by any chance? http://www.amazon.com/Epic-Conor-Kos...7579537&sr=1-2
    It's about an RPG called Epic . . . not that it's an uncommon name or anything.
    No I havent. Though I should probably read an RPG book. The title for my game is Soldier of Fortune...but thats too big to put in the window. I needed an easy four letter word.

    I was thinking of using bitmaps and may do so later...there are plenty of resources on the internet in that regard. Right now I want to focus more on collison detection (using an ASCII map) and AI. Thats why I decided on a RPG...simple and fun to create.

    BTW can I load a bitmap in a console window or do I need a REAL Window for that.

  15. #15
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    FWIW that large blank gray space on the left is where the ASCII map will go. I just havent got that far yet.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem
    By ExDHaos in forum C++ Programming
    Replies: 12
    Last Post: 05-22-2009, 04:50 AM
  2. Clockwork screenshot - GUI
    By psychopath in forum Game Programming
    Replies: 17
    Last Post: 03-20-2006, 05:40 PM
  3. .NET And GUI Programming :: C++
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 01-27-2002, 04:22 PM
  4. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 03:22 PM
  5. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM