I use the images in the DXImageList for sprites. I don't draw them directly on the DXDraw surface.
The blocks don't have textures yet. Maybe it will stay this way.
The default patternheight and width is 100 because the blocks are 100x100. But i would like them to be variable from 10x10 to 100x100. Onces the game is started, the size of the blocks doesn't change any more.
I tried to alter the patternwidth and patternheight of an image in the DXImageList in runtime to 50x50 but the default patternheight and width is always used. I use something like this:


[pascal]
...
// altering the imagelist
DXImageList1.Items[0].patternwidth := 50;
DXImageList1.Items[0].patternheight := 50;

// creating sprites
...
playersprite.image := DXImageList1.Items[0];
...
[/pascal]

This is the only thing i change in the DXImageList during runtime. Do i need to do something else (updating the list or something)?