Ok, thanks
How to make a motion border for sprites with if statments?
Root / Programming Questions / [.]
Techster14Created:
Now about that collision system...
A: the edit button is your friend B: if x1+w1>x2 and x1<x2+w2 and y1+h1>y2 and y1<y2+h2Is this for the collision? It seems like code for the border thing.
So to use the given parameters, object1 is a diamond and object2 is a flame, obj1xywh(16,16,9,13) and obj2xywh(32,32,9,13), given these theoretical values, should my code be:
if 16+9>32 and 16<32+9 and 16+13>32 and 16<32+13