Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hello, thank you very much for your great template. I'm enjoying it a lot for a small project.

As I am completely new to twine, I'm pretty much progressing through trial and error.

I started from your html file which is probably my mistake since I'm customizing the look and feel by adding a HUD sidebar, keyboard navigation...

It seems that the only way for me to add js or css is by adding <style> or <script> tags in the StoryInterface passage, my eventual Story JavaScript or StoryStylesheet aren't taken into account.

It works but as a developer I'm not loving that at all ! 

I guess that's because the ones from the theme are used instead, but I can't see them and thus edit them in Twine, should I have used tweego instead of working on your html in Twine ? 

In fact I really need to add some macros, but since I can't get Story Javascript passage to be taken into account, it seems that I can't do it... Can someone guide me ? 

the html file can be imported into twine's default editor via the "import from file" option, which should give you access to the "Edit Story Javascript" and "Edit Story Stylesheet" options when clicking on the story name (and not floating around with the other special passages like StoryInterface etc). not sure if this is the case, but if you're creating new passages manually and naming them story javascript or stylesheet i don't think those get combined without the use of tweego to compile them. i'm not sure what else might be causing this issue though without more info on how it looks, feel free to dm me on twitter or tumblr if this continues to be a problem !