Commit before attempt to unify picture rendering
This commit is contained in:
@@ -88,7 +88,20 @@ defaultWorld = World
|
||||
, _debugFlags = defaultDebugFlags
|
||||
, _inventoryMode = TopInventory
|
||||
, _lClickHammer = HammerUp
|
||||
, _foregroundDecorations =
|
||||
[setDepth (-0.2) $ rotate 0.75 $ pictures
|
||||
$ map f [5,25,45,65]
|
||||
]
|
||||
, _midgroundDecorations =
|
||||
[setDepth (-0.1) $ color orange $ pictures
|
||||
[ polygon $ rectNSEW 50 40 140 (-20)
|
||||
, translate 60 45 $ thickArc 0 pi 75 10
|
||||
]
|
||||
]
|
||||
}
|
||||
where
|
||||
f x = polygon $ rectNSEW (x - 20) (x-22) 500 0
|
||||
|
||||
defaultCreature :: Creature
|
||||
defaultCreature = Creature
|
||||
{ _crPos = (0,0)
|
||||
|
||||
Reference in New Issue
Block a user