Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Etcher Squared Games on Wed 09/03/2005 14:49:11

Title: GetObjectAt is offset [SELF SOLVED]
Post by: Etcher Squared Games on Wed 09/03/2005 14:49:11
First, before anyone says anything, Scummbuddy gave me permission to resubmit this so that it can become a beginners FAQ item.Ã,  Scummbuddy deleted the thread thinking I wouldn't want it on the board anymore.

My problem was this:
GetObjectAt was not working as expected because objects would activate higher than expected, but the bottom of the object would NOT trigger the GetObjectAt function.

The solution:
As embarassing as it is, the solution was: my hotspot on the cursor was not exactly where I expected it.Ã,  It was, of course, offset a few pixels too low.Ã,  Once I reset it, it was all good.