Repost
I have a Huge game map with Buildings, trees, lampposts etc. The Player can move round in full Isometric 3d, with the camera taking an intelligent position depending on the situation.
Now some of the weapons that the player has do a continual determination damage, like acid eating the target, or rust.
So Obviously I keep track of the health of the building whilst it can still be within the players point of view, But once its out of view I just do a full calc of the total damage the building (or whatever) would take, and if the building is destroyed, then destroy it.
When the object is still in "Possible Sight" I keep its update going and if it falls down, then I destroy them.
Now here’s where the problem is, for some reason the sound buffer on my computer cannot handle a lot of buffered/Streamed sounds. So what I’ve been thinking is that I should calculate the volume that the sound would make when it reaches the player. And if its going to be well below the background level, then don’t emit a sound. But this would be a lot of work. So I’m inclined not to do it.
So to sum,
If a Tree, (say) falls down in the middle of a forest, and NoOne is there to hear it, should it make a sound?
I have a Huge game map with Buildings, trees, lampposts etc. The Player can move round in full Isometric 3d, with the camera taking an intelligent position depending on the situation.
Now some of the weapons that the player has do a continual determination damage, like acid eating the target, or rust.
So Obviously I keep track of the health of the building whilst it can still be within the players point of view, But once its out of view I just do a full calc of the total damage the building (or whatever) would take, and if the building is destroyed, then destroy it.
When the object is still in "Possible Sight" I keep its update going and if it falls down, then I destroy them.
Now here’s where the problem is, for some reason the sound buffer on my computer cannot handle a lot of buffered/Streamed sounds. So what I’ve been thinking is that I should calculate the volume that the sound would make when it reaches the player. And if its going to be well below the background level, then don’t emit a sound. But this would be a lot of work. So I’m inclined not to do it.
So to sum,
If a Tree, (say) falls down in the middle of a forest, and NoOne is there to hear it, should it make a sound?