Allow for bullet drag
This commit is contained in:
@@ -35,6 +35,7 @@ createBarrelSpark pos dir maycid time colid w = w
|
||||
{ _ptDraw = drawBul
|
||||
, _ptUpdate = mvBullet
|
||||
, _btVel' = rotateV dir (V2 5 0)
|
||||
, _btDrag = 0.9
|
||||
, _btColor' = numColor colid
|
||||
, _btTrail' = [pos]
|
||||
, _btPassThrough' = maycid
|
||||
|
||||
Reference in New Issue
Block a user