[etoys-dev] Fwd: Etoys-To-Go-4.0.2253-beta slow when a viewer is
bert at freudenbergs.de
Mon Aug 24 16:15:37 EDT 2009
Ah. That did reproduce the problem. I was testing on the bouncing car
in the cloud project before.
To verify, you can get out a frame rate display from the object catalog.
On my Mac I get the regular 50 fps animating a simple sketch. Opening
its viewer gets down to 25 fps. Holding the mouse button down on
Button or the Viewer's title bar indeed gets the rate back up to 50.
I cannot reproduce the same on the car in the cloud project. It slows
down the same but does not speed up pressing a button.
However, when I paint a new sketch in the clouds project, the odd
behavior returns - as long as the car script is not ticking.
The higherPerformance preference makes no substantial difference
except that the 50 fps cap is removed.
- Bert -
On 24.08.2009, at 18:24, Ricardo Moran wrote:
> How strange, I tried it some minutes ago in another machine with
> Ubuntu 9.04 and it behaves exactly the same. And it is very
> noticeable if you make a new project, draw a simple sketch, make a
> script with forward: 5 turn: 5, change the tickRate to 100 and run.
> Then opening a viewer should slow down the script, and keeping the
> mouse down on a button should make it go faster.
> On Sun, Aug 23, 2009 at 11:12 PM, K. K. Subramaniam
> <subbukk at gmail.com> wrote:
> On Sunday 23 Aug 2009 9:26:21 pm Ricardo Moran wrote:
> > I was just testing and I noticed something weird: I have a script
> > at 100 ticks per second, then I open a viewer and the script slows
> > then I click in the viewer title and keep the mouse down and the
> > starts running faster!
> I didn't see this effect on the Linux (Kubuntu 9.04). You may want
> to turn on
> dot-style pen trails to capture the behavior.
> etoys-dev mailing list
> etoys-dev at squeakland.org
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
More information about the etoys-dev