80 likes | 214 Views
In Step 11 of our game programming series, you'll learn how to change and prepare matrix textures for your game. This tutorial covers loading images in various formats (BMP, JPG, TGA, DDS, DIB, PNG) using the LOAD.IMAGE command. You'll also discover how to select tiled textures with the PREPARE.MATRIX.TEXTURE command. With practical examples, step-by-step guidance, and useful tips, you'll be equipped to enhance your game's visuals by properly managing textures. Visit our website for more resources and detailed instructions.
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