colouring a picture
Author |
Message |
marshymell0
|
Posted: Mon Nov 08, 2004 9:07 pm Post subject: colouring a picture |
|
|
hey, how do you create a picture on Turing using conly colourback, cls, repeat, and the put command? like let's say I want to create a sky and draw a bird and sun, how would I make the shape of each thing without using the locate command? thxs |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: Mon Nov 08, 2004 9:11 pm Post subject: (No subject) |
|
|
logic. lots of logic.
the commands are simple, it's how you use them that is going to make all the dfference in this program |
|
|
|
|
![](images/spacer.gif) |
HyperFlexed
![](http://compsci.ca/v3/uploads/user_avatars/111750644546a630dd250ed.gif)
|
Posted: Mon Nov 08, 2004 9:31 pm Post subject: (No subject) |
|
|
well. Break it down into steps.
the locate function can be made in turing. Think about what locate does, and what you can do in place of it. |
|
|
|
|
![](images/spacer.gif) |
marshymell0
|
Posted: Tue Nov 09, 2004 5:59 pm Post subject: (No subject) |
|
|
well, the only thing I can think of are spaces. For example,
colourback (blue)
put " "..
colourback (yellow)
put ""
colourback (blue)
put " "..
colourback (yellow)
put ""
so then I would slowly put less spaces in yellow, so then it'll be like a sphere-like sun? would that work? |
|
|
|
|
![](images/spacer.gif) |
HyperFlexed
![](http://compsci.ca/v3/uploads/user_avatars/111750644546a630dd250ed.gif)
|
Posted: Tue Nov 09, 2004 6:10 pm Post subject: (No subject) |
|
|
no, colourback sets the color of the entire bg. that is after you call cls. |
|
|
|
|
![](images/spacer.gif) |
marshymell0
|
Posted: Wed Nov 10, 2004 6:42 pm Post subject: (No subject) |
|
|
-.-
well I can't think of anything else |
|
|
|
|
![](images/spacer.gif) |
|
|