|
Image Matrix |
Top Previous Next |
|
Imagine you would like to create a Game board with 5 x 5 stones, On each position of the board you can have one of the 3 images or nothing. This could be a lot of work with putting simple bitmap object and then all the show - hide commands for all objects! Image Matrix helps you do this and a lot of other projects. The number of Columns and Rows determines the size of the Image Matrix object. You must have at least the image #1 defined. The Columns and Rows are multiplied by the image #1 width and height producing the total Matrix size. All the 3 images should be the same size. You can reach each cell with MatrixName[Column, Row] format. Images? You can use max. 4 images with the matrix object. Suppose that we have selected below images:
Putting It Together... First run MMB & open a new project. Put an image matrix to the page.
Adjust the properties.
Matrix object will be filled with default image.
See also the Matrix Functions. |