I have been trying to get my head around the TextureManager and Image functions and can't seem to get them to play nicely
![Sad :(](./images/smilies/icon_e_sad.gif)
It looks like I can load a base Texture using:
- Code: Select all
myTex = textureManager.loadTexture ( "minimap.png", "" )
But I can't work out how to create an Image from this Texture so that I can then change through code using something like:
- Code: Select all
myImg:setColourAt ( tVec, BLACK )
I believe it's something to do with creating a new Image (this is the bit I can't seem to get working) and then, possibly:
- Code: Select all
myImg:createEmptyImageLike ( myTex )
Any help would be greatly appreciated
Shando