We'd like to create a "world-destruction" game. The problem is in choosing the best model for building destruction.
On my mind the building would be an array of objects( tiles). Each object would have the following parameters:
- position in game world
- 4 bool params for edges connections
- destruction stage
And when I place a TNT on one of the tiles it makes an explosion. During the explosion we are changing all the params.
I have this model in my game but our game coder wants more specific info. And I would be very pleased if someone of you guys tell me how to do it proper.
So the question is where I could find the model?