Hey Guys,
Stupid question but I cant seem to figure it out properly. I have a sensor that converts wood objects to stone. I can do this simply by changing the physics of the items from dynamic to static but I’m having issues changing the images to relate to the change
E.G. Wooden Block image changing to Stone Block image
Is there a way to do this other then create two separate images and then have them on the same x,y values and just change the alpha readings ? Would pref like to be able to jist change the image,
E.G.
[code]for i = GameObjects.numChildren,1,-1 do
local child = GameObjects[i]
if child.myName == “woodBlock” then
child.??? = ???( “images/stoneBlock.png”, 35, 35)
end
end[code] [import]uid: 40417 topic_id: 9390 reply_id: 309390[/import]
