
-----------------------------------
mayaramamurthy
Wed Feb 08, 2012 4:25 pm

Turing Help
-----------------------------------
I have a computer project due tomorrow, and it won't stop flickering. I have used View.UpdateArea and tried View.Update before that. I also have View.Set ("offscreen only"), but it wont stop flickering. Can someone tell me what I am doing wrong?

-----------------------------------
TerranceN
Wed Feb 08, 2012 4:47 pm

Re: Turing Help
-----------------------------------
You're probably going to be kicking yourself for this but...
This:
View.Set ("offscreen only")

Should be:
View.Set ("offscreenonly")

There are still some problems with the code you have though. What you've drawn only gets put onto the screen when View.Update() is called, so this code blacks out the sun before it gets drawn:
        Draw.FillOval (80, y, 65, 65, 43)
        delay (100)
        Draw.FillOval (80, y, 65, 65, 17)
        y := y - 10
        View.UpdateArea (0, 0, maxx, maxy)

There is a similar problem with the moon.

-----------------------------------
mayaramamurthy
Wed Feb 08, 2012 10:42 pm

Re: Turing Help
-----------------------------------
Thanks so much for the view.update :) and do you know what is wrong with the moon and sun?
