Some tips for Turing graphic artists
Author |
Message |
wthef_wc3
|
Posted: Thu Mar 31, 2005 7:59 pm Post subject: Some tips for Turing graphic artists |
|
|
When working with graphics, i know setting the y+x's of every item is extreamly boring and requires alot of time, so when your coding involves grahics put this code at the top of ur pgrm so u can simply put the mouse an the screen at the desired location of the object.
code: |
var x, y, button : int
process display
loop
locate (1, 1)
Mouse.Where (x, y, button)
put x, "|", y, "|"
end loop
end display
fork display
|
this runs as ur graphics are running and shows you the coord's of the mouse. Just something, to make using grapics easier.
Another simple thing to make finding the right colour easier.
code: |
setscreen ("graphics:500;9000")
for col : 1 .. 256
%colour (col)
colourback (col)
put "colour \"", col, "\""
end for
|
Hope this little tip helps. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
person
|
Posted: Thu Mar 31, 2005 8:04 pm Post subject: (No subject) |
|
|
1) i know ur new here so its ok if u didnt notice the tutorial forum tehy have, but just to tell u, ur supposed to post things like this there
2) turing clolor goes to 255 |
|
|
|
|
|
Mazer
|
Posted: Thu Mar 31, 2005 9:18 pm Post subject: (No subject) |
|
|
Just a heads up, you'll likely be flamed shortly for suggesting the use of processes. |
|
|
|
|
|
jamonathin
|
Posted: Fri Apr 01, 2005 8:47 am Post subject: (No subject) |
|
|
Hey that colour one's pretty cool (I'm amused by small things). I'm a little unsure why you needed the process for the first one though, juss put it after you draw everything |
|
|
|
|
|
|
|