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⮭

Console

┗> Object > Class


Constructor


Console()





Methods


Console:close()



Console:createEnv()

Returns:

1: table


Console:draw()



Console:error(str: any)

Arguments:

str: any


Console:log(str: any)

Arguments:

str: any


Console:onConsoleKeyPressed(key: any)

Arguments:

key: any

Returns:

1: boolean|nil


Console:onDownLimit()



Console:onRemoveFromStage()



Console:onSubmit()



Console:onUpLimit()



Console:open()



Console:print(text: any, x: any, y: any)

Arguments:

text: any
x: any
y: any


Console:printOutlined(text: any, x: any, y: any)

Arguments:

text: any
x: any
y: any


Console:push(str: any)

Arguments:

str: any


Console:run(str: any)

Arguments:

str: any


Console:stripError(str: any)

Arguments:

str: any

Returns:

1: unknown


Console:unsafeRun(str: any)

Arguments:

str: any


Console:update()



Console:warn(str: any)

Arguments:

str: any



Fields



Undocumented



Console.command_history: table



Console.env: table|nil



Console.font: love.Font|nil

Defines the shape of characters that can be drawn onto the screen.

Open in Browser



Console.font_name: string



Console.font_size: integer



Console.height: integer



Console.history: table



Console.history: table



Console.history_index: integer



Console.history_index: integer



Console.history_index: integer



Console.history_index: integer



Console.history_index: integer



Console.input: table



Console.input: table



Console.input: table



Console.is_open: boolean



Console.is_open: boolean



Console.is_open: boolean



Console.layer: integer


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