Greetings,
I am currently working on making “Unity3d Version Of Minecraft”, atleast, the game is build around the functions in Minecraft.
I have been able to do alot, more then I thougth whitout any help, but there is a few things I can’t seem to work my way around, and I would be very happy if someone could atleast help me whit some of the issues I have been getting so far in the development!
(NB; My questions rely on that you have played Minecraft)
- When you damage blocks in Minecraft, a texture is slowly appearing over the main texture of the objects, to help you know how much its left to damage before its broken!
This, is something I cant seem to work my way around in Unity3d.
I have already made an method for damage and breaking objects, and its in the same code I need to implement the texture. When the player is clicking the block, and holding it down for a certein time, it gets destroyd, and it works perfect. What I need help whit, is to add a second texture (transperant) to the main texture when this is happening! I have 4 textures that I need to be placed over the main texture, over time, but the only thing I can seem to get to work, is to change the main texture, but I still need that to be there!
Is there someone, who have any ideas? Or, know how to do this?
Thanks in advance!
Best Regards,
M!