TyranoBuilder Visual Novel Studio

TyranoBuilder Visual Novel Studio

Using Javascript or HTML5 in TyranoBuilder
I worked out how to do what I want to do (make a timer) via setTimeout() with Javascript... but I can't for the life of me work out how to make it work in TyranoBuilder. I can't find a dedicated tutorial for using javascript in TyranoBuilder, either.

I've found the tags for using Java and HTML5. But those seem to be for Tyrano Script files, rather than Iscript. I can't seem to find a tutorial dedicated to using java in Tyrano builder.


Whenever I use anything but the simplest javascript, I get errors about unexpected identifiers, but it doesn't tell me which identifiers or why they're a problem. It seems like it can only tell me one coding error at a time, too, so even if I deal with the identifiers I get a new complaint.

I'm hoping someone knows a good tutorial, or can tell me how you use Java. It's gotten to the point where it'll be easier to just do this in Unity or RenPy.
< >
Showing 1-5 of 5 comments
ODBear Studios Jan 8, 2017 @ 1:02am 
Hi,
you can use my engine to see how to use javascript/html within tyranobuilder.
http://steamcommunity.com/app/345370/discussions/0/355043117515638063/
Thanks Bear! I'll take a look at it.
Atreides Sep 2, 2017 @ 6:30am 
Yea I am having the some problem, I am not trying to setup a timer but a drawing program using HTML and Javascript

http://jsfiddle.net/RDqTd/2/

Here is an example of what I am trying to run in the game, there are simpler ones that I cannot get to work either. Is there a tutorial on the correct placement of the iScript and HTML GUI elements to allow for external Javascript to function?
SIREC Sep 25, 2020 @ 2:02pm 
Originally posted by Atreides:
Yea I am having the some problem, I am not trying to setup a timer but a drawing program using HTML and Javascript

http://jsfiddle.net/RDqTd/2/

Here is an example of what I am trying to run in the game, there are simpler ones that I cannot get to work either. Is there a tutorial on the correct placement of the iScript and HTML GUI elements to allow for external Javascript to function?

You can call every script, just put it in data/others/ and call it <script src="data/others/Script.js"></script> , don't put it directly in html, because you will got errors !
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jan 7, 2017 @ 11:02pm
Posts: 5