obj
tech
Manablast
icon='blast.dmi'
icon_state="energyblast"
Click()
var/turf/techloc = get_step(usr.loc,usr.dir)
var/obj/projectiles/manablast/M = new(techloc)
M.owner = usr
M.dir = usr.dir
M.Fire()
Problem description:
Using step_size set to 8 for mobs and objs (a default for a new project these days) looks very smooth, I prefer it to moving an entire tile. But I'm having a problem where the projectile is sometimes created ontop of the player instantly causing Bump() to be activated.
In the Fire() proc I have it set to walk(src,src.dir,1)
I would like to be able to create a new object in front of the usr with the correct amount of pixels so there's no accidental collision. What would be a good way to go about this?