Commit before attempting to unify hammers for used items
This commit is contained in:
@@ -8,4 +8,5 @@ drawBul :: Particle -> Picture
|
||||
drawBul pt = setLayer BloomNoZWrite
|
||||
. setDepth 20
|
||||
. color (_ptColor pt)
|
||||
$ thickLine (_ptWidth pt) (take 3 $ _ptTrail pt)
|
||||
-- $ thickLine (_ptWidth pt) (take 3 $ _ptTrail pt)
|
||||
$ thickLine (_ptWidth pt) (take 2 $ _ptTrail pt)
|
||||
|
||||
@@ -73,6 +73,7 @@ colSparkRandDir randDir time col pos baseDir w = w
|
||||
dir = a + baseDir
|
||||
spark = BulletPt
|
||||
{ _ptDraw = drawBul
|
||||
--{ _ptDraw = const mempty
|
||||
, _ptUpdate = mvBullet
|
||||
, _btDrag = 0.9
|
||||
, _ptVel = rotateV dir (V2 5 0)
|
||||
|
||||
Reference in New Issue
Block a user