Skip to content

v2.1 Update

Latest
Compare
Choose a tag to compare
@AlsoGhostglowDev AlsoGhostglowDev released this 20 Mar 00:49
· 8 commits to main since this release

Back with another update! Some functions were added in, mostly in game.lua ~

We will go over what got added and updated!

game:

noteTweenScale(tags:Array<String>|String, note:Int, vals:Array<Float>|Float, duration:Float, ease:String)
removeCamFilters(cam:String)
makeGradient(sprite:String, dimensions:Array<Float>|Float, colors:Array<String>, ?chunkSize:Float = 1, ?rotation:Float = 90, ?interpolate:Bool = true)
makeLuaCharacter(tag:String, json:String, positions:Array<Float>|Float, noteType:String, isPlayer:Bool)
applyTextMarkups(tag:String, text:String, colors:Array<String>, seperators:Array<String>)

setCamFilters(camera:String, filters:Array<String>, shaderVals:Array<Array<Dynamic>>) -- BETA. May crash on usage.

0.7 functions for 0.6.3:

  • createInstance
  • addInstance
    extra: callFromInstance(instance:String, func:String, args:Array<Dynamic>)

util:

runLuaFromFile -> runCodeFromFile

This update also introduces the new module: helper.lua. Acts as the ghostutil's modules helper. (require 'ghostutil._backend.helper')