How do I get my player to die and respawn?,How would I create a game loop for this game?
I am in a pinch, I need to complete this project by 6pm tomorrow and am trying to get the game to allow for me to kill the player, respawn him, and count each time he dies as well as upon player collision with a flower end the game. here is the link to my code. https://drive.google.com/open?id=1Gt8Hv0NGEa5PKN6V5eQa_tvW2B-_QiGk
any help would be greatly appreciated, my coding is decent but probably not up to snuff :),I am trying to create a 1 level game for my class that's due tomorrow at 6. most of it is complete, but Im having issues with getting the character to die and respawn as well as to end the game. How would I code this in C#? attached are my files if anyone wants to help me out. the assets are free as well. https://drive.google.com/open?id=1Gt8Hv0NGEa5PKN6V5eQa_tvW2B-_QiGk