I'm thinking about adding a small snowball fight minigame that you have with the children villagers on the way to an ice cave dungeon.
I'm unsure how to go about this but I know there will be 3 opponents. 1 that follows you, 1 that runs around randomly, and 1 that runs away from you.
all of them will be throwing snowballs at different speed frequencies.
once you are hit 3 times you lose and the minigame ends. when an opponent gets hit 3 times they will be taken out of the minigame but you can keep going.
when all 3 opponents have been hit 3 times the minigame ends with you as the victor.
again I'm unsure about how to code this properly as I need snowballs to leave the player after pressing a button and travel a certain distance in the direction the player is facing.
I'm also unsure about how the opponents will take damage when a snowball collides with them.
if anyone has some technical know-how on how to make this possible I would be very appreciative.
I'm unsure how to go about this but I know there will be 3 opponents. 1 that follows you, 1 that runs around randomly, and 1 that runs away from you.
all of them will be throwing snowballs at different speed frequencies.
once you are hit 3 times you lose and the minigame ends. when an opponent gets hit 3 times they will be taken out of the minigame but you can keep going.
when all 3 opponents have been hit 3 times the minigame ends with you as the victor.
again I'm unsure about how to code this properly as I need snowballs to leave the player after pressing a button and travel a certain distance in the direction the player is facing.
I'm also unsure about how the opponents will take damage when a snowball collides with them.
if anyone has some technical know-how on how to make this possible I would be very appreciative.