[Kde-games-devel] Kapman
Aaron J. Seigo
aseigo at kde.org
Fri Mar 21 20:29:56 CET 2008
On Friday 21 March 2008, Ian Wadham wrote:
> the X-server, for example. Also try exporting QT_FLUSH_PAINT
> and observing how much of your view is being re-painted.
the only unnecessary repaints i see is that on every pellet eaten not one is
the score repainted, but the number of lives and the level. really, only the
number next to the Score: label needs to be. so it's not a large area, but
those repaints are completely unecessary.
the attached patch fixes that, and also changes the ItemIndexMethod to NoIndex
in the scene which is more appropriate for non-static scenes.
yes, i am feeling slightly bored and unmotivated today.. it is easter holiday
after all ;)
> using QGraphicsView or KGameCanvas or QPainter direct?
QGraphicsView
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: small_kapman_improvements.diff
Type: text/x-diff
Size: 4267 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080321/d2541268/attachment.bin
-------------- 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/20080321/d2541268/attachment.pgp
More information about the kde-games-devel
mailing list