Thursday, January 24, 2019

Week 12 - Christmas - PVP tower Defence Game




What I have been doing?:

I decided to not take a Break over Christmas for developing my ideas, instead, I have started to create a Player Vs Player Tower defense Game to better understand multiplayer replication and Server/Client relationships.

What I am hoping to achieve is to get 2 phones connecting through local wifi into the same game world.

The theory and practice of replication within UE4 are the same regardless of creating 2 Virtual reality games or 2 mobile phone games. I just have easier access to 2 mobile phones than 2 Vive headsets and 2 PC's over Christmas.

The Development of the Game was a enjoy over time, once I managed to set the grid in place with hex tiles without getting any out of line (I did originally consider making a grid creator but I wanted to leave that till after I had a game going) i wanted to create the path that the Units each player would send would actually travel down. I created 1 spawn grid tile and 1 end grid tile. I then set up a line trace to create a spline that would go from one to the other, I was able to create the Units from a Button Click on the HUD and move along the spline using a navigation volume, but the spline wasn't able to be moved by blocking towers. i had to create a system that makes a line down from the spline checks for the closest grid square, makes an actor, then makes another spline along the actors to give a great navigation pathing, just took a few days to figure out.

i want each of the players to be able to send units and Build towers that can be seen from the Other player next and i will spend the next few days getting that going, here are some links to me progressing with the spline that makes a spline.


Stage 1 : https://youtu.be/Uo5_6hPZB7c
Stage 2 : https://youtu.be/I_J1DaFAOcQ
Stage 3 : https://youtu.be/mH_pnosfcbY
Stage 4 : https://youtu.be/zxR7re8Xu8Y

Learning about 2 player Replication : https://youtu.be/FZXr3QeYVZk

No comments:

Post a Comment