Narrat Docs
Search…
Example Config
Those example config files are the ones used in the narrat demo
Those example config files are the ones used in the narrat demo. For the most up to date versions, visit the GitHub links.

Game Config

narrat-demo/config.json at main · liana-pigeot/narrat-demo
GitHub
Example game config.json

Characters Config

narrat-demo/characters.json at main · liana-pigeot/narrat-demo
GitHub
1
{
2
"config": {
3
"imagesPath": "./img/characters/"
4
},
5
"characters": {
6
"game": {
7
"name": "",
8
"color": "white"
9
},
10
"player": {
11
"style": {
12
"color": "orange"
13
},
14
"name": "You"
15
},
16
"cat": {
17
"sprites": {
18
"idle": "cat_idle.jpg"
19
},
20
"style": {
21
"color": "white"
22
},
23
"name": "Generic Cat"
24
},
25
"helper": {
26
"sprites": {
27
"idle": "helper_cat.png"
28
},
29
"style": {
30
"color": "green"
31
},
32
"name": "Helper Cat"
33
},
34
"music_cat": {
35
"sprites": {
36
"idle": "music_cat.jpeg"
37
},
38
"style": {
39
"color": "green"
40
},
41
"name": "Music Cat"
42
},
43
"inner": {
44
"sprites": {
45
"idle": "inner_voice.png"
46
},
47
"style": {
48
"color": "red"
49
},
50
"name": "Inner Voice"
51
}
52
}
53
}
54
Copied!