Computer Science Canada Picture Drawing Malfunction |
Author: | Monduman11 [ Sun Jun 06, 2010 2:00 pm ] | ||
Post subject: | Picture Drawing Malfunction | ||
What is it you are trying to achieve? add a new level to my game What is the problem you are having? the colours of the map are inverted. example , instead of being green its blue Describe what you have tried to solve this problem everything i can think of Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here>
Please specify what version of Turing you are using 4.1.1 |
Author: | Cezna [ Sun Jun 06, 2010 2:53 pm ] |
Post subject: | RE:Picture Drawing Malfunction |
If you want meaningful advice instead of just shots in the dark, you have to post your code. The only thing I can think of without seeing you code is that you have your colour values wrong, or are trying to use colour not supported by Turing. |
Author: | Monduman11 [ Sun Jun 06, 2010 3:07 pm ] | ||
Post subject: | Re: RE:Picture Drawing Malfunction | ||
Cezna @ Sun Jun 06, 2010 2:53 pm wrote: If you want meaningful advice instead of just shots in the dark, you have to post your code. The only thing I can think of without seeing you code is that you have your colour values wrong, or are trying to use colour not supported by Turing.
ah srry heres the code.
|
Author: | Monduman11 [ Sun Jun 06, 2010 5:05 pm ] |
Post subject: | Re: Picture Drawing Malfunction |
no one? |
Author: | TheGuardian001 [ Sun Jun 06, 2010 5:35 pm ] |
Post subject: | Re: Picture Drawing Malfunction |
If the level you're drawing is a picture, we'll need that too. If I had to guess, I'd say it probably has something to do with you using the picXor image mode, which draws inverted colours if you don't draw it directly on top of itself (which you aren't, since you also used cls.) If it's not that, I'd advise posting the full code so we can test it for ourselves. |
Author: | Monduman11 [ Sun Jun 06, 2010 5:49 pm ] |
Post subject: | Re: Picture Drawing Malfunction |
TheGuardian001 @ Sun Jun 06, 2010 5:35 pm wrote: If the level you're drawing is a picture, we'll need that too.
If I had to guess, I'd say it probably has something to do with you using the picXor image mode, which draws inverted colours if you don't draw it directly on top of itself (which you aren't, since you also used cls.) If it's not that, I'd advise posting the full code so we can test it for ourselves. ah thank you soo much it was the picXor thing. i had completely forgoten that i had tried it with PicXor sometimes earlier. but yea it is working now thanks for all your help you guys ![]() ![]() |