DE EN FR ES IT CZ
Back Back to top

Lua Support for Curves

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  • #1, by redspark 8 years ago Quote
    Is there any more information on Curves other than the example in the Lua Docs?  I was wondering if there was a way to create or modify Curves within Lua.  For instance, if I wanted to have particles move from a point that the user clicks to an empty spot in the inventory, how would I set the beginning and end points for the curve as well as the handles?  Thanks.


  • New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  • #2, by afrlme 8 years ago Quote
    I wrote some bezier curve scripts/functions before Simon implemented curves in the engine. It was very complicated & somewhat hit & miss. Just use the editor to create different curves, then change which curve you want to use via the Lua functions.