Move toward data-ifying item SPics
This commit is contained in:
@@ -71,15 +71,11 @@ mvLaser phasev sp dir w pt =
|
||||
where
|
||||
dam = _ptDamage pt
|
||||
xp = sp +.+ 800 *.* unitVectorAtAngle dir
|
||||
-- thHit' = thingHit sp xp w
|
||||
(thHit, ps) = reflectLaserAlong phasev sp xp w
|
||||
|
||||
drawLaser :: Particle -> Picture
|
||||
--drawLaser pt = setLayer BloomNoZWrite $ pictures
|
||||
--[ setDepth 19 . color (brightX 0 0.5 col) $ thickLine 20 ps
|
||||
drawLaser pt =
|
||||
setLayer BloomNoZWrite $ pictures
|
||||
-- [ setDepth 19 . color (brightX 1 0.5 col) $ thickLine 20 ps
|
||||
[ setDepth 19.5 . color (brightX 10 1 col) $ thickLine 3 ps
|
||||
]
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user