Uriopass / Egregoria

3D City Builder without a grid
http://douady.paris/blog/
GNU General Public License v3.0
1.53k stars 52 forks source link

Placing streets should delete buildings underneath it #114

Open AntonioNoack opened 4 months ago

AntonioNoack commented 4 months ago

I placed a street, and it's common for city building games to show all that will be deleted in red while setting up the road, and then when actually deleting these buildings when you place the street.

image

In my test, the building was just left on the road.

AntonioNoack commented 4 months ago

Another small issue, not worth creating a ticket over: image

It should be "Remove Train"

Uriopass commented 4 months ago

Yes yes yes, what I really want is for this to be robust and handle the cascading events that happen with deleting a house properly: what happens to the person that owns the house? Etc I'm thinking of making some kind of generic eventing system but the design isn't super clear for now.

Groneschild commented 4 months ago

Deleting a house makes the owner homeless. Building a new house wil add a new home owner to the game.

Groneschild commented 4 months ago

Haha, the typo 'remove trian' in on me. I did not check for typos.