Okay, I have a problem. I am making something which there is a lawn mower, and it mows grass (uduh!). Don’t ask what it is…
Anyways, the lawn mower is just a rectangle. The lawn mower moves around on the screen, on an area of grass. Now, what would be the best way to figure out how many blades of grass it has mowed? Attaching 160,000 blades of grass movie clips (1 pixel each on 400x400 area) and performing thousands of hitTests per frame isn’t a good idea. I need to show the path of the lawn mower (A darker color than the grass means its already been mowed).
So how Would I figure out how many blades of grass it has mowed. This means that if the lawn mower goes over the same position twice, it can’t mow those blades of grass again.
What is the best way to achieve this?