Computer Science Canada

Turing Final Assignment (Highschool project)

Author:  sa-chi [ Tue Nov 15, 2011 9:52 am ]
Post subject:  Turing Final Assignment (Highschool project)

Hi,
This is my first Computer science course i'm taking in grade 10 and i'm having trouble, with well ^^"" everything, I don't quite understand how to use Turing and my teacher is NOT helping.
the questions I wanna ask is, how do u make snow falling? like animate it?
and how to create rings around a moon? yes i know the moon doesn't have rings BUT ITS ON OF THE CRITERIA ON THE PROJECT~!
how stupid right?
anyway, PLS HELP~~!!
also I'm gonna ask PLENTY MORE QUESTIONS~!

PLEASE AND THANK U VERY MUCH~! ^^

~Sakuno

Author:  DemonWasp [ Tue Nov 15, 2011 10:15 am ]
Post subject:  RE:Turing Final Assignment (Highschool project)

You could (and should!) go through the Turing Walkthrough.

To draw rings, consider using Draw.Oval -- look it up in the Turing help and read carefully and slowly.

To animate things, the basic code goes like this:

Turing:

loop
    cls % clear screen
   
    % A: update position of snow flakes (x, y)
    % B: draw snow flakes
end loop


Parts A and B are up to you. Start with one snowflake at first.

Once you have one snowflake done, read about arrays and records in the Turing Walkthrough. Make a record that describes a single snowflake (x, y location, for example) and then make an array of them (many snowflakes, each with their own x and y locations). Then read the flicker-free animation tutorial (also in the Turing Walkthrough).

If you run into problems doing that, post back here with specific problems, what you tried, your current code, etc.

Author:  sa-chi [ Wed Nov 16, 2011 10:52 am ]
Post subject:  Re: RE:Turing Final Assignment (Highschool project)

DemonWasp @ Tue Nov 15, 2011 10:15 am wrote:
You could (and should!) go through the Turing Walkthrough.

To draw rings, consider using Draw.Oval -- look it up in the Turing help and read carefully and slowly.

To animate things, the basic code goes like this:

Turing:

loop
    cls % clear screen
   
    % A: update position of snow flakes (x, y)
    % B: draw snow flakes
end loop


Parts A and B are up to you. Start with one snowflake at first.

Once you have one snowflake done, read about arrays and records in the Turing Walkthrough. Make a record that describes a single snowflake (x, y location, for example) and then make an array of them (many snowflakes, each with their own x and y locations). Then read the flicker-free animation tutorial (also in the Turing Walkthrough).

If you run into problems doing that, post back here with specific problems, what you tried, your current code, etc.





OK THANK U SO MUCH ~!! THAT HELPS A BUNCH~!! ^^
And can u tell me how to make rings around a moon, pls~!!!!
Me and my friend in Computer class right now are both confused about it ^^""
Please and Thank u~!!!

~Sakuno

Author:  DemonWasp [ Wed Nov 16, 2011 10:56 am ]
Post subject:  Re: RE:Turing Final Assignment (Highschool project)

sa-chi @ Wed Nov 16, 2011 10:52 am wrote:
And can u tell me how to make rings around a moon, pls~!!!!

Doesn't this line help?
DemonWasp @ Tue Nov 15, 2011 10:15 am wrote:
To draw rings, consider using Draw.Oval -- look it up in the Turing help and read carefully and slowly.

If it doesn't, please:
DemonWasp @ Tue Nov 15, 2011 10:15 am wrote:
If you run into problems doing that, post back here with specific problems, what you tried, your current code, etc.
(emphasis added)


: