Add dust on bullet wall hit
This commit is contained in:
@@ -328,7 +328,7 @@ ltAutoGun = defaultAutoGun
|
||||
, withRandomDirI 0.1
|
||||
, torqueAfterI 0.2
|
||||
, withSidePushI 50
|
||||
, withMuzFlareI
|
||||
, modClock 2 withMuzFlareI
|
||||
]
|
||||
, _wpSpread = 0.5
|
||||
, _wpRange = 20
|
||||
@@ -388,6 +388,7 @@ miniGun = defaultAutoGun
|
||||
, withRandomOffsetI 9
|
||||
, withMuzFlareI
|
||||
, withOldDir od3
|
||||
, withSmoke 1 black 20 200 5
|
||||
]
|
||||
, _wpRange = 20
|
||||
, _itFloorPict = onLayer FlItLayer miniGunPict
|
||||
@@ -948,7 +949,7 @@ moveRemoteShell cid itid pj w
|
||||
hitWl = fst <$> collideCircWalls oldPos newPos 2 (wallsNearPoint newPos w)
|
||||
thingHit = hitCr <|> hitWl
|
||||
r1 = _randGen w & evalState (randInCirc 10)
|
||||
smokeGen = makeSmokeCloudAt $ addZ 20 $ oldPos +.+ r1 +.+ 30 *.* normalizeV (oldPos -.- newPos)
|
||||
smokeGen = shellTrailCloud $ addZ 20 $ oldPos +.+ r1 +.+ 30 *.* normalizeV (oldPos -.- newPos)
|
||||
doExplosion = explodeRemoteRocket itid i
|
||||
|
||||
explodeRemoteRocket
|
||||
|
||||
Reference in New Issue
Block a user