I have a homework assignment due on friday and I need help! I've only started using processing this week so please be nice :p
My idea is a simple game where the user would use the mouse (wateringcan.png) and click within the image (grass) and another image (bulb) will pop up and then when you click on the image (grass) again, a 2nd image will pop up (flower).
Problem: I can click anywhere on the background and the bulb and flower will pop up. I want to only be able to click the "grass" image and the bulb and flower will pop up.