80 likes | 203 Views
Game Programming Step-11. Learn How to Change prepare matrix texture into the game. http://www.prasansoft.com. Purpose Step 11. Learn to Change prepare matrix texture into the game. http://www.prasansoft.com. Prepare images for Step-11. http://www.prasansoft.com.
E N D
Game Programming Step-11 Learn How to Change prepare matrix texture into the game. http://www.prasansoft.com
PurposeStep 11 • Learn to Change prepare matrix texture into the game. http://www.prasansoft.com
Prepare images for Step-11 http://www.prasansoft.com
Keep Texture into Folder Bulider Game http://www.prasansoft.com
Write Command line 5,20 http://www.prasansoft.com
LOAD IMAGE This command will load a picture file as an image. The picture file must be of the BMP, JPG, TGA, DDS, DIB or PNG format. • Syntax • LOAD IMAGE Filename, Image Number • LOAD IMAGE Filename, Image Number, Texture Flag • Example • LOAD IMAGE "ROCK2.JPG",1 http://www.prasansoft.com
PREPARE MATRIX TEXTURE This command will select an image of tiled textures that the matrix will eventually use. • Syntax • PREPARE MATRIX TEXTURE Matrix Number, Image Number, Across, Down • Example • PREPARE MATRIX TEXTURE 1,1,1,1 http://www.prasansoft.com
Result Step-11 http://www.prasansoft.com