Game making HELP...background
Author |
Message |
sk8boarder1414
|
Posted: Thu Feb 09, 2006 6:27 pm Post subject: Game making HELP...background |
|
|
hey guys I wanted to insert a .bmp image in the back of my game.. i wanted to make an asteriods game and first thing i gotta do is make the background.. i looked at the tutorial and it doesnt work for sum reason.. could sum1 just explain to me how to insert a bmp into turing as a background for my game? thanks |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Delos
|
Posted: Thu Feb 09, 2006 7:20 pm Post subject: (No subject) |
|
|
Which Tutorial did you look at? Can we see your code that you attempted? Both of these would make helping you a little easier....
Either way, here's an explanation:
- to insert a .bmp, you'll have to create an image stream through which Turing will access said file.
- this will be done using an integral variable, in a similar fashion to that of opening files.
- you will then be able to specify a position and drawing style to draw the actual pic.
If you would like to see the syntax, press F10 and look for the Pic.() module. |
|
|
|
|
|
sk8boarder1414
|
Posted: Fri Feb 10, 2006 11:27 am Post subject: (No subject) |
|
|
heres the tutorial i thought i could get a backgfround from...
http://www.compsci.ca/v2/viewtopic.php?t=191.....
I just fille din the path for his picture with mine but it doesnt come up |
|
|
|
|
|
Andy
|
Posted: Fri Feb 10, 2006 12:17 pm Post subject: (No subject) |
|
|
put the image in the same folder as the source code, then you wont need the full file path.. only the image name |
|
|
|
|
|
|
|