File tree 2 files changed +33
-2
lines changed
2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1
1
// △ ▷ ▽ ◁
2
- // ━ ┃ ┏ ┓ ┗ ┛ ┣ ┫ ┳ ┻ ╋
3
2
// ═ ║ ╔ ╗ ╚ ╝ ╠ ╣ ╦ ╩ ╬
3
+ // ━ ┃ ┏ ┓ ┗ ┛ ┣ ┫ ┳ ┻ ╋
4
4
// https://colorhunt.co/palettes/sea
5
5
6
6
interface Level {
@@ -35,6 +35,31 @@ export const levels: Level[] = [
35
35
} ,
36
36
37
37
// 2
38
+ {
39
+ // prettier-ignore
40
+ map : [
41
+ '▷═╦═◁' ,
42
+ '╔═╬═╗' ,
43
+ '╚═╩═╝' ,
44
+ ] ,
45
+ scale : 1 ,
46
+ background : [ 172 , 226 , 225 ] ,
47
+ } ,
48
+
49
+ // 3
50
+ {
51
+ // prettier-ignore
52
+ map : [
53
+ '▽╔═╦═╗ ' ,
54
+ '╠╣╔╬╗╚╗' ,
55
+ '╚╣╠╩╬═╣' ,
56
+ ' ╚╩═╝ △' ,
57
+ ] ,
58
+ scale : 0.8 ,
59
+ background : [ 224 , 251 , 226 ] ,
60
+ } ,
61
+
62
+ // 4
38
63
{
39
64
// prettier-ignore
40
65
map : [
@@ -45,6 +70,6 @@ export const levels: Level[] = [
45
70
' ╚══╩══╝ ' ,
46
71
] ,
47
72
scale : 0.8 ,
48
- background : [ 224 , 251 , 226 ] ,
73
+ background : [ 220 , 242 , 241 ] ,
49
74
} ,
50
75
]
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ scene(Scene.game, (levelNumber: number) => {
7
7
levelNumber = 0
8
8
}
9
9
10
+ add ( [
11
+ text ( String ( levelNumber ) , { align : 'center' , size : 42 } ) ,
12
+ pos ( center ( ) . x , 24 ) ,
13
+ color ( 15 , 16 , 53 ) ,
14
+ ] )
15
+
10
16
setBackground ( ...getLevelBackground ( levelNumber ) )
11
17
const level = addLevel ( ...getLevel ( levelNumber ) )
12
18
You can’t perform that action at this time.
0 commit comments