- Home /
Destructible Environment
Why making my game, I ran into a little problems trying to make Destructible Environment.
My question is how would you make a 2d image into something that you can slower destroy like in worm armageddon.
plz help.
Answer by Cherno · Oct 27, 2014 at 02:20 AM
I have no experience with 2d games but you should be able to get the pixels in a circle (explosion area) if you have a center coordinate and a radius. Then you would just set these pixels to transparent.
Thank you, I'm learning more about this pixel to transparent and found many more thing about it.
Looking into this now Texture2D.GetPixels
Your answer
Follow this Question
Related Questions
Script for counting number of Turrets and when I destroy all of them I go to the YOU WIN seine 1 Answer
using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers
how to destroy objects on contact 0 Answers
Destroy Object then pop-up other small window question. 1 Answer
destroy gui after game paused 3 Answers