Computer Science Canada Animation Help |
Author: | andxdreamxixdo [ Sat Jan 08, 2005 5:17 pm ] | ||
Post subject: | Animation Help | ||
I am working on a project for my computer class, and after hours of staring blankly at the screen and asking for help from many people I have come here. I keep getting an error and I'm not too sure what it's about, so if anyone can help me, that would be great.
Based on a program from the turring submissions forum of this site. |
Author: | Cervantes [ Sat Jan 08, 2005 6:11 pm ] | ||||
Post subject: | |||||
(I'm assuming that's the entire code, and that there is not View.Set or setsceen anywhere before the code you posted.) You're getting the error because the picture (taken by Pic.New) was not successfully created, as Turing kindly tells you. Now, the reason it was not successfully created is because you are trying to take nothing and put it into a picture. Apparently, Turing doesn't like having nothing in a picture. The "nothing" I am talking about is not white background, but actually nothing. See, you are taking a picture of (0,0,600, 600). But, the screen only goes from (0,0) to (639, 339) (at least on my computer). So, you are trying to take a picture of stuff (nothing) that is off the screen. In short, to solve the problem, change:
to
|
Author: | andxdreamxixdo [ Sat Jan 08, 2005 6:46 pm ] |
Post subject: | |
hey thanx alot your a life saver. |