Start to add respawn points, re-fix semi-auto triggers
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
module Dodge.Initialisation where
|
||||
module Dodge.Initialisation (initialWorld, splashScreen) where
|
||||
|
||||
import Control.Lens
|
||||
import Dodge.Creature
|
||||
import Dodge.Data.World
|
||||
import Dodge.Default.World
|
||||
import Dodge.SoundLogic
|
||||
import Geometry.Data
|
||||
import qualified IntMapHelp as IM
|
||||
import Dodge.SpawnAt
|
||||
|
||||
splashScreen :: World
|
||||
splashScreen =
|
||||
@@ -15,8 +14,9 @@ splashScreen =
|
||||
|
||||
initialWorld :: World
|
||||
initialWorld =
|
||||
defaultWorld
|
||||
& wCam . camZoom .~ 10
|
||||
& cWorld . lWorld . creatures .~ IM.fromList [(0, startCr)]
|
||||
& cWorld . lWorld . worldEvents .~ SoundStart BackgroundSound (V2 0 0) foamSprayFadeOutS Nothing :
|
||||
[MakeStartCloudAt (V3 x y 5) | x <- [-5, -4 .. 5], y <- [-5, -4 .. 5]]
|
||||
defaultWorld & spawnAt 0
|
||||
-- & wCam . camZoom .~ 10
|
||||
-- & cWorld . lWorld . creatures .~ IM.fromList [(0, startCr)]
|
||||
-- & cWorld . lWorld . worldEvents .~ SoundStart BackgroundSound (V2 0 0) foamSprayFadeOutS Nothing :
|
||||
-- [MakeStartCloudAt (V3 x y 5) | x <- [-5, -4 .. 5], y <- [-5, -4 .. 5]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user