Tweak smoke cloud
This commit is contained in:
@@ -360,6 +360,7 @@ startCr = defaultCreature
|
|||||||
,medkit 50
|
,medkit 50
|
||||||
,bezierGun
|
,bezierGun
|
||||||
,poisonSprayer
|
,poisonSprayer
|
||||||
|
,blinkGun
|
||||||
]
|
]
|
||||||
++ repeat NoItem))
|
++ repeat NoItem))
|
||||||
-- startInv
|
-- startInv
|
||||||
|
|||||||
@@ -45,5 +45,3 @@ updatePressedButtonsCarte keys w
|
|||||||
rot = angleBetween (_mousePos w) (_clickMousePos w)
|
rot = angleBetween (_mousePos w) (_clickMousePos w)
|
||||||
zoom = magV (_mousePos w) / magV (_clickMousePos w)
|
zoom = magV (_mousePos w) / magV (_clickMousePos w)
|
||||||
trans = rotateV (_carteRot w) $ (1 / _carteZoom w) *.* (_mousePos w -.- _clickMousePos w)
|
trans = rotateV (_carteRot w) $ (1 / _carteZoom w) *.* (_mousePos w -.- _clickMousePos w)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ makeThinSmokeAt :: Point2 -> World -> World
|
|||||||
makeThinSmokeAt = makeCloudAt 5 400 (drawCloudWith 4 400 (withAlpha 0.05 black))
|
makeThinSmokeAt = makeCloudAt 5 400 (drawCloudWith 4 400 (withAlpha 0.05 black))
|
||||||
|
|
||||||
makeSmokeCloudAt :: Point2 -> World -> World
|
makeSmokeCloudAt :: Point2 -> World -> World
|
||||||
makeSmokeCloudAt = makeCloudAt 5 200 (drawCloudWith 4 200 (greyN 0.5))
|
--makeSmokeCloudAt = makeCloudAt 10 200 (drawCloudWith 2 200 (greyN 0.5))
|
||||||
|
makeSmokeCloudAt = makeCloudAt 15 400 (drawCloudWith (4/3) 800 (greyN 0.5))
|
||||||
|
|
||||||
makeFlamerSmokeAt :: Point2 -> World -> World
|
makeFlamerSmokeAt :: Point2 -> World -> World
|
||||||
makeFlamerSmokeAt = makeCloudAt 3 200 (drawCloudWith 4 200 (greyN 0.5))
|
makeFlamerSmokeAt = makeCloudAt 3 200 (drawCloudWith 4 200 (greyN 0.5))
|
||||||
|
|||||||
Reference in New Issue
Block a user