View.Update
Author |
Message |
neufelni
|
Posted: Fri Nov 18, 2005 1:07 pm Post subject: View.Update |
|
|
I'm having problems with View.Update. If I use it my program runs verry, verry slow. If I don't use it, it runs at a good speed. How do I fix it. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
codemage
![](http://usera.imagecave.com/codemage/codemage-small.gif)
|
Posted: Fri Nov 18, 2005 1:16 pm Post subject: (No subject) |
|
|
View.Update should usually make your programs run faster / smoother.
If you give an example of how you're using it, it might be easier to help with specifics. |
|
|
|
|
![](images/spacer.gif) |
Albrecd
|
Posted: Fri Nov 18, 2005 1:31 pm Post subject: (No subject) |
|
|
Did you use it with offscreenonly? |
|
|
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Fri Nov 18, 2005 2:23 pm Post subject: (No subject) |
|
|
View.Update makes your output not flicker. It also makes your program run slower. It's Turing, to fix it fix Turing - which you can't.
Try adding a small delay at the end of your main loop, see if it makes a difference. |
|
|
|
|
![](images/spacer.gif) |
|
|