- Go to Assets > Scenes > prefebs, there are several game objects that needs to be added with some tags.
- Find “SpeedUpBase” prefab, add tag “SpeedUpbase” and layer “Base” to it as shown in the figure below:
- Find “UnlimitedAmmoBase Varianat” prefab, add tag “AmmoBase” and layer “Base” to it as shown in the figure below:
- Find “AmmoPlusBase” prefab, add tag “AmmoPlusBase” and layer “Base” to it as shown in the figure below:
- Find “ZombieController” prefab, add tag “Enemy” to it as shown in the figure below:
- Find “PlayerController” prefab, add tag “Player” to it as shown in the figure below:
Go to folder Assets > Scenes > prefebs > PickUps
, there are several pickup game objects that needs to be added with some tags.
- Find “SM_BoxAmmo_003 variant” and “SM_BoxAmmo_003 variant 1” prefab, add tag “Ammo” to it as shown in the figure below:
- Find “healthPickUp” and “healthPickUp1” prefabs, add “HealthPack” tag to both of them.
- Go to
Assets > Scenes > prefebs > MainScene
, find “InitialBase1”, “InitialBase2”, “InitialBase3”, “InitialBase4” under Bases object, add tag “InitialBase” and layer “Base” to them.
AS it shows in figure 10, there are two scenes in this game. Firstly, drag MenuScene to the Build settings and then drag MainScene to the Build settings.
Figure 10. Build Setting for the sceneTo start the game, Firstly, set up the display resolution to Full HD (1920 X 1080), double click Menu Scene in the Assets > Scenes. Then, click Play button, the game should perform properly.