setWindowBorderColor(R:Int = 255, G:Int = 0, B:Int = 0)(1.5.7+)
Set window border color.
R: color of Red Channel(0-255).
G: color of G Channel(0-255).
B: color of Blue Channel(0-255).
setWindowtitleColor(R:Int = 255, G:Int = 0, B:Int = 0)(1.5.7-1.6.3)(Old)
Set window border color.
R: color of Red Channel(0-255).
G: color of G Channel(0-255).
B: color of Blue Channel(0-255).
setWindowColorMode(dark:Bool = true)(1.5.7+)
Decided window border to darkmode.
dark: set to dark mode.
setWindowDarkMode()(1.5.7+)
Set window border to darkmode.
setWindowLightMode()(1.5.7+)
Set window border to lightmode.
setWindowX(value:Int, duration:Float = 0.0, ease:String)(1.5.8+)(Deprecated)
Set window X property.
value: any int number for x window position.
duration: duration for transition.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
setWindowY(value:Int, duration:Float = 0.0, ease:String)(1.5.8+)(Deprecated)
Set window Y property.
value: any int number for y window position.
duration: duration for transition.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
setWindowWidth(value:Int, duration:Float = 0.0, ease:String)(1.5.8+)(Deprecated)
Set window Width property.
value: any int number for width window.
duration: duration for transition.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
setWindowHeight(value:Int, duration:Float = 0.0, ease:String)(1.5.8+)(Deprecated)
Set window Height property.
value: any int number for height window.
duration: duration for transition.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
setWindowProperty(x:Null<Int>, y:Null<Int>, width:Null<Float>, height:Null<Float>, duration:Float = 0, ease:String, scale:Bool = false)(1.5.9.5+)
Set window property.
x: window x position(leave empty to ignore).
y: window y position(leave empty to ignore).
width: window width(leave empty to ignore).
height: window height(leave empty to ignore).
duration: duration for transition.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
scale: if checked it will use mutliple screen resolution(0(min) to 1(max)).
resetWindow()(1.5.9.5+)
Reset window to last window property before load song.
setSecondOpponent(value:Bool, trasition:Bool, trasition2:Bool)(1.6.0+)
Set between 2nd strums or not.
value:toggle of 2nd strums or normal
trasition: should add strums transition for player.
trasition2: should add strums transition for opponent.
changeGamemode(name:String = 'none', transition:Bool = true)(1.5.9.2+)
Set gamemode.
name: name of gamemode.
transition: set transition or not.
changeSongSpeed(value:Float, duration:Float = 0, ease:String)(1.6.1.8+)
Set song scroll speed.
value: number the scroll speed.
duration: duration of transition change scroll speed.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
backgroundColor(R:Int = 0, G:Int = 0, B:Int = 0, A:255)(1.6.3.1+)
Set app background color.
R: color of Red Channel(0-255).
G: color of Green Channel(0-255).
B: color of Blue Channel(0-255)
A: Alpha Channel(not all platform work)(0-255).
mirrorSongSpeed(duration:Float = 0.25, ease:String)(1.6.3.7+)
Mirror song scroll speed and strums y.
duration: duration of transition mirror scroll speed.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
changeWallpaper(path:String, absolute:Bool = false)(1.6.3.8m2+)(Windows Only)
Change os wallpaper.
path: the path of images file(must be absolute. example: the example.png in mods/modname/images/ you had write path as mods/modname/images/example.png).
absolute(1.6.3.9+): if true it will use system path(example: C:\Windows\Web\Wallpaper\Windows\img0.jpg. the path must write like C:\\Windows\\Web\\Wallpaper\\Windows\\img0.jpg).
changeNotesTexture(player:Bool = false, gf:Bool = false, texture:String = '')(1.6.3.9m2+)
Change the notes texture.
player: Player or Opponent notes.
gf: Gf notes or normal notes.
texture: What texture should use?.
Info: for ignore change texture, set notes or strums ignoreTextureChange to true.
centerWindow(duration:Float, ease:String)(1.6.3.11+)
Set window to center.
duration: duration of transition to center.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
callProperty(variable:String, value:Array<Dynamic>)(1.6.3.11+)
same as setProperty() but use call method/function.
example: adding animation to bf: callProperty('boyfriend.animation.addByPrefix', {'youanimname', 'xml animation name'}).
callPropertyFromGroup(obj:String, index:Int, value:Array<Dynamic>)(1.6.3.11+)
same as setPropertyFromGroup() but use call method/function.
example: adding animation to strums 0: callPropertyFromGroup('strumLineNotes', 0, {'youanimname', 'xml animation name'}).
changeRatingTexture(rating:String, path:String)(1.6.3.15+)
change rating texture.
rating: rating name to change('sick', 'good', 'bad', 'shit', and 0-9(string only)).
path: texture file path in images/.
resizeGame(width:Null<Int> = null, height:<Int> = null, resetLayout:Bool = false, duration:Float = 0, ease:String, excludeCam:String)(1.6.3.16m2+)
resize game world resolution.
width: size width of game world resolution.
height: size height of game world resolution.
resetLayout: should layout ui layout reset?
duration: duration for transition.
ease: The tweening method used, example: 'linear', 'circInOut'. All Tween Method.
excludeCam: exclude cam from resize(separate with comma example: 'hud, game').
Warning: best use in onCreate(). in other function can use but the camera character slightly bit off.
changeNotesSplashTexture(player:Bool = false, gf:Bool = false, texture:String = 'noteSplashes')(26.2.0+)
Change the notes splash texture.
player: Player or Opponent notes.
gf: Gf notes or normal notes.
texture: What splash texture should use?.
Info: for ignore change texture, set notes or strums ignoreTextureChange to true.