Mitsaki
Member
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
|
Thanks for the advice. After a while, I found the solution. for anyone interested:
String[] Wall_Ceiling_Text = {"Beige_Tiles","Blue_Tiles", "Box_Tree", "Marble", "Roughcast", "Small_Bricks","Small_Red_Bricks","Small_White_Bricks", "Stone", "Stone-2-","Stone-3-"};
int m; for (m=0; m<11; m++) { if(Left_Wall_Texture.equals(Wall_Ceiling_Text[m])) { // Set as Texture image the selected texture TextureImage Left_Texture_Image = preferences.getTexturesCatalog().getCategories().get(2).getTexture(m); Left_Wall.setLeftSideTexture(new HomeTexture (Left_Texture_Image)); } }
To select a texture from Wall Textures catalogue.
Really thank you Puybaret. My project seems to work finally:)))
|
[Aug 23, 2011, 5:35:46 PM]
|
|
[Link]
|
|