Just started to developing my game, filled up a characters.yaml and game.narrat and find out that on this change of lines
talk Nadya idle "..."
talk lesha idle "..."
Only the first character image appears on screen, that’s not a problem with the image since if i swap the entire line that starts with idle: nadya\sp1.png
image from lesha would load just fine
Character defined as:
Nadya:
name: "НАДЕЖДА ТЕМНОВА"
style:
color: green
sprites:
idle: nadya\надяСпокойная1.png
lesha:
name: "АЛЕКСЕЙ ЗАХАРОВ"
style:
color: green
spriters:
idle: lesha\ЛёшаСпокойный1.png
Browser console after executing document.getElementsByClassName("dialog-picture")
shows that while Nadya’s dialogue is last image box appears on page, but after changing to lesha’s line it returns empty HTMLcollection
And dev tools shows that his image does not started to load:
Tried:
- moving images out of folders(from
img/characters/nadya
to justimg/characters/
) - swapping character images kinda works but Lesha in any case unable to load it’s image
Browser: tested on Zen(Firefox) and Yandex(Chromium), both having same issue
OS: Windows 10 21H2 19044.4894
npm list:
https://pastebin.com/gH6dX7JK