[Qt-interest] Fw: Graphics view or Paint system

Sean Harmer sean.harmer at maps-technology.com
Thu Aug 20 16:13:36 CEST 2009


Hi,

On Thursday 20 Aug 2009 14:39:20 Patric wrote:
> I see...
> but is it possible to create a board game using QGraphicsView ?
Yes of course. Just derive your custom sprites from QGraphicsItem (ie 
ChessBoardItem, ChessPieceItem) and add them to a scene and animate them as 
needed. Then connect one or more views to the scene. You could even use SVGs 
to make your chess sprites scalable.

There are plenty of chess engines that you can integrate with for the hard 
stuff. Visualisation using QGraphicsView should be quite easy.

Sounds like a nice project.

Sean

>
>
> ----- Original Message -----
> From: "AK" <qtbond007 at gmail.com>
> To: "Patric" <userqt at gmail.com>
> Sent: Thursday, August 20, 2009 1:38 PM
> Subject: Re: [Qt-interest] Fw: Graphics view or Paint system
>
> > GraphicsView will handle the selection, drag, drop and other UI
> > related features so that you can focus on the core implementation of
> > the game.
> >
> > 2009/8/20 Patric <userqt at gmail.com>:
> >> Something like chess, actually...
> >>
> >>
> >> ----- Original Message -----
> >> From: Patric
> >> To: qt-interest at trolltech.com
> >> Sent: Wednesday, August 19, 2009 9:10 PM
> >> Subject: Graphics view or Paint system
> >> Hi guys,
> >> I have to create one little turn based game here. What would be best to
> >> be
> >> used, the Paint system
> >> http://qt.nokia.com/doc/4.5/paintsystem.html
> >> or the Graphics View
> >> http://qt.nokia.com/doc/4.5/graphicsview.html
> >>
> >> What's the difference between these two core features ? They both are
> >> used
> >> for painting, right ?
> >>
> >> Regards,
> >> Patric
> >> _______________________________________________
> >> Qt-interest mailing list
> >> Qt-interest at trolltech.com
> >> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list