Page 5 of 7

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 1:52 pm
by Shad12ow
A quick question.
How do you use the NVL setting in the text box?
I mean to emulate that each line in the NVL is shown when you click, not all at once.
Sorry if this is such a beginner question, but I can't seem to find how to use it.
Either I can't find it or I can't understand it.

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 2:44 pm
by C7N
@Shad12ow:

It's behaviour="nvl" on the Textbox asset. And with the command <clear asset="name_of_texbox" /> you clear the text on the textbox.
http://webstoryengine.org/language:elements:textbox
http://webstoryengine.org/language:elements:clear

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 2:51 pm
by Shad12ow
Thank you very much.
I was just messing around with it and got to do it properly. Guess I really need to read the documentation more.
Thank you for the reply!
Ah, another thing. Is there any function to make the text appear letter by letter? I mean just like the one in normal VN.

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 3:06 pm
by C7N
There will be a typewriter effect in the next version, 0.3:
http://webstoryengine.org/roadmap
A preview of the next version: http://webstoryengine.org/webstories/basic-effects2/ - that's the effect you mean, right?

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 4:10 pm
by briannavon
Can webstory be used to make RPGs (a visual novel type RPG, I mean)?

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 4:34 pm
by C7N
@briannavon:

It really depends what kind of battle system the RPG would have. You probably cannot write a good RPG without extending the engine. But if you are up to the task: the engine is quite easily extensible... you can write your own assets and commands and hook to pretty much any existing function through the event bus.
See http://webstoryengine.org/extensions for an introduction to extension writing.

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 9:00 pm
by Kato
That feeling when you're told your name is ugly :cry:

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sat Jan 19, 2013 10:38 pm
by Shad12ow
C7N wrote:There will be a typewriter effect in the next version, 0.3:
http://webstoryengine.org/roadmap
A preview of the next version: http://webstoryengine.org/webstories/basic-effects2/ - that's the effect you mean, right?
Ah yes, that's the one!
Thank you. I'm in the process of learning this engine. So thank you very much for the quick answer.

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sun Jan 20, 2013 8:09 am
by C7N
Kato wrote:That feeling when you're told your name is ugly :cry:
Maybe I should write another path in the introduction that features Lia... and then at the beginning have a choice:

"Do you like being harassed by a giant ball of hair?
=> Yes, please.
=> No, thanks."

:P

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sun Jan 20, 2013 9:14 am
by Shad12ow
C7N wrote:
Kato wrote:That feeling when you're told your name is ugly :cry:
Maybe I should write another path in the introduction that features Lia... and then at the beginning have a choice:

"Do you like being harassed by a giant ball of hair?
=> Yes, please.
=> No, thanks."

:P
But then choosing either one will always lead to a harassment. Hahaha... :lol:
Well, jokes aside, another question. Sorry if the questions are rather beginner-ish.
But how do you set it to play music? I used this :
<audio name="back_music" loop="true" fade="true">
<track name="Wind">
<source href="assets/audio/Wind.mp3" type="mp3" />
</track>
</audio>

and then at scene I used this:
<set asset="back_music" track="Touch The Sky" />
<play asset="back_music" />

But no music was played. Is there something wrong with my code?
Ah, my PC can play mp3 just fine, I already tried it on Firefox and also Chrome. No dice.

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sun Jan 20, 2013 11:30 am
by C7N
@Shad12ow:

You try to start a track that is not defined in your asset. There is no track "Touch The Sky" defined in your audio asset...
Also, you will need an OGG Vorbis file to enable music in Firefox. MP3 works in IE and Chrome, but not in Firefox; OGG Vorbis works in Firefox and Chrome but not in IE.
http://webstoryengine.org/language:elements:audio

BTW: Maybe it would be a better idea to ask your questions in the WebStory Engine support forum or at least make a new thread here on Lemmasoft... this thread is not really meant to be a support thread. https://iiyo.org/f/categories/webstory-engine-support

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sun Jan 20, 2013 11:41 am
by Shad12ow
Whoops, sorry about that.
Realize my mistake, hehehe...
Thank you and I'll make a thread on the support forum.

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Tue Jan 22, 2013 9:52 pm
by Boomsickle
Looked really good. Although from trying out the demo it seems to loop is there a way to make it so that it stops and doesn't let you move forward ounce you reach the end? Seems like a great tool!

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Wed Jan 23, 2013 1:41 am
by C7N
@Boomsickle:

Thanks. It loops because at the end of the WebStory there's a <restart /> command. If you leave that out it doesn't loop, which is the default behaviour.

Re: WebStory Engine - A Visual Novel Engine for the Web

Posted: Sun Mar 03, 2013 11:54 am
by C7N
Version 0.3.0 has been released. You can get it at:
http://webstoryengine.org/downloads

Highlights of this release:
- Better support for games with liquid stage dimensions.
- Background asset that stretches to the stage dimensions. --> http://webstoryengine.org/language:elements:background
- New typewriter effect for textboxes. --> http://webstoryengine.org/language:elements:textbox
- You can now use HTML in <line> commands directly, the older {tagName /} syntax is no longer supported.
- You can specify an HTML template snippet for displaying names in textboxes, so that you can style it the way you want. --> http://webstoryengine.org/language:elem ... metemplate
- A new side images extension has been added. (Thanks to CheeryMoya for the idea!) --> https://iiyo.org/f/discussion/29/side-images

Full changelog: http://webstoryengine.org/changelog
Support: https://iiyo.org/f/categories/webstory-engine-support

Please report any errors you encounter either on the GitHub page or in the support forums if you don't have a GitHub account.