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

Guest

What exactly is vpunch and hpunch? I don't know these effects.

Guest

You can see them in action at "Transition Gallery"->"Simple Transitions" section of RenPy "Tutorial" game (comes with RenPy SDK).

Documentation says:
vpunch
When invoked, this transition shakes the screen vertically for a quarter second.

hpunch
When invoked, this transition shakes the screen horizontally for a quarter second.

Guest

Thanks. I recognize the effect from the description, so thankfully no need for me to fiddle with Ren'Py just for that.

Guest

Actions like
Code:
<move asset="sprite" x="50%" />
does not center image. However, lots of the sprites in VNs are shown centered. Right now, to center sprite you need to know sprite's width. How about to support something like RenPy's anchors?
* x=0%, xanchor=0% - left side
* x=50%, xanchor=50% - center
* x=100%, xanchor=100% - right side
* x=50%, xanchor=200 - point at 200th pixel of sprite is centered
* x=200, xanchor=200 - left side =)
Code for true centered image would look like
Code:
<move asset="img" x="50%" xanchor="50%" y="50%" yanchor="50%" />
.

Guest

I think that's something that would be nice to have in the next version. I don't know if that's the best solution, but I'll think about it.

Guest

Have you come up with ideas how to support it? I'm not good at web stuff, so not sure if it is easy to implement or not. However, showing sprites at left/right/center is something <i>must-have</i> for me.

Guest

Alright, I'll implement anchors. Stay tuned and sorry for taking so long. Wink

Guest

Well, that was pleasently fast to implement. Please test the anchors using http://webstoryengine.org/releases/curre...yEngine.js and tell me whether it's working the way you expected.

Please be aware that I named the attributes xAnchor and yAnchor, with a capital 'A'.

Guest

Wow, this seems to be just what I needed! Thanks a lot!

Guest

Can it possible add parallax-effect to background layer like this: http://stephband.info/jparallax/ ?
Pages: 1 2 3