Hi, first post here!
We would like to be able to do damage to terrain (objects) Worms-style in our game. We do have implemented pixel-perfect collision so far, now my question is: what is the best/most efficient way to make the “hit” object pixels become transparent, keeping in mind that different objects might look the same initially (they share the same image/texture).
We’re using lwjgl + slick, I haven’t seen a way to load the same image into seperate textures so far, so it’s either doing that from scratch or duplicating texture on initial collision to avoid applying the damage to all objects sharing the same texture.
Would you be so kind to give me some pointers? Thanks.
Alex