Implement multiple radial distortion rendering
This commit is contained in:
@@ -59,10 +59,12 @@ blinkAction
|
||||
-> World
|
||||
-> World
|
||||
blinkAction cr w = soundOnce teleSound
|
||||
. set radDistortion distortionBulge
|
||||
. set (creatures . ix cid . crPos) p3
|
||||
. blinkShockwave cid p3
|
||||
$ inverseShockwaveAt cpos 40 2 2 2 w
|
||||
where
|
||||
distortionBulge = [(p3,p3 +.+ (40,0), p3 +.+ (0,40),0.5)]
|
||||
cid = _crID cr
|
||||
p1 = mouseWorldPos w
|
||||
cpos = _crPos cr
|
||||
|
||||
Reference in New Issue
Block a user