In the current develop branch, there are shields. Yay! And hull on player ships. Yay! That means it's now possible to destroy player ships.
When that happens (eg. when the "isDestroyed" component is applied to the ship), everything just stops working. There isn't a good failure mode for when the player ship is destroyed. We should probably have something.
I imagine there will be many options for how this could go that might need to be configurable on a mission-by-mission basis:
Respawn: Snapshot the state of the ship before it was destroyed and respawn it in the same state, but with shields, hull, and system efficiency restored. Probably better for multi-bridge missions.
Snapshot: Take regular snapshots of the mission and restore the entire simulation when the player ship is destroyed.
Permadeath: The mission is entirely over when the player ship is destroyed.
For now, we'll do permadeath and implement the others later. This issue is just for displaying a screen that says "You have died" or something similar. Static effects, cracked screens, and other stuff like that are more than welcome.
In the current
develop
branch, there are shields. Yay! And hull on player ships. Yay! That means it's now possible to destroy player ships.When that happens (eg. when the "isDestroyed" component is applied to the ship), everything just stops working. There isn't a good failure mode for when the player ship is destroyed. We should probably have something.
I imagine there will be many options for how this could go that might need to be configurable on a mission-by-mission basis:
For now, we'll do permadeath and implement the others later. This issue is just for displaying a screen that says "You have died" or something similar. Static effects, cracked screens, and other stuff like that are more than welcome.