oh! makes sense!
thanks :)
june-tree
Recent community posts
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)
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
love this!! thank you this is so neat!!
a few bugs i've noticed:
1) POSY reset behaves differently than POS:x:reset:z (the former sets y position to 80 (which happens to be the default POSX i believe), the latter to roughly 350)
2) POS tags inside character speech take effect (even if it's a line like "E! - test POS:320:200:64")
3) resetting the third thingy of a pos tag seems not to work, can't do POS:RESET:RESET:RESET as far as i can tell
4) size takes a number rather than [number] as indicated in the guide, and does not seem to accept a RESET value.