[Kde-games-devel] best class to use for drawing unmanaged graphics?

Matt Williams matt at milliams.com
Tue Apr 15 21:26:54 CEST 2008


On Tuesday 15 April 2008 20:05:11 Matthew Woehlke wrote:
> Albert Astals Cid wrote:
> > A Dimarts 15 Abril 2008, Matthew Woehlke va escriure:
> >> What's the best way to do a game that draws a whole bunch of pixmaps if
> >> I prefer to do the scene management myself? I know of QGraphicsScene
> >> (not my first choice), KGameCanvas (can't find documentation?), and good
> >> old drawPixmap().
> >
> > If you want to do management yourself i think QPainter is the best way.
>
> Is KGameCanvas "dead" then? Otherwise, where would I find information on
> it?

The second google hit for "KGameCanvas": 
http://myrizio.wordpress.com/2007/07/31/putting-kgamecanvas-to-sleep-forever/. 
Basically, QGraphicsView is 'good' now so there's no need for KGameCanvas.

Regards,
Matt Williams

> Will raw QPainter be acceptable speed-wise for full-screen animation? Or
> will one of QGraphicsScene, KGameCanvas, etc perform better?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080415/7fdd6e3a/attachment.pgp 


More information about the kde-games-devel mailing list