Basically, im creating a basic pacman/snake game, ive got the movements set up and all my bits and bobs but im having trouble setting up a perimiter around the "food" image to detect if the pacman is within it to allow him to "eat" the food.
The pic below explains what i mean...
View attachment example.bmp
Ive tried creating a box around the image which is +10, -10 for each edge on the x and y axis but it wont let me do it and is showing the following error.
View attachment example2.bmp
any help would be greatly apreciated!
Thanks
The pic below explains what i mean...
View attachment example.bmp
Ive tried creating a box around the image which is +10, -10 for each edge on the x and y axis but it wont let me do it and is showing the following error.
View attachment example2.bmp
any help would be greatly apreciated!
Thanks