Computer Science Canada Problem with program!!! |
Author: | 308989961 [ Mon Dec 31, 2012 10:27 pm ] |
Post subject: | Problem with program!!! |
So I wrote this code to import a pic of a window and it was actually working earlier today. Now when I try it, it the output screen is blank. There are no errors etc. If there a problem with Turing software or program? What should I do? Thanks setscreen ("graphics: max;max,") var picWindowandWallBackground:int picWindowandWallBackground:=Pic.FileNew("WindowAndWallBackground.jpg") Pic.Draw (picWindowandWallBackground, 1000,2000,picCopy) |
Author: | Dreadnought [ Mon Dec 31, 2012 10:48 pm ] |
Post subject: | Re: Problem with program!!! |
308989961 wrote:
So you want to draw the picture with it's lower left corner at position (1000, 2000) ? |
Author: | 308989961 [ Mon Dec 31, 2012 11:08 pm ] |
Post subject: | Re: Problem with program!!! |
Yeah, it fills up the entire screen. |
Author: | 308989961 [ Mon Dec 31, 2012 11:12 pm ] |
Post subject: | Re: Problem with program!!! |
Ohhh thank you you were right, the coordinates were wrong |