Objective of the game: An object detection game. Using arrow keys on the computer keyboard, the man can move up, down, left, and right. The goal of the game is to obtain 10 coins. The man will touch the gold coin, the coin will disappear, the number of coins will increase by 1, and another coin will reappear. Exact same with the bomb, but the number of coins will Decrease by 1. Once hitting 10, the game will end.
My issue: I have already coded but having some issues to it. I am unable to code the object detection between the man and the coin/bomb. Then, I have to make the coin/bomb (after it collides with the man) disappear and reappear in another area. I have already programmed the man to move around, but nothing occurs when the man crosses the coin/bomb.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here