Problem description: Before I continue, does bound use the center of an icon and outward or does it use the bottonleft corner? |
Apr 28 2013, 7:23 am
Best response
|
|
The bounding box of an atom starts at the bottom left corner. You can move the start point via bound_x and bound_y. The bounds() proc searches everything in a bounding box.
|
So if I have a 32x32 icon and make an icon that's 16x16 in the bottom left corner, would using bound_width=16 and bound_height=16 make it so only the actual icon is bounding, not the entire box?
|
Exactly.
As a side note, pixel movement has one of the most thorough explanations out of everything in the offline help menu, so read that. F1 is always your best friend. |
thanx, I didn't know they went so thorough in detail, I only use F1 when I forget something simple like if walk_to() uses Ref then Trg or vice versa lol. Another quick question, does pixel movement lag more than regular movement with many players on at once?
|
In response to Critical172
|
|
Seeing as it is more complex, I would assume it has the potential to slow things down more than tile-based movement, but I haven't seen this happen yet.
|