Add PlasmaBalls
This commit is contained in:
@@ -893,10 +893,10 @@ shootPulseBall (p, q) w =
|
||||
w
|
||||
& cWorld . lWorld . pulseBalls . at i
|
||||
?~ PulseBall
|
||||
{ _pbPos = p ^. _xy
|
||||
, _pbVel = 3.5 * unitVectorAtAngle (Q.qToAng q)
|
||||
, _pbTimer = 200
|
||||
, _pbID = i
|
||||
{ _pzbPos = p ^. _xy
|
||||
, _pzbVel = 3.5 * unitVectorAtAngle (Q.qToAng q)
|
||||
, _pzbTimer = 200
|
||||
, _pzbID = i
|
||||
}
|
||||
& soundStart (PBSound i) (p ^. _xy) energyReleaseS Nothing
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user