So I have a chest, that contains random 3 to 7 items. Then when I open the chest, the chest is filled up at random selecting values from an array (filled with item IDs from database). Then, the object,s picture all are shown in a single row. I use the show picture with "reward"+ID for the picture name. I got the spacing coordinates x and y for the odd number sizes, but it gets tedious to adjust for the even number size. Like i need to use the array.length to determine which group of coordinates to use.
is there a way to make them display themselves automatically in the screen? The pictures are 98 x 98 pixels and the spacing should be 20 pixels. They will all be displayed in 1 row.
here's a sample image
is there a way to make them display themselves automatically in the screen? The pictures are 98 x 98 pixels and the spacing should be 20 pixels. They will all be displayed in 1 row.
here's a sample image