
-----------------------------------
ilia
Wed Jan 18, 2012 6:01 pm

NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
What is it you are trying to achieve?



What is the problem you are having?



Describe what you have tried to solve this problem



Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)








4.1.1


-----------------------------------
Insectoid
Wed Jan 18, 2012 6:03 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
Procedures are explained in detail in the Turing Walkthrough. So is screen flickering (there should be a tutorial about View.Update. That's the one you want).

-----------------------------------
Tony
Wed Jan 18, 2012 6:06 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
to animate things smoothly you need to use View.Update. Use of processes will make View.Update not work correctly. Therefore, you need to remove your use of processes.

-----------------------------------
ilia
Wed Jan 18, 2012 6:12 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
but I want to have multiple animations at the same time!

-----------------------------------
Insectoid
Wed Jan 18, 2012 6:14 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
No, you want one animation of many parts.

-----------------------------------
ilia
Wed Jan 18, 2012 6:15 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
so what should i do?

-----------------------------------
Insectoid
Wed Jan 18, 2012 6:17 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
Search the Turing Help section for the literally hundreds of topics with your exact problem.

-----------------------------------
ilia
Wed Jan 18, 2012 6:18 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
ok, thanks

-----------------------------------
ilia
Wed Jan 18, 2012 6:19 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
also, please look at my attachment

-----------------------------------
Velocity
Wed Jan 18, 2012 9:07 pm

RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
to remove flickering you type

View.UpdateArea (0,0,maxx,maxy) % whole screen
delay(5)
cls

only type this after u finish drawing all of ur pictures. 
usually put at the bottom the loop with ur drawings inside

-----------------------------------
Beastinonyou
Wed Jan 18, 2012 9:12 pm

Re: RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------
to remove flickering you type

View.UpdateArea (0,0,maxx,maxy) % whole screen
delay(5)
cls

only type this after u finish drawing all of ur pictures. 
usually put at the bottom the loop with ur drawings inside

People don't learn how to do things if you tell them what to enter...

Maybe, you should explain and elaborate on why you have to use those to remove the flickering.

plus, you forgot your 


setscreen ("offscreenonly")


-----------------------------------
Tony
Wed Jan 18, 2012 9:16 pm

Re: RE:NEED HELP with Processes, procedures and animations executing smoothly ASAP ASAP
-----------------------------------

only type this after u finish drawing all of ur pictures.
Right. Except if there's a process involved. Then he wouldn't know how much of that process' picture had been drawn already. This is why the two ideas are incompatible*.

* synchronization being an exception. Though if you are going to block processes, then you might as well just use procedures in the first place. In most cases procedures are the appropriate and easier solution.
