#how to make tower defense
1 messages · Page 1 of 1 (latest)
First, create a map and path (size doesn't matter)
Create a prop (image need to be invisible and place it at (0, 0))
Create new component
Make spawn command (follow what I do)
Follow dis
Set the coordinates to where you want to spawn
Now you can spawn enemies!
Create an enemy with movement component
Create new component called best distance (view in scripts) and health
Follow what I do
Next day I'll make tower
Create a turret in prop section and make the team (teammate) and create new component
Here's the script at placeholder triggers (when initilizing object)
This in (when initializing object) again
The blank thing is the spawn prop
I forgot to post this. (In enemies comp)
Make spawn turret button in ui
This is the script
Place button
Script
More explanation (also fixed bugs)
Does it work?
Share the link, I wanna play it