Computer Science Canada How do I import images into my program? |
Author: | Smarteez [ Tue Dec 05, 2006 5:56 pm ] |
Post subject: | How do I import images into my program? |
I am making a program and need for a picture to appear in it... how do i do this? |
Author: | Dan [ Tue Dec 05, 2006 6:13 pm ] |
Post subject: | |
Look up the Pic modal and comands in your turing refrence (F10). It is easyest if your images are in the same dir as your code or in a dir in the dir of you code to make finding it easyer. Here is a old and simple tutoral for using images in truing: http://compsci.ca/v2/viewtopic.php?t=191&highlight=pic |
Author: | TokenHerbz [ Tue Dec 05, 2006 6:16 pm ] | ||||
Post subject: | |||||
So have a folder inside your directory (should be a folder too) of your game and name it somthing like "Pics". In this pics folder you will save your images. To call the image, you need to assign it to a "variable" persay.
With this, you can use other "Pic." fuctions which are found in F10 of turing to minipulate, etc your puctire. The following are the commonly used.
Anyways fiddle around with some things, learn it up, F10 in turing should help alot. |
Author: | TokenHerbz [ Tue Dec 05, 2006 6:18 pm ] |
Post subject: | |
awwww......... /stares at hacker dan I wasted my time! zomg! lol. |