TGC Codebase Backup



Background Image by RUCCUS

22nd Apr 2005 19:53
Summary

Display a background Image



Description

Some very very simple code. I didnt bother giving the media, just remember to put the picture you want to have as your background in the same file as the source code. I saw a lot of people asking about this so here's the code I came up with with some of [Jimmy]'s help. Goodluck!



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    `Background Image Snippet
`Created By RUCCUS

`Change the file extension to the image you want displayed in the
`background. Change the size of the plain to scale the picture.
`Pretty simple.
LOAD IMAGE "Picture.bmp",1
MAKE OBJECT PLAIN 1, 700,530
POSITION OBJECT 1,0,0,0
XROTATE OBJECT 1,-90
TEXTURE OBJECT 1,1
``````````````````````````````````````````````````````````````````
`- RUCCUS
``````````````````````````````````````````````````````````````````