edrevolution / pywright

Automatically exported from code.google.com/p/pywright
0 stars 0 forks source link

Timing of object creation and deletion #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a huge disconnect between what's going on in the wrightscript, and 
when the screen is actually refreshed. For a long time, each line in 
wrightscript translates to one screen refresh. This means that if you create 3 
or 4 objects, meaning for them all to appear at once, they actually visibly pop 
in a split second after one another. Fading the screen up from black when you 
add more than one object makes a noticable flash.

In the old 2.0 code, I had drawoff/drawon commands to control this, so before 
an important effect, you say "drawoff", build it up, and then say "drawon". I 
half ported this to the current codebase, but never announced it or made sure 
it worked.

I'm not sure that's the best solution either. It might be enough to ALWAYS run 
through all lines of code that don't block before displaying the screen.

Original issue reported on code.google.com by saluk64007@gmail.com on 27 Feb 2011 at 11:18

GoogleCodeExporter commented 9 years ago

Original comment by saluk64007@gmail.com on 22 Apr 2011 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by saluk64007@gmail.com on 22 Apr 2011 at 11:56

GoogleCodeExporter commented 9 years ago

Original comment by saluk64007@gmail.com on 11 Sep 2011 at 10:32

GoogleCodeExporter commented 9 years ago

Original comment by saluk64007@gmail.com on 2 Nov 2012 at 6:09

GoogleCodeExporter commented 9 years ago
I think this is working as it should now.

Original comment by saluk64007@gmail.com on 2 Nov 2012 at 6:30