... the canvas type widget, gives you persistence of objects..... and that makes programming easier, because you move your widgets around as entities, not just screen shapes
.... the other thing to consider is rotations, zooming, and semi-tranparencies
..... in Tk, you need to write your own rotations and zooms....no transparencies....there are examples previously posted....google for them
..... the Gnome2::Canvas is stable, but being deprecated , because it is not a full member of the GLib object system for Gtk2
.... the Gtk2 Goo::Canvas looks very promising, but is still in sort of beta development, and is missing many easy to use features
..... that leaves Tk::Zinc , as the best canvas alternative..... it runs on linux and windows..... and it handles groups, rotations, zooms etc very well....see zinc website
a small tutorial is at small illustrated intro to Zinc
...and the best example of gaming in Zinc is at Strangely addictive Tk::Zinc based game
.... the best way to get an idea of Zinc, is to run it's demo
In reply to Re: 2d graphics in Perl
by zentara
in thread 2d graphics in Perl
by rjberry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |