Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Create Snow Animation ??
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ziki_23




PostPosted: Tue Nov 09, 2010 4:45 pm   Post subject: Create Snow Animation ??

What is it you are trying to achieve?
I'm trying ot create snow that falls?


What is the problem you are having?
I want to use a command other than this one


Describe what you have tried to solve this problem
I tried changing the command but errors occured


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)

View.Set ("graphics:800;600,nobuttonbar,nocursor,noecho")
View.Set ("offscreenonly")
const NoOfFlakes := 400
var flakeX : array 1 .. NoOfFlakes of int
var flakeY : array 1 .. NoOfFlakes of int

for flake : 1 .. NoOfFlakes
flakeX (flake) := Rand.Int (0, maxx)
flakeY (flake) := Rand.Int (0, maxy)

end for


Turing:


<Add your code here>



Please specify what version of Turing you are using
4.1
Sponsor
Sponsor
Sponsor
sponsor
lordroba




PostPosted: Thu Nov 11, 2010 9:40 pm   Post subject: Re: Create Snow Animation ??

Quote:
I want to use a command other than this one


you mean like a procedure? Please be more specific. Do you have any other code?
Krocker




PostPosted: Fri Nov 12, 2010 9:28 am   Post subject: Re: Create Snow Animation ??

i dotn think there are other codes to do that. All i can think of is

randint (x1,x,y)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: