I will be quick and to the point with this.
Is there any way besides pixel movement to make a projectile hit wherever the icon touches without multi-tiling it?
ID:156931
Jun 30 2010, 2:47 pm
|
|
Jun 30 2010, 3:12 pm
|
|
In response to Garthor
|
|
Aah, I see. This is useful, thank you. Would there be a way to handle projectiles that are not multiples of 4x4? Like, 32x64?
EDIT: Also, I just noticed something. This will not work, because the actual object is in the SouthWest corner. It will check the right areas, but also extra areas where it wouldn't normally hit. |
In response to Albro1
|
|
Use block(), then.
|
In response to Garthor
|
|
And how exactly would block() help? My projectile is an object and it hits a mob. block() only returns turfs.
|
In response to Albro1
|
|
for(var/turf/T in block(A,B)) |