Skip to content
Snippets Groups Projects
Commit 45d38eae authored by pdw's avatar pdw
Browse files

finalized levels; fixed green wall palette

parent 943234af
Branches
No related tags found
No related merge requests found
Pipeline #292683076 passed
......@@ -61,7 +61,7 @@ level =
, ( ( 6, 2 ), Level.Door Color.Green )
]
, text =
[ "Placeholder text"
[ "Just a normal level, nothing to see here."
]
}
, color =
......
......@@ -73,7 +73,7 @@ level =
, ( ( 1, 5 ), Level.Door Color.Green )
]
, text =
[ "Placeholder text"
[ "Where are you going to find enough yellow?"
]
}
, color =
......
......@@ -67,7 +67,7 @@ level =
, ( ( 6, 2 ), Level.Door Color.Yellow )
]
, text =
[ "Placeholder text"
[ "I couldn't think of any text to put here."
]
}
, color =
......
module Levels.End exposing
( level
)
import Dict
import Color
import Level
import Level.Position as Position
level =
{ parentItem =
( 1
, 1
)
, entranceDirection =
Position.Right
, statics =
{ terrain =
Dict.fromList
[ ( ( 4, 4 ), Level.Wall )
]
, text =
[ "Congratulations!"
, "This is the end of the game."
]
}
, items =
Dict.fromList
[ ( ( 6, 2 )
, Level.Atomic Color.Purple
)
, ( ( 6, 4 )
, Level.Atomic Color.Blue
)
, ( ( 6, 6 )
, Level.Atomic Color.Green
)
, ( ( 4, 6 )
, Level.Atomic Color.Yellow
)
, ( ( 2, 6 )
, Level.Atomic Color.Red
)
]
, color =
Color.Colorless
}
......@@ -9,6 +9,7 @@ import Level
import Level.Position as Position
import Levels.F1
import Levels.E1
import Levels.End
level =
{ parentItem =
......@@ -25,21 +26,21 @@ level =
, ( ( 6, 8 ), Level.Door Color.Purple )
, ( ( 7, 6 ), Level.Door Color.Purple )
, ( ( 8, 6 ), Level.Door Color.Purple )
, ( ( 0, 2 ), Level.Plate )
, ( ( 0, 6 ), Level.Plate )
, ( ( 2, 0 ), Level.Plate )
, ( ( 6, 0 ), Level.Plate )
, ( ( 0, 4 ), Level.Plate )
, ( ( 4, 0 ), Level.Plate )
, ( ( 0, 0 ), Level.Wall )
, ( ( 0, 1 ), Level.Wall )
, ( ( 0, 3 ), Level.Wall )
, ( ( 0, 4 ), Level.Wall )
, ( ( 0, 2 ), Level.Wall )
, ( ( 0, 5 ), Level.Wall )
, ( ( 0, 6 ), Level.Wall )
, ( ( 0, 7 ), Level.Wall )
, ( ( 0, 8 ), Level.Wall )
, ( ( 1, 0 ), Level.Wall )
, ( ( 2, 0 ), Level.Wall )
, ( ( 3, 0 ), Level.Wall )
, ( ( 4, 0 ), Level.Wall )
, ( ( 5, 0 ), Level.Wall )
, ( ( 6, 0 ), Level.Wall )
, ( ( 7, 0 ), Level.Wall )
, ( ( 8, 0 ), Level.Wall )
]
......@@ -50,22 +51,16 @@ level =
}
, items =
Dict.fromList
[ ( ( 2, 0 )
[ ( ( 0, 4 )
, Level.Realized
Levels.F1.level
)
, ( ( 6, 0 )
, ( ( 4, 0 )
, Level.Realized
Levels.E1.level
)
, ( ( 0, 2 )
, Level.Atomic Color.Purple
)
, ( ( 0, 6 )
, Level.Atomic Color.Purple
)
, ( ( 7, 7 )
, Level.Atomic Color.Yellow
, Level.Realized Levels.End.level
)
]
, color =
......
......@@ -57,7 +57,7 @@
h -1
z"/>
<path fill="#005514"
<path fill="#00791c"
d="M 2,3
h 1
v 1
......@@ -65,7 +65,7 @@
v 1
h -2
z"/>
<path fill="#005514"
<path fill="#00791c"
d="M 15,3
h 1
v 1
......@@ -73,7 +73,7 @@
v 1
h -2
z"/>
<path fill="#005514"
<path fill="#00791c"
d="M 15,16
h 1
v 1
......@@ -81,7 +81,7 @@
v 1
h -2
z"/>
<path fill="#005514"
<path fill="#00791c"
d="M 2,16
h 1
v 1
......@@ -90,7 +90,7 @@
h -2
z"/>
<path fill="#005514"
<path fill="#00791c"
d="M 8,8
L 9,8
L 9,7
......@@ -147,7 +147,7 @@
11,8
z"/>
<path fill="#005514"
<path fill="#00791c"
d="M 8,6 L
8,5
12,5
......
......@@ -28,7 +28,7 @@
L 17,18
L 2,18
z"
fill="#005514" />
fill="#00791c" />
<path d="M 3,4
L 4,4
......@@ -55,5 +55,5 @@
L 17,16
L 17,3
z"
fill="#005514" />
fill="#00791c" />
</svg>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment