TyranoBuilder Visual Novel Studio

TyranoBuilder Visual Novel Studio

tnelson007 Dec 11, 2015 @ 9:05am
Complete guide for using Tyranoscript?
I am trying to learn more and more about Tryanoscript, however, I cannot find a complete guide. Yes, I have seen guides for doing if else statements, variable,etc., however, they only hit the surface.

For example what does the "@" mean (see below script) and why would you use it?
I am guessing the ";" means a comment (I know this is a no brainer, however, where is this documented?)


;change the scene via a transition
@layopt layer=message0 visible=false
[backlay]
[image layer=base page=back storage=rouka.jpg]
[trans time=2000]
[wt]
@layopt layer=message0 visible=true
< >
Showing 1-1 of 1 comments
jay_rab Dec 11, 2015 @ 3:01pm 
@ is just one way that the engine can interpret that you are starting a tyranoscript function, generally you see this right after a comment is made as to tell the engine the comment is over.

But you could also write it out with brackets: [layopt layer=message0 visible=false] to the same effect. (this is what I generally suggest people use over the @ sign as you then have a clear indication as to were one tag begins and ends and is specially helpful when you have many tags all in the same tyranoscript box.)

Currently the tyranobuilder program does not show the comments in the software so if you add a comment in your code it will not show up the next time you close out of your project and go back in. For those who rely on comment heavy codes you can go to the raw file in \Steam\steamapps\common\TyranoBuilder\myproject\~*YourProjectName*~\data\scenario and see the source code there.

There is no real "complete guide to programing" as everything is very conditional as you can see by the present guides. It really depends on what the intent is that determines how the script will look, just like in the example above were there was two ways to right out the one tag.

What will greatly assist you is in understanding what is the basic building blocks and how to build upon them, at the core is variables... everything you will do in tyranoscript is to effect or create a variable whether that is making a single variable that you add numbers to to show how much a character likes the player or asking for the players name in which the variable is used to store the name.

Variables come in three types sytem, game, and temp. and those three dictate at what point the variable is to be reset. you can read about the basics here: http://tyranobuilder.com/using-flags-and-variables-tyranoscript/ and here: http://tyranobuilder.com/using-flags-and-variables-tyranobuilder/ and that should give you a really good starting point to finding out what you want to do, the next step would be going into the reference list like you did here: http://tyranobuilder.com/tyranoscript-tags-reference/ and looking for a tag that relates to your task, then its all about using that basic info about variables to control those tags.

Feel free to shoot any more questions, if you have something in mind you are trying to achieve that will greatly help in your learning. P.S thanks for all the post you have been making recently I look forward to hearing more from you! <3
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Dec 11, 2015 @ 9:05am
Posts: 1