Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Heya, Thank you for the feedback , destroying was the hardest part to implement as i couldn't figure out how to implement placed lines demolition i just worked a way around so that if you destroy any building which is connected it would destroy it's lines as well. I am sorry  i should have wrote somewhere that  you have to demolish the pylon or any other building to demolish the connection  ,hope you had fun.

That makes sense! I haven't tried to develop any mechanics like that haha but it makes sense that it would be tricky to implement (since they're probably not their own collision objects?)

I did have fun! :)

(+1)

yes , they don’t have collision at all , under the hood  i  have a node class which is inherited by all the buildings , every frame  i am just checking if the pointer is looking at node (which is a list )  if it is , spawn the preview line from that node and when you click on other building  and if that is node as well “connect” and add that connection to the list.