Super Simple TD w/ 20 Objects (Tower Defense Example)

I tried to make the behavior logic here as easy-to-understand for beginners as possible, so let me know if something doesn’t make sense

3 Likes

It’s a very good example, especially for beginners, but there would be several optimizations I would suggest to this example or if anyone uses this example.

  • Using an enemy parent will allow you to use a single proximity instead of having a proximity behavior for every enemy for the tower logic. But I understand that this is more for beginners.
  • The tower range objects could be made with 1 object that changes size instead of separate objects for each tower range size. But again, that’s not very beginner friendly.
  • I do think there should be some logic to the tower range so it glows red if you can’t place the tower down using basic messages from the tower button “Send to attached objects”.
Example

1 Like