mob/verb
Shake()
set hidden = 1
if(client)
client.eye = locate(x-1, y, z)
sleep(1)
client.eye = locate(x+1, y, z)
client.eye = locate(x, y-1, z)
sleep(1)
client.eye = locate(x, y+1, z)
client.eye = client.mob
Problem description:
Hey guys, today I came up with a nice little effect of shaking, which happens when successfully landing an attack on someone. It's pretty awesome to me, but it's a little too wild. This throws it around with coordinates, so it jumps tiles at a time. I'd like it if I could move it by pixels instead, but the reference yielded no hints as to how to do this.. except this one bit;
"The eye's step_x/y vars, if present, are also used to allow smooth scrolling of the map. These also obey lazy_eye and edge_limit. "
Anyone have any idea how to achieve such an effect?
In one of my older projects I had this: