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

Username:   Password: 
 RegisterRegister   
 My drawing program
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Rakusan2




PostPosted: Sat Dec 10, 2011 7:07 pm   Post subject: My drawing program

I never programed in my life but I started learning turing 2 months ago in my Computer Technology class and used it only few times, but because of my good logic thinking I created this in just two half days because I don't have lot of time to program.


Draw.t
 Description:
Drawing program with a simple menu.

Download
 Filename:  Draw.t
 Filesize:  5.7 KB
 Downloaded:  182 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
ttm




PostPosted: Sat Dec 10, 2011 8:53 pm   Post subject: Re: My drawing program

Cool.
I recommend you use hasch/getch instead of Input.KeyDown, so the colors don't change as quickly when you use arrow keys.
Also, try not to use one or two letter variable names because that makes your code confusing to read.
Also press f2 every once in a while.
Also, you should Pic.Free your pictures because turing only supports 1000 Pic.New or Pic.FileNew calls before throwing an error unless you free your pictures. (I think. Don't quote me.)
Also, if you draw really quickly, you can see that it draws individual dots instead of a continuous line. You can fix this by using Draw.ThickLine.
Also, you don't have to do chr (32), you can just do ' '.

Anyways very cool program; if only I could figure out what change color does...
Rakusan2




PostPosted: Sat Dec 10, 2011 9:53 pm   Post subject: Re: My drawing program

Change Color menu lets you change color with which you have drawn to a different color
The color changes rapidly because I forgot two brackets.
I don't use f2 because I like to have the loops more clear so I know in which loop I am in.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: