New Portrait Functions in Fungus+Lua

Rinku on Stage

My Pull request was merged!

The new instructions on how to use the portrait functions I made are on the wiki.

I also created an example project if you prefer to see it in action. It’s in the FungusExamples/FungusLua/Narrative folder and called PortraitControlExample.unity.

It was pretty easy working with Chris Gregan on planning for the portrait refactor. Next time I’ll make sure to rebase my pull request commits into one commit to make it easier to read and so I get that sweet, sweet contribution line count.

Share on FacebookTweet about this on TwitterShare on RedditShare on TumblrPin on PinterestEmail this to someone

Fungus+Lua: Portrait Functions Coming Soon!

I’ve been working with Chris Gregan, developer of Unity Fungus, to refactor the stage portrait command so that you will be able to use lines like this to control your characters on stage:

All you have to do is add the Stage object to your Lua Bindings and you can refer to it as its default name “stage” or specify different names for your different stages if you have more than one.

You can also specify exact options in any order:

Hopefully soon my work will be merged into the master branch and everyone can use it.
Check out the progress in my pull request!

If you’re still confused about what this whole FungusLua thing is about. The Fungus YouTube Channel has a really good video covering its features:

Share on FacebookTweet about this on TwitterShare on RedditShare on TumblrPin on PinterestEmail this to someone

Robo-Rinku Visual Novel – Sprint 02

Narrative
Editor-san wrote five-chapters worth of the original comic.
Yay Editor-san!

Code
I found a handy way to use the new Fungus Lua script to make the script-writing more streamlined.

You can use aliases to shorten existing function names.

You can define functions per Character and overload the function to offer the ability to specify which picture to use.

If you want to play with Lua yourself, GOOD NEWS! It’s in the latest 3.0 beta release of Fungus! Here is the impressive changelog listing the new features. I added the “Play from Selected” and “Stop All and Play” features 🙂 Check it out and give it a spin.

Share on FacebookTweet about this on TwitterShare on RedditShare on TumblrPin on PinterestEmail this to someone
1 2 3