LogicBricks v5: Value triggers
Added 2020-11-14 21:42:30 +0000 UTC
LogicBricks is a collection of now 23 reusable logic plugins to quickly build simple logic without coding. These go from a simple Relay that just groups triggers via Counter and Blend to more complex bricks for RandomChoice and a very powerful StateMachine brick. There are now two demo scenes with altogether 19 examples to spawn some ideas.
New Features
- Added ValueTriggers that provide a value between 0 and 1. These can be used for various blend operations between value or color parameters using VaM's trigger system. A number of new bricks come with this: ValueRelay, ValueEaseIn, ValueEaseOut, ValueSmoothStep, ValueInvert, ValueRandom
- New Blend and RandomBlend bricks, which are a variant of the Delay and RandomDelay. After Trigger was called, these provide a separate Start trigger, a value slowly going from 0 to 1 and eventually an End trigger. Classic use case would be to blend something in or out.
- StateMachine does now provide a value trigger as well, exposing the internal state clock.
- Counter brick can now count up and down and provides a status value between 0 and 1. Provides a trigger signal when reaching either end of the range.
- New RandomSound and RandomSoundFromAB bricks to play random sounds on trigger signal. These can load VaM's embedded sounds, sound from the Scene Audio tab as well as load sounds from AssetBundles.
- New EventSceneLoad brick that triggers on scene load.
- New EventAudioQueueEmpty brick that triggers when an AudioSource did run out of audio to play.
- New RichText helper plugin. Allows you to use Unity RichText on SimpleSign and UIText atoms. You can have bold or italic font, control the fontsize as well as color of individual words. I used this for the example scenes.
- Various code improvements for the MacGruber_Utils library used in the background.
- Updated examples and also added more. There are now 19 examples altogether, split into two demo scenes. This includes a more complex example using two StateMachine bricks to control interacting AnimationPatterns for a Handjob setup.
Download
- This is an EarlyAccess release! Download will be available for free under CC BY-SA license after 2020-12-01. You are allowed to reference this package in your own VAR packages, even if they are paid or use a different license. Links to my Patreon are always appreciated.
- Beware of some browsers mistakenly renaming .var files to .zip when downloading from Patreon. More details on how to install VaM content and missing dependencies here.