|
Post by nra on Jan 12, 2013 3:30:50 GMT
Hello Jonathan)
There's another question I hope to solve:
Is it possible to get an object X;Y position?
As far as I understand, it's not a part of its properties (unlike SPRITEs), so the only way to find its position on the screen is moving a sprite every line and column (with 16x16 offset) to get the required OBJ, right?
What if it's not sprite-aligned?
|
|
|
Post by Jonathan Cauldwell on Jan 12, 2013 13:51:52 GMT
No, there's no easy way to find on object's coordinates.
Alignment doesn't matter too much, AGD should detect a collision between a sprite and an object with a single pixel overlap.
|
|
|
Post by nra on Jan 13, 2013 11:43:52 GMT
Thank you, Jonathan. So objects are treated like blocks, right? Now I understand why it cannot be animated, but keep wondering about the colours...
|
|