Results 1 to 2 of 2

Thread: Forum introduction + approach to game GUI?

  1. #1
    Join Date
    Jan 2013
    Location
    CZ
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Forum introduction + approach to game GUI?

    Hi,

    I'm new here and more or less also to Qt in general. I've recently started working on a project involving porting a board game for PC's. Obviously I'm going through tutorials and lookign for useful books, but here's the catch - As I'm making a game, the classic approach to GUI won't work for me and being a borad game, the whole thing will basically be just composed of GUI elements, no animations. From start I want a GUI with custom elements and layout, including the main menu of the game, the way games usually look... I'm sure you get the idea.

    So my first questions on these forums are of a general nature:
    1) does Qt offer any elements suited for creating these custom GUIs or does everything have to be handled by manual painting? e.g. graph scene
    2) could you recommend some literature suited for this purpose? I have C++ GUI Programming with Qt 4 (2nd Edition), is it relevant to this kind of project?

    3) Is it possible to make the game window scaleable within reasonable effort? Say I choose a fixed ratio, probably 16:9, and then let the user resize the game window as he wishes... failing that, what would it take to make such a simple game able to switch between a few select resolutions?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Forum introduction + approach to game GUI?

    Quote Originally Posted by Borghal View Post
    1) does Qt offer any elements suited for creating these custom GUIs or does everything have to be handled by manual painting? e.g. graph scene
    Yes. Have a look at QtQuick.

    2) could you recommend some literature suited for this purpose? I have C++ GUI Programming with Qt 4 (2nd Edition), is it relevant to this kind of project?
    I'm afraid currently you're forced to use online materials. There is no book on QtQuick, I'm afraid.

    3) Is it possible to make the game window scaleable within reasonable effort? Say I choose a fixed ratio, probably 16:9, and then let the user resize the game window as he wishes... failing that, what would it take to make such a simple game able to switch between a few select resolutions?
    Yes. QtQuick will take care of all that.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Member Introduction
    By daedalus0x1a4 in forum General Discussion
    Replies: 0
    Last Post: 29th June 2010, 03:32
  2. Replies: 1
    Last Post: 22nd May 2010, 08:38
  3. Welcome to the ICSNetwork presentation of Introduction to Qt
    By glebovitz in forum Introduction to Qt
    Replies: 0
    Last Post: 22nd April 2008, 18:01
  4. Replies: 1
    Last Post: 13th December 2007, 07:40
  5. QWT introduction
    By nitriles in forum Qwt
    Replies: 4
    Last Post: 28th September 2007, 11:48

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.