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⮭

Layout

┗> Class


Constructor


Layout(options: any)

Arguments:

options: any




Methods


Layout:draw()



Layout:getComponents()

Returns:

components: Object[]


Layout:getInnerArea()

Returns:

width: number
height: number


Layout:refresh()




Fields


Layout.align: string|"center"|"end"|"space-around"|"space-between"...(+2)


Layout.gap: number


Layout.parent: Component|nil



Undocumented


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