Currently there is no way to determine a starting point or location based on pixels.
For instance if I wanted to create a projectile 8 pixels away from my character no matter what direction they were facing.
It just seems a bit of a drawn out process to do that and I've been told if you end up doing something repeatedly there should be a proc for it somewhere (hence my request).
ID:932040
Aug 15 2012, 8:43 am
|
|||||||
| |||||||
I like your dir2offset. It's now going into my ProcLib, because it's ~2x faster than mine.
| ||
#3 Aug 15 2012, 11:15 am
|
|
Doing this as a multidimensional list though is pretty pointless; you're adding an extra lookup operation to no effect and wasting a list. If this is for a library though, then I'd suggest prefixing the var names with something so there's no chance of them being used in the main project's code.
| |

The calculations involved are quite easy to handle in soft code however.