not able to display image in monogame
Im making a simple game for a uni project. however when the player collides with the enemy an end screen is supposd to show up which in this case is not. im quite unsure what could possibly cause that
1 Reply
i first have an
int thats set to 1
then in the collision handler i set the int to --; so once the player collides with the enemy the amount of lives turn to 0
and in my draw method i gave an if statement in which an end screen is gonna dispaly when lives reaches 0