Texture a random shape.

Blitz3D Forums/Blitz3D Beginners Area/Texture a random shape.

Doh, another post!! I am tired, sorry ;)

To create a texture, you could use the code 'Clyde' suggested above. Alternativley create a texture in your favourite paint program and use 'LoadTexture' instead of 'CreateTexture'. Textures must be square and in powers of 2 (ie. 32x32, 64x64, 128x128 pixels etc).

To start with, the easiest to get it up and running is just use 'EntityColor' instead of applying a texture at all.