Work Based Learning - 22/01/2019 (7 hours)
Starting off the day I didn't know whether to continue adding blueprints or fix the projectile first, I decided to re-watch the video to try and figure out what went wrong and I noticed that the out row pin from the GetDataTable Row node wasn't plugged into the Set Tower Data node from the TowerSelectionWidget blueprint.
I needed to add box collision to the bush so that the colour of the ghost mesh would turn red to tell the player that they can't place it over a tower that's already placed.
This is the blueprint that snaps the mouse to the grid when placing a tower.
Here is my blueprint which allows you to place a tower if the ghost mesh is green and if you can't place one it turns red.
This is my runner structure for me to be able to set up wave spawning for the player I had to create different rows so that they would add to the data table. I added 5 rows which was wave, health, run speed, enemy count and mesh.
Here is my runner data table where I add rows that will set the wave settings and how many waves you can have. This lets you change which wave you are on, how much health the AI has, the walk/run speed of the AI and how many AI will spawn.
Here is my wave spawning blueprint which operates the wave spawning, it gets the data from the data table and spawns the enemy with the health and walk speed attached and also added a delay so they don't spawn every second.
No comments:
Post a Comment