
-----------------------------------
evildaddy911
Tue May 15, 2012 11:40 am

View.Update not owrking
-----------------------------------
What is it you are trying to achieve?
im trying to create a maze/puzzle game that uses gravity wells to move the object

What is the problem you are having?
the View.Update call does not seem to be working

Please specify what version of Turing you are using
open

-----------------------------------
Tony
Tue May 15, 2012 12:19 pm

RE:View.Update not owrking
-----------------------------------
it's much more likely that View.Update call works just fine, and your code's logic just doesn't call it at the time you expect. Either way, a 3 file upload is _far_ from a minimal demo of the problem.

[code]
View.Set("offscreenonly")
Draw.Oval(100,100,10,10,red)
View.Update
[/code]

I would guess the above works.

-----------------------------------
evildaddy911
Tue May 15, 2012 2:56 pm

RE:View.Update not owrking
-----------------------------------
because the oval is the first thing drawn, it will draw it, so the View.Update wont do anything...

-----------------------------------
Tony
Tue May 15, 2012 3:07 pm

RE:View.Update not owrking
-----------------------------------
[code]
View.Set("offscreenonly") 
cls
Draw.Oval(100,100,10,10,red) 
View.Update 
[/code]

-----------------------------------
evildaddy911
Tue May 15, 2012 4:06 pm

RE:View.Update not owrking
-----------------------------------
it displays the oval, even when i comment out the View.Update. I also tried replacing cls with
drawdot (10,10,white)

it still drew the circle...

-----------------------------------
Tony
Tue May 15, 2012 4:41 pm

RE:View.Update not owrking
-----------------------------------
mmm...
[code]
View.Set("offscreenonly") 
cls
View.Update

Draw.Oval(100,100,10,10,red)
% should not appear; replace comment with View.Update to test

loop
delay(100)
end loop
[/code]
?
