Results 1 to 4 of 4

Thread: Help with Board Game!

  1. #1
    Join Date
    Mar 2007
    Posts
    31
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11

    Unhappy Help with Board Game!

    Well, I need to make a card game like FreeCell, Solitaire or Poker, using C++ and Qt4.
    I have made the class design and some implementations, but I don't know which QT4 component should I use to do the board with the cards inside?
    The cards will be pictures , and the user can select some of them.

    Thanks!!!

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Help with Board Game!

    One option could be to use the graphics view framework.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    drake1983 (8th July 2007)

  4. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Help with Board Game!

    Definitely QGraphicsView! It has selection, scaling, scrolling, animation, drag-n-drop, etc. The only minor "drawback" is that graphic items are not QObjects (to keep them lightweight), so you can't make connections to them.

  5. The following user says thank you to Brandybuck for this useful post:

    drake1983 (8th July 2007)

  6. #4
    Join Date
    Mar 2007
    Posts
    31
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Help with Board Game!

    Thanks to everybody for the answers!!! I will take a look to the QGraphicsView framework, it seems to be very powerful.

Similar Threads

  1. Just for fun game
    By vermarajeev in forum Qt-based Software
    Replies: 6
    Last Post: 13th December 2007, 21:52
  2. Making 3D controls in QT, implementing a game loop in QT
    By smurrish in forum Qt Programming
    Replies: 10
    Last Post: 26th April 2006, 04:37
  3. Deployment of Application to freescale board
    By AP.Sakkthivel in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 26th April 2006, 04:17
  4. Image for Board
    By AP.Sakkthivel in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th April 2006, 09:47

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.