From kde-games-devel Tue Nov 27 00:09:41 2001 From: Johnny Andersson Date: Tue, 27 Nov 2001 00:09:41 +0000 To: kde-games-devel Subject: [Kde-games-devel] QCanvas sprites X-MARC-Message: https://marc.info/?l=kde-games-devel&m=100681977711411 I'm using a lot of sprites and I'd like them all to share a pool of frames. What I'd like to know is, does my approach waste cpu or memory? Here's what I'm planning to do: I have a static QCanvasPixmapArray with a lot of frames. I set all my sprites to use that array, which means all sprites have "access" to all frames. Not all sprites _need_ to be able to use all the images in the QCPA, but if there's no performance penalty, it'd make my program simpler. _______________________________________________ kde-games-devel mailing list kde-games-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-games-devel