
-----------------------------------
TheZsterBunny
Tue Mar 23, 2004 8:18 am

Nooblers List - Things to do in projects next year
-----------------------------------
All this year, people on this site have had successes and failures in turing. This has been a positive learning experiance, but had we been able to do this again, what are some changes you can make. Next-years-noobs can make use of this forum, perhaps, if we get enough replies.

I'll go first

For Paint: 

1) Use the Font.Draw command rather than locatexy.

The font.draw command has a great documented tutorial and can have size, face, color and special attributes given to it.


feel free to add

-bunny

-----------------------------------
Jodo Yodo
Tue Mar 23, 2004 5:22 pm


-----------------------------------
Make sure my paint program is full screen before actually continuing.  Make sure I know how to use GUI before I put it on the proposal.  Make sure to pray to the powers that be that my Computer Science teacher extends the due date.  Make sure to not get in over my head for a 'minor' project.  Make sure I don't pick a partner going to Florida for the essential week.

*Sigh*

SUPER JUICY!

-----------------------------------
Paul
Tue Mar 23, 2004 5:27 pm


-----------------------------------
HEY HEY!
I use Draw.Text
are they the same thing???
I checked the syntax and it looks exactly the same.
Anyway, I hate how you can't change fonts without accessing graphics in turing, it sux!
Cause then you deal with pixels and have to set a fixed position for text anytime you want to have a different font.
they should fix it soon.

-----------------------------------
Cervantes
Tue Mar 23, 2004 8:41 pm


-----------------------------------
you can change fonts without accessing graphics.

Go to File -> Preferences then to the Run Window Tab and change the font of the outputted text.

-----------------------------------
jonos
Tue Mar 23, 2004 8:49 pm


-----------------------------------
thats not good though, because you can only use 1 font.

edit: i meant you can only use one font for your whole program, you can't use 2 fonts in the same program that way

id say don't use processes because then problems arise in an otherwise good program (what with flashing and bad collision detection, and other stuff). so use loops and everyone will be better off!

-----------------------------------
Cervantes
Tue Mar 23, 2004 9:53 pm


-----------------------------------
oooh no.  There are several different fonts to choose from.  Not a complete list, but still, several.
let's see.. advice.. advice....

Always try to make your programs as efficient and tidy as possible, even if it means learning new commands and techneques (that's one of the best reasons TO keep things as efficient and tidy as possible).  An example of this is the following: use arrays instead of creating a large amount of variables such as "num1, num2, num3, num4 ,num5, num6, num7", etc.

-----------------------------------
Paul
Tue Mar 23, 2004 9:56 pm


-----------------------------------
You can't use different fonts in preferences, and does it work on other computers?
They should really fix it though, it shouldn't be that difficult.

-----------------------------------
TheZsterBunny
Thu Mar 25, 2004 7:38 am


-----------------------------------
Hrm,

Draw.Text is the same as Font.Draw, but I think that Font.Draw is more sound (Font Module used for everything), but it is your choice.

cerv, with Font.New, it is possible to create and use as many fonts as you have in your (font) directory.

All you need is seperate integer variables for each.

PB, most people who program should use a font where each character is the same width as height. I got burned on this already (with the difference between home and school) but preferences are made to stay preferences individually. You can copy the preference file if you do so desire, and bring it to school.

Anyways, back to topic:

Paint:
2) for your color palette, try to include as many colors as possible. A nested for loop, with the maximum of each multiplying to 256 should make a decent range of colors (but ~ 6 shades of the same black) or if you're feeling adventurous, you can use the RBG.AddColor command using real numbers. It is very simple to introduce hex-color this way.


var hexcode : string
put "Enter the Hex Code for your desired color: " ..
get hexcode
if strint (hexcode, 16) >= 0 and strint (hexcode, 16) 