From: Hidetoshi NAGAI Date: 2005-07-13T16:56:00+09:00 Subject: Re: Updating GUIs From: Joe Van Dyk Subject: Re: Updating GUIs Date: Wed, 13 Jul 2005 16:23:58 +0900 Message-ID: > > How many steps do you need for rotation? > > If that is integer order, you should create and hide all polygons > > for all rotate steps at the beginning, and show (move) the one for > > current degree on each update phase. > > I'm not sure what you mean by "integer order". In fact, that whole > paragraph confused me. :-) I'm very sorry. If you need 5 degree step of rotation, you need only 72 polygons for each player. So, instead of calculating, create 72 polygons at first. And select one of them to show the player, and hide other 71 polygons. If the direction of the player is changed, select another one from hidden 71 polygons and hide current polygon. > How can I use TclTklp._eval? TclTkIp._eval("... Tcl/Tk script ...") -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)