Refactor text rendering
This commit is contained in:
@@ -396,9 +396,9 @@ longGun = defaultGun
|
||||
, _itIdentity = LongGun
|
||||
, _wpMaxAmmo = 1
|
||||
, _wpLoadedAmmo = 1
|
||||
, _wpReloadTime = 80
|
||||
, _wpReloadTime = 100
|
||||
, _wpReloadState = 0
|
||||
, _wpReloadType = PassiveReload sineRaisePitchOneSecSound
|
||||
, _wpReloadType = PassiveReload skwareFadeTwoSecSound
|
||||
, _itUseRate = 100
|
||||
, _itUseTime = 0
|
||||
, _itUse = shootWithSound (fromIntegral longGunSound)
|
||||
|
||||
@@ -16,7 +16,7 @@ makeLaserScope
|
||||
-> Float -- ^ Fraction of red/green
|
||||
-> Particle
|
||||
makeLaserScope p ep relFrac = Particle
|
||||
{_ptDraw = const $ onLayer PtLayer $ pictures
|
||||
{_ptDraw = const $ setLayer 1 $ onLayer PtLayer $ pictures
|
||||
[lineAlphaThick 0.5 0.5
|
||||
,lineAlphaThick 0.2 1.5
|
||||
,lineAlphaThick 0.1 2
|
||||
|
||||
Reference in New Issue
Block a user