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⮭

ActionBox

┗> Object > Class


Constructor


ActionBox(x: any, y: any, index: any, battler: any)

Arguments:

x: any
y: any
index: any
battler: any




Methods


ActionBox:createButtons()



ActionBox:draw()



ActionBox:drawActionBox()



ActionBox:drawSelectionMatrix()



ActionBox:getButtons(battler: any)

Arguments:

battler: any


ActionBox:resetHeadIcon()



ActionBox:select()



ActionBox:setHeadIcon(icon: any)

Arguments:

icon: any


ActionBox:unselect()



ActionBox:update()




Fields



Undocumented



ActionBox.animation_timer: integer



ActionBox.animation_timer: number



ActionBox.animation_timer: number



ActionBox.animation_timer: integer



ActionBox.animation_timer: integer



ActionBox.animation_timer: integer



ActionBox.battler: any



ActionBox.box: ActionBoxDisplay



ActionBox.buttons: table



ActionBox.data_offset: integer



ActionBox.force_head_sprite: boolean



ActionBox.force_head_sprite: boolean



ActionBox.force_head_sprite: boolean



ActionBox.head_offset_x: unknown



ActionBox.head_offset_y: unknown



ActionBox.head_sprite: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



ActionBox.hp_sprite: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



ActionBox.index: any



ActionBox.name_sprite: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



ActionBox.revert_to: integer



ActionBox.selected_button: integer



ActionBox.selected_button: number



ActionBox.selection_siner: integer



ActionBox.selection_siner: number


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