[Qt-interest] Fw: Graphics view or Paint system
Nehemiah Dacres
dacresni at slu.edu
Thu Aug 20 21:39:50 CEST 2009
but is it possible to extract the path information from the svg before
displaying it to the graphics view? I want to do a transform on certain sgv
layers before putting them on the graphics view to be moved around in an
animation. (better than the faked pixmaps of KOF12 )
On Thu, Aug 20, 2009 at 9:13 AM, Sean Harmer <
sean.harmer at maps-technology.com> wrote:
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Nehemiah I. Dacres
Secretary
Math and Computer Science Club
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090820/38208f80/attachment.html
More information about the Qt-interest-old
mailing list