iiYO Community

Full Version: Ideas For Features And Improvements
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Element <line> requires attribute 's', however it would look nice to ommit it for narrator.
Proposal is to allow using <line> without 's'.

RenPy code:
m "Yes..."
"I said and my voice was already shaking."

WebStory code I have to write now:
<line s='m'>Yes...</line>
<line s='n'>I said and my voice was already shaking.</line>

WebStory code I am thinking of:
<line s='m'>Yes...</line>
<line>I said and my voice was already shaking.</line>

There are several variants of <line> semantics I can think of:
1. RenPy clone, unnamed character IS a character named 'narrator' in every sense: <line> = <line s='narrator'>
2. No attribute = Empty attribute: <line> = <line s=''>

Guest

Only effects implemented right now are “slide” and “fade”. I think it is very important to support 'dissolve' effect.

I have a small collection of VNs written by IIchan.hk/IIchan.ru community at http://cf.ichan.ru/games/vn/, most of them are RenPy-based. After using a simple script to calculate usage of 'with ...', 'hide ... with ...', 'show ... with ...' and 'scene ... with ...' I got this statistics:

dissolve: 857/1229 (about 70%)
fade: 194/1229
Dissolve(time): 73/1229 (about 6%)
Pause(time): 32/1229
vpunch: 19/1229
blinds: 17/1229
ImageDissolve(...): 12/1229
Fade(time, time, time, color) 10/1229, used colors are white, black and red
move: 9/1229
hpunch: 4/1229
moveinleft: 1/1229
moveoutright: 1/1229

This means it is extremely important to implement 'dissolve' effect, so that porting of those VNs would be possible, because more then 75% of all effects in this collection are dissolve effects.

Guest

Defining character in RenPy usually means not only defining their names, but also colors of their displayed names.

This should be allowed using additional child tag of
Code:
<character>
/ additional property of
Code:
<displayname>
. It should not be done using
Code:
<nameTemplate>
and other stuff at
Code:
<textbox>
.

Guest

Isn't a dissolve effect fading one image out while fading another one in at the same time? You can just do that:

<pre>
Code:
<hide asset="image1" effect="fade" />
<show asset="image2" effect="fade" />
<wait />
</pre>

By the way: Please use
Code:
<code>
tags! This forum lets you edit in HTML directly, therefore you can't just use angle brackets everywhere.

Guest

Yes, it is, but you might want to dissolve images from one asset for things like changing backgrounds or switching character emotion.

Example RenPy code:
Code:
show alyona wat at left with dissolve
    a "Ээээ!"
    show alyona shyaanai at left with dissolve

To use your workaround I have to put different emotions to different assets. I also have to put different backgrounds to different assets, it I want to switch them with dissolve.

This completely ruins the idea of using assets, forcing VN writer to wrap every
Code:
<image>
to unique
Code:
<imagepack>
to make dissolve work.

Guest

Hm, sorry, looks like I got something very wrong. Your
Code:
effect="fade"
is very similar to RenPy's
Code:
with dissolve
, so what i need is:
Code:
<show asset="alyona" effect="fade"/>
    <line s="a">Ээээ!</line>
    <set asset="alyona" image="shyaanai" duration="1000"/>

And for RenPy's
Code:
with fade
I need something like:
Code:
<hide asset="scene" effect="fade" duration="500"/>
    <wait/>
    <set asset="scene" image="power"/>
    <show asset="scene" effect="fade" duration="500"/>

So, 90+ percent of all the effects can be ported easily. Great!

Guest

Glad it works for you. If you have any other effects you need, just ask and I might add it to the next version. Alternatively, writing an extension is always an option, too.

Guest

_lb_ Wrote:Defining character in RenPy usually means not only defining their names, but also colors of their displayed names.

This should be allowed using additional child tag of
Code:
<character>
/ additional property of
Code:
<displayname>
. It should not be done using
Code:
<nameTemplate>
and other stuff at
Code:
<textbox>
.

The difficulty here is that those two options don't work well together. The idea for the nameTemplate is that you can have your own custom-styled name tag for a textbox, more than what you can do with just stylesheets. One thing that's possible and might even be a better solution than just a color option would be to let the developer define variables for characters. Those variables could then be used inside the nameTemplate tag. Possible examples:

<pre>
Code:
<character name="s" textbox="tb">
    <displayname>Sam</displayname>
    <variables>
        <variable name="class" value="samStyle" />
    </variables>
</character>
<!-- ... -->
    <nameTemplate>
        {name}
    </nameTemplate>
</pre>

<pre>
Code:
<character name="s" textbox="tb">
    <displayname>Sam</displayname>
    <variables>
        <variable name="color" value="rgb(150, 150, 230)" />
    </variables>
</character>
<!-- ... -->
    <nameTemplate>
        {name}
    </nameTemplate>
</pre>

Please let me know what you think about this.

Guest

I like the flexibility of this variant. Indeed, it supports both complex styles passed by name with
Code:
<span class="{class}">
and more simple way of just setting color with
Code:
<span style="color: {color};">
.

Guest

C7N Wrote:If you have any other effects you need, just ask and I might add it to the next version.
I guess most useful after fade-like and dissolve-like effects are vpunch and hpunch. It would be great to have something built-in for things like this.
Pages: 1 2 3