So i got this collision detection via events, goes like this:
+ System: [negated] Sprite.Right Lower or equal Sprite2.Left
+ System: [negated] Sprite2.Right Lower or equal Sprite.Left
+ System: [negated] Sprite.Bottom Lower or equal Sprite2.Top
+ System: [negated] Sprite2.Bottom Lower or equal Sprite.Top
-> System: Set global variable 'collision' to 1
+ System: Else
-> System: Set global variable 'collision' to 0
works fine, problem is though it has a 1px error,
for example, if i set move to stop it if detects collision,
it does but overlapping 1px into the other object.
any ideas on how to optimize this?
or invert it, so that it checks for non-collision, and if so it returns 1.
thanks