Presentation is loading. Please wait.

Presentation is loading. Please wait.

Game Programming Step-11 Learn How to Change prepare matrix texture into the game.

Similar presentations


Presentation on theme: "Game Programming Step-11 Learn How to Change prepare matrix texture into the game."— Presentation transcript:

1 Game Programming Step-11 Learn How to Change prepare matrix texture into the game. http://www.prasansoft.com

2 Purpose Step 11 Learn to Change prepare matrix texture into the game. http://www.prasansoft.com

3 Prepare images for Step-11 http://www.prasansoft.com

4 Keep Texture into Folder Bulider Game http://www.prasansoft.com

5 Write Command line 5,20 http://www.prasansoft.com

6 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

7 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

8 Result Step-11 http://www.prasansoft.com


Download ppt "Game Programming Step-11 Learn How to Change prepare matrix texture into the game."

Similar presentations


Ads by Google