i have the problem if enemy hit player until the player die, the audio of gameover panel was looping until I click the restart button it will be stopped. please how to fix it?
@@GDTitans i have already uncheck the loop option but it's still looping every enemy hit the player until die, can you please update the repo of the code please? btw thanks for the great tutorial, it was helpful for me!
@@zolagibrari don't know if u still need to fix it or no but i solved that problem with making another spawnpoint to other position so that when character die, the zombie cant detect player gameobject because character teleported to other Spawnpoint when the gameobject is not active/false This is tutorial/step to fix the problem Open playercollision Script First make this public GameObject player; // put player prefab on player character public GameObject respawnPoint; // make new Empty gameobject and locate or move it to other spot that willnt detected zombie then drag to player script collision for respawn point [ code ] -> player.transform.position = respawnPoint.transform.position; Put this code under gameObject.SetActive(false); I know this code its not good but atleast this can fix the problem 🎉
Can you make a video about a sword combat system in unity
i have the problem if enemy hit player until the player die, the audio of gameover panel was looping until I click the restart button it will be stopped. please how to fix it?
Uncheck the loop option from the audio
ruclips.net/video/dS9my809VJk/видео.htmlsi=Y8AX61J8kVE0PEvt&t=160
@@GDTitans i have already uncheck the loop option but it's still looping every enemy hit the player until die, can you please update the repo of the code please? btw thanks for the great tutorial, it was helpful for me!
@@zolagibrari don't know if u still need to fix it or no but i solved that problem with making another spawnpoint to other position so that when character die, the zombie cant detect player gameobject because character teleported to other Spawnpoint when the gameobject is not active/false
This is tutorial/step to fix the problem
Open playercollision Script
First make this
public GameObject player; // put player prefab on player character
public GameObject respawnPoint; // make new Empty gameobject and locate or move it to other spot that willnt detected zombie then drag to player script collision for respawn point
[ code ] -> player.transform.position = respawnPoint.transform.position;
Put this code under
gameObject.SetActive(false);
I know this code its not good but atleast this can fix the problem 🎉
@@zolagibrardid you fix it yet?
@@zolagibrarif so,then tell me how
If I want to make multiple zombie,I just have to duplicate?Also how do I increase the damage for the zombie?
Can you make a video about a sword combat system in unity
Playlist Link: bit.ly/3dg1X88
How to add attack male on mobile 2d platform, please help me, I didn't find any tutorial 😢
brother i created 3 levels but my player spawns at unknown location please help
love you man so helpful for me
Glad to hear it!