hi i am building a tower defence game but i need a to make it so when the live are 0 the game ends . you start out with 20 lives and so i want to make it so when the lives reach 0 the game ends and takes me to another layout.
I also want to make it so when the currency is lower than 20 you cant build towers. right now if you press on anywhere where you are allowed to place a turret you can place infinte turrets. The money logic and the when i build a turret my money gets less i have alredy made and it works.
Thanks pls pls help it would be very helpful