Sprites and Animation
- From: Jan Kellmer <a36 informatik hs-bremen de>
- To: gnome-list gnome org, gtk-list redhat com
- Subject: Sprites and Animation
- Date: Thu, 22 Oct 1998 08:54:40 +0000
Hi there,
I'm porting a windows app to Linux, Using gtk+/imlib and (later)
gnome. For this application I need to move smoothly some pixmaps
loaded by imlib. What's the best way to do that?
Currently I wrote a little program (heavily based on Rasters imlib
examples), that sets the background pixmap and then (in the
event-loop) I set the background-pixmap again, clear the window
and paste the sprite with gdk_imlib_paste_image. It's flickering
like hell and the processor load goes to 100%. I'm sure there is a much
better way to do things like that.
Jan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]