beanbert
2 weeks ago
I guess when I upload and override data files, neocities doesn't produce an event for that. Hm...
beanbert
2 weeks ago
Adding a comment to the map html adds it to the event! But the map loads dynamically so it doesn't show the actual map in the preview :(
beanbert
3 weeks ago
oh boy I almost broke my whole site with THIS ONE LIFE HACK on the bright side, now NPCs can be found at different places depending on the time of day. also there's slightly more grass
beanbert
3 weeks ago
thank you!! the dialogue pages basically work using js that appends a div with the content of the next choice into the page when a button is pressed. Like, the chat "log" contains "entries" consisting of text and extra stuff (like buttons). So when you click a button, the js appends the next entry. the dialogue info of the text, buttons, and replies in an object literal.
beanbert
3 weeks ago
But also if you don't wanna do that, I think ink from inkle studios or twine have ways of exporting to html? I looked into those but I decided I wanted something way more bare-bones
carolean
3 weeks ago
Ah, thanks for the tip that makes sense !! I definitely have to catch up on js, I'm still struggling with basic popups lol.. It'll be good to have your comment as a reference though so thank you for taking the time to explain !
nothing says refactoring like working for days to make something look exactly the same.