The game is called "Circle the Aardvark in the Back of the Pickup Truck"
It is an arcade game roughly based off of the game "Whack-a-Mole". There is a 3X3 grid of pickup trucks, from which randomly appear either an aardvark, a sand lark, or Otto von Bismarck. The objective is to use the mouse to draw a closed figure that encloses any aardvarks on the screen, but misses any sand larks and Bismarcks.
Two functions basically make up the core of the game, and I am having trouble writing them.
One recognizes when a closed figure has been drawn by the mouse. I actually have a decent working version of this function, but it makes mistakes occasionally and I can't pinpoint quite why.
The other function identifies which objects are within the closed figure that has just been drawn. I have an idea of how this might be accomplished, but I haven't written any code because I suspect that my method is more complicated than necessary, and I don't think the array handling in AGS is fast enough for it to be a feasible option.
Any help would be greatly appreciated.
