found another bug i think?
GOTOs weren't working so i switched the order of the "drawDialogue(...)" and "if(goto!=null){...}" (to make drawDialogue after the goto check) blocks in the updateDialogue function, and now they work again.
idk the code so this miight have introduced a new bug or something? unsure! but now they work again and i'm happy
Viewing post in Super Videotome (Modded!) comments
replicated it with a fresh copy by doing the following:
story.txt is
START
uhh
GOTO:CHAP12345 - asdf
###
CHAP12345
this will never print
###
delete all assets except blank, bg_title, bg_texture1. Deleted all audio files and video files from the folders as well.
assets.js is:
const IMGs = { BG_TITLE:"images/BG_TITLE.png", }; const VIDs = { }; const MUSIC = { }; const SPEAKERS = {
M: {name: "machine", colour: "#696969"}, E: {name: "engineer", colour: "#8b66ba"}, P: {name: "pilot", colour: "#e3a239"} };
I couldn't replicate it until i got rid of most of the assets, so I'm thinking that's the issue (and the debugger in firefox gave the consoler error
"Uncaught TypeError: track is null sfxPlayer http://localhost:8000/code/tags.js:697"
so i think maybe that's messing stuff up a bit? and it's bailing on the rest of the function??? idk)