Hello Hans,
Thank you very much. Very kind of you to try my game. Yes, I've considered a
double-buffering technique and I think I am making a small reference to it in my download
page article and my reasoning against its use in this particular program.
I think I am going to ditch the XLib idea and try to do everything with wxWidgets because
that will be easier to implement Window-control operations that Mike has mentioned needs
work, and this game also needs to have menus and preferences if it has a chance to have
any public exposure. Thank you again, I still have a lot of work ahead of me.
Thank you,
Victor.
Hans de Goede <j.w.r.degoede(a)hhs.nl> wrote:
Victor Skovorodnikov wrote:
Hi Mike,
Awesome feedback, thank you very much. Just exactly what I needed. Yes, screen flickering
is something I've been working on recently as I am relying on a lot of XClearWindow()
calls to redraw images. It didn't flicker as much on my end after I did some
adjustments on my system but that's why it was important for me for someone else to
try it out to get this feedback. I'll definitely make it work better.
What you should do is create a pixmap (XImage), and do all the drawing /
clearing there then call XPutImage to drop it on the screen in one call,
or multiple calls if you want to optimise and only update a fre
rectangular areas. After the XPUtImage call XFlush, then all should be well.
Regards,
Hans'
_______________________________________________
Fedora-games-list mailing list
Fedora-games-list(a)redhat.com
http://www.redhat.com/mailman/listinfo/fedora-games-list
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.