Computer Science Canada colouring a picture |
Author: | marshymell0 [ 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 |
Author: | Cervantes [ Mon Nov 08, 2004 9:11 pm ] |
Post 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 |
Author: | HyperFlexed [ Mon Nov 08, 2004 9:31 pm ] |
Post 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. |
Author: | marshymell0 [ Tue Nov 09, 2004 5:59 pm ] |
Post 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? |
Author: | HyperFlexed [ Tue Nov 09, 2004 6:10 pm ] |
Post subject: | |
no, colourback sets the color of the entire bg. that is after you call cls. |
Author: | marshymell0 [ Wed Nov 10, 2004 6:42 pm ] |
Post subject: | |
-.- well I can't think of anything else |