Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

closed as primarily opinion-based by Anko, Sean Middleditch, bummzack, Byte56 Feb 27 at 6:13

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.