The sprite shows up scaled twice like it is supposed to but the image can only be clicked from x 180 to 540 and y 180 to 540 which is the same original size. I have got this working many times before so I do not know why I can not do it this time..
Gama11
unread,
Feb 14, 2016, 4:04:08 PM2/14/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to HaxeFlixel
MouseEventManager does pixel-perfect overlap checks by default - and it uses the unscaled sprite for that. To base the overlap checks on the hitbox of the sprite, set the PixelPerfect argument of add() to false.