Narrative scripting language for Unity3D.
In addition to some new features, the syntax of Rumor has been made more consistent in this update.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
GetVars
to RumorScope
as a way for getting all of the variables.Choosing
, Waiting
, and Pausing
flags to see what kind of yield is currently active.choose in 2 seconds or jump foobar
.call
command, which moves execution to the specified label and returns back after execution of the label is completed. This is the same behaviour that it had in Rumor 3.X.Label
and Text
properties on AddChoiceNode
are now public.jump
to work to move execution to the specified label and not return back after execution of the label is completed. This is the same behaviour that it had in Rumor 3.X.choose
and pause
now require the {}
block syntax when specifying an amount of time.choice
no longer uses >
to prefix every line; instead, it works similar to :
and +
commands.Exodrifter.Rumor.Engine.Util
is now internal instead of public.Rumor has been completely rehauled in this release. It now features...
...among many other changes which will soon be described in detail on the wiki.
Some features have been lost in the rehaul. Specifically:
bool
double
and string
(this will likely never be re-added).Just a few bugfixes in this release.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
true
and false
always being treated as variables when they should be a boolean literalThis update fixes a lot of bugs involving compilation and script execution. In particular, the ==
operator is much more strict. Only comparisons between objects of the same type are allowed with the notable exception of int
and float
, which can be compared to each other.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
==
now only works when comparing values of the same type, with the notable
exception of Int and Floats which can be compared to each other.null + null
returns null
instead of throwing InvalidOperationException
==
would always return true
instead of false
>=
and <=
not working due to comparing the wrapper type instead of
the wrapped values!
on a non-null object would throw an exceptionclear choices
and clear dialog
compile instead of throwing a compilation
errorThis update fixes a compilation error and speeds up the compiler.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
elif
and else
compilation errorsThis update contains a complete rewrite of the Rumor compiler.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
cant_skip
to the end of a pause statement
to ignore advances until the pause endsno_wait
to the end of an add or say
statement to auto advance the dialog{
and }
in strings is now supportedExodrifter.Rumor.Lang
namespace has been renamed to
Exodrifter.Rumor.Language
UNITY_EDITOR
ifdef to make
it easier to use this repository as a submodule in non-unity projectRumor
; instead, it is now stored in
Bindings
Rumor.Run
has been renamed to Rumor.Start
in order to match the language
used in C# Thread.Start
and Unity's StartCoroutine
method to improve
consistencyThis update fixes a bug with conditional statements and makes an compiler error message more helpful.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
This update fixes a few bugs reported this evening. A new full Unity scene example was added as well.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
+=
, -=
, *=
, /=
operators not workingThis update fixes a few bugs related to the performance changes made in the last update. A few new events were added as well.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
OnAddChoice
and OnRemoveChoice
events to RumorStateThis update improves performance of Rumor significantly. Many bugs have also been fixed.
If you find Rumor useful, consider supporting continued development of this framework by becoming a patron.
Rumor.CallBinding
no longer calls DynamicInvoke and is much fasterRumor.Choosing
throwing an error if Rumor has not been started