Hey all, I and a few friends have been working on a tower defense game for a little over two years now and we want the game to be hard to exploit and feel smooth. In order to do this we decided to make the enemy’s and towers not actually be real, rather parts on the server, but I’m not sure the best way on how to do this. I managed to make a system like this but It got way too confusing for me to work with when it came to the towers portion. Let me know what you guys think is the best idea for this.
Mainly they would do it your approach, as of using a part on the server and having the client render the movement, animations and such. I would probably do it as a table that tells you which enemy is at the front (if thats what you want) and the tower will fire their weapon at it. Of course remember to add the enemy when spawned and remove it when they die. Always do checks too to see if they are in range too