Closed soundmud closed 8 years ago
The idea of fix the walls using a morfing solution sounds very well :P
If you can finally implement it, it will be a good new feature to the game :P
From: soundmud [mailto:notifications@github.com] Sent: domingo, 1 de mayo de 2016 14:32 To: soundmud/soundrts soundrts@noreply.github.com Subject: [soundmud/soundrts] fix or remove walls and gates (#69)
The experimental "walls and gates" feature have several issues.
A solution could be to solve at least the very annoying bug, then release and get feedback about this feature and eventually remove it. Many RTS don't have walls "nowadays", but this is not an excuse. The sound of a portcullis closing or opening would be great.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/soundmud/soundrts/issues/69
I have found where the bug came from. Walls and gates mask the next square from the enemy, and when a wall is destroyed or a gate is opened or closed, an update of the perception is required, which is missing. Unfortunately, to improve performance, the visibility code is already a bit complex, and I'm reluctant to add more complexity. For now, I will make walls and gates "transparent", and I'll improve that later if this feature is really appreciated.
About gates, for now, the simplified solution might be to just always allow friendly units to go through the gate, even if an enemy is there.
This feature is probably good enough for now.
The experimental "walls and gates" feature have several issues.
A solution could be to solve at least the very annoying bug, then release and get feedback about this feature and eventually remove it. Many RTS don't have walls "nowadays", but this is not an excuse. The sound of a portcullis closing or opening would be great.