I’m getting the following error on starting up the game. Doesn’t crash but I worry it might create some problems later on. The game right now is just working through the steps of the first game tutorial in the docs.
Config file validation failed.
data/audio must be string, data/audio must have required property ‘audioTriggers’, data/audio must have required property ‘options’, data/audio must match a schema in anyOf, data/common must have required property ‘layout’, data/audio must be string, data/audio must have required property ‘audioTriggers’, data/audio must have required property ‘options’, data/audio must match a schema in anyOf, data must have required property ‘gameTitle’, data must have required property ‘saveFileName’, data must have required property ‘layout’, data must have required property ‘hudStats’, data must match a schema in anyOf
common config error: Error: data must have required property ‘layout’
Browser is firefox, OS is windows 10
I tried looking over the logs but because I’m new to this I couldn’t find any problems myself
The files I have edited…
common.yaml:
gameTitle: 'Narrat Basics Tutorial'
saveFileName: 'Narrat Demo'
dialogPanel:
overlayMode: false
rightOffset: 0
bottomOffset: 0
width: 400
height: 720
textSpeed: 20
animateText: false
timeBetweenLines: 100
hudStats:
money:
icon: img/ui/money.webp
name: $
startingValue: 200
minValue: 0
screens.yaml
screens:
default:
background: img/backgrounds/default.webp
harbor:
background: img/backgrounds/harbor.webp
hunt:
background: img/backgrounds/hunt_departure.webp
road:
background: img/backgrounds/windswept_road.webp
characters.yaml
config:
imagesPath: './img/characters/'
characters:
game:
name: ''
color: white
player:
style:
color: orange
sprites:
idle: none
name: You
francis:
sprites:
idle: francis.webp
style:
color: white
name: Francis
isaac:
sprites:
idle: isaac.webp
style:
color: white
name: Isaac
philip:
sprites:
idle: philip.webp
style:
color: white
name: Philip
audio.yaml
files:
vivaldi:
loop: false
src: music/vivaldiConcerto.mp3
mozart:
loop: false
src: music/mozartQuintet.mp3
click:
src: audio/click.ogg
game_start:
volume: 0.9
src: audio/game_start.ogg
failure:
src: audio/failure.ogg
the demo.narrat file is just
main:
"Example text."
"More example text."
Any insights appriciated