Computer Science Canada [tutorial] For Extreme Newbies |
Author: | hez [ Wed May 21, 2003 11:29 pm ] | ||||||||||||||
Post subject: | [tutorial] For Extreme Newbies | ||||||||||||||
maybe this should have been in the ""turing Help" forum but i wasn't sure.. This is for Serious newbies only, i will explain and show you the most common progs (I Think) that newbies want to know about ![]() Using Font Tags:
As you can see, font tags alow you to have a different font/size/color for your message rather than the default font in turing....
be and they have to be in that specific order.
try this and see if you can get the hang of it. Fahreneit to Celsius
The main key in this program is the formula "5/9 * (fahrenheit - 32)" which converts from two bases... very easy Minutes to Convert to Days, Hours and Minutes Left
This program shows how to pass values when one value is full, and usage of "mod"(remainder) and div "(Divide without decimal places). Area of an Triangle
This shows you how to use the forumla "( sqrt (s * (s-sd1) * (s-sd2) * (s-sd3) ) )" to figure out the area inside an triangle. Slot Machine
A fun little olg game which simply uses 3 randint numbers and compares them, if they turn out to be the same you get tokens,else you lose a token every turn (100 to start off with). Well, thats it for now hope someone can benefit from this tiny stuff. More availible at : http://infostat.port5.com |
Author: | Tony [ Thu May 22, 2003 10:17 am ] |
Post subject: | |
thx hez ![]() +20Bits Maybe you could post some more from your site? Or expand on our tutorials if the topics are already covered. |
Author: | Prince [ Thu May 22, 2003 10:24 am ] |
Post subject: | |
good job... cool site too |
Author: | whowho [ Thu May 22, 2003 4:55 pm ] |
Post subject: | |
cool ![]() ![]() ![]() ![]() who is Nat Por |
Author: | skatelhs [ Thu May 22, 2003 5:01 pm ] |
Post subject: | not that newbie |
hey, im in grade 10 compsci and that stuff isnt all that easy for me... try like var name:string get name put "Hello, ", name |
Author: | Asok [ Thu May 22, 2003 5:41 pm ] |
Post subject: | |
we have a tutorial on that allready skate. |
Author: | delusional_ [ Sat Nov 15, 2003 5:11 pm ] |
Post subject: | thanx |
thanks for that website, there should be more sites like that out there for people who suk at proggramming coz their skool courses suk ![]() |
Author: | Tony [ Sat Nov 15, 2003 5:28 pm ] |
Post subject: | |
yeah... well it looks like we're the only site around ![]() if you have any sujestions for improvement, let us know ![]() |
Author: | santabruzer [ Sun Nov 16, 2003 8:54 pm ] |
Post subject: | |
This is an amazing site... (At least people are taking the initiative... and creating other great sites) |
Author: | TheLostSoul [ Thu Mar 11, 2004 6:35 pm ] |
Post subject: | |
Thx For This, I Have A Question Tho....I Am Learning This In School, And I Am Trying To Make A Animation With This Slot Machine, I Am Wondering How I Would Put The Numbers In Different Positions On The Screen? The Only Way I Can Think Of Is Using put "":10, "[",num1,"]" And Such, I Was Wondering If There Is A Better Way, So I Can Change The Size As Well? Thx A Lot |
Author: | Tony [ Thu Mar 11, 2004 7:26 pm ] | ||
Post subject: | |||
well... use Font module
|
Author: | recneps [ Fri Mar 12, 2004 2:34 pm ] | ||
Post subject: | |||
even simpler than what tony said, if you dont understand it, is use the intstr command, it converts and integer to a string (or strreal, i tink you can figure that one out) and just stick that in your Font.Draw like this
thatll draw your variable, x, as a string, using Font.Draw at xposition xpos and y position ypos. |