HomeWikiSourceDownloadsDiscord

Kristal Wiki


Getting Started


These pages get you ready to use the engine.

  • Downloading Kristal
  • Installing and Playing Mods

General Mod Creation


These pages teach you about mod development.

  • Understanding the Basics
  • Creating a Mod
  • Using Libraries
  • Creating an Item
  • Creating a Spell
  • Actors
  • Party Members
  • Custom Keybinds
  • The UI System

The Overworld


Everything to do with the overworld.

  • Designing a Map
  • Cutscenes

Battles


Everything related to creating battles.

  • Battlers
  • Encounters

API Reference


An auto-generated API reference for Kristal.

⮬Back to Top⮭

Fader

┗> Object > Class


Constructor


Fader()





Methods


Fader:draw()



Fader:fadeIn(callback: any, options: any)

Arguments:

callback: any
options: any


Fader:fadeOut(callback: any, options: any)

Arguments:

callback: any
options: any


Fader:parseMusicFade(to: any, options: any)

Arguments:

to: any
options: any


Fader:parseOptions(options: any, reset_values: any)

Arguments:

options: any
reset_values: any

Returns:

1: unknown


Fader:transition(middle_callback: any, end_callback: any, options: any)

Arguments:

middle_callback: any
end_callback: any
options: any


Fader:update()




Fields



Undocumented



Fader.alpha: integer



Fader.alpha: number



Fader.alpha: number



Fader.alpha: integer



Fader.alpha: number



Fader.alpha: integer



Fader.blocky: boolean



Fader.blocky: boolean



Fader.callback_function: nil



Fader.callback_function: any



Fader.callback_function: any



Fader.callback_function: nil



Fader.callback_function: nil



Fader.debug_select: boolean



Fader.default_speed: number



Fader.fade_color: table



Fader.fade_color: table



Fader.height: integer



Fader.music: nil



Fader.speed: number



Fader.speed: number



Fader.state: string



Fader.state: string



Fader.state: string



Fader.state: string



Fader.state: string



Fader.width: integer


DELTARUNE by Toby Fox. Website designed by NyakoFox. © 2023 Kristal Team. All rights reserved.