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 Overworld


Everything to do with the overworld.

  • Designing a Map
  • Cutscenes

Battles


Everything related to creating battles.

  • Battlers
  • Encounters
  • Enemy Attacks (Waves)
  • Wavemaking Tricks and References

Advanced


These pages teach you more complex but powerful parts of the engine.

  • Hooks
  • The UI System

API Reference


An auto-generated API reference for Kristal.

⮬Back to Top⮭

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 Overworld


Everything to do with the overworld.

  • Designing a Map
  • Cutscenes

Battles


Everything related to creating battles.

  • Battlers
  • Encounters
  • Enemy Attacks (Waves)
  • Wavemaking Tricks and References

Advanced


These pages teach you more complex but powerful parts of the engine.

  • Hooks
  • The UI System

API Reference


An auto-generated API reference for Kristal.

⮬Back to Top⮭

FileButton

┗> Object > Class


Constructor


FileButton(list: any, id: any, data: any, x: any, y: any, width: any, height: any)

Arguments:

list: any
id: any
data: any
x: any
y: any
width: any
height: any




Methods


FileButton:draw()



FileButton:drawCoolRectangle(x: any, y: any, w: any, h: any)

Arguments:

x: any
y: any
w: any
h: any


FileButton:getDrawColor()

Returns:

1: unknown
2: unknown
3: unknown
4: unknown


FileButton:getHeartPos()

Returns:

1: integer
2: number


FileButton:setChoices(choices: any, prompt: any)

Arguments:

choices: any
prompt: any


FileButton:setData(data: any)

Arguments:

data: any



Fields



Undocumented



FileButton.area: string



FileButton.choices: nil



FileButton.choices: any



FileButton.data: any



FileButton.data: any



FileButton.font: unknown



FileButton.id: any



FileButton.list: any



FileButton.name: string



FileButton.prompt: nil



FileButton.prompt: any



FileButton.selected: boolean



FileButton.selected_choice: integer



FileButton.selected_choice: integer



FileButton.subfont: unknown



FileButton.time: string



FileButton.time: string

Don't ask why it's not "--:--:--" -- ask Toby


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