lynxAi
Member
the simply whake the mole
private void moveMole()
{
isHit = false;
Mole.Enabled = true;
Mole.Image = Properties.Resources.Mole;
Mole.BackColor = System.Drawing.Color.Transparent;
locationNum = rabg.Next(1,7);
switch (locationNum)
{
case 1:
Mole.Location = new Point(79, 75);
break;
case 2:
Mole.Location = new Point(258,76);
break;
case 3:
Mole.Location = new Point(436,76);
break;
case 4:
Mole.Location = new Point(84, 342);
break;
case 5:
Mole.Location = new Point(257,344);
break;
case 6:
Mole.Location = new Point(434,345);
break;
default:
break;
}
each hole are link a new point, But RUN this game:
the mole can't appear on the hole.
HELP ME!!
Attachments
Last edited: