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⮭

HealthBar

┗> Object > Class


Constructor


HealthBar()





Methods


HealthBar:draw()



HealthBar:react(chara: any, reaction: any)

Arguments:

chara: any
reaction: any


HealthBar:transitionIn()



HealthBar:transitionOut()



HealthBar:update()




Fields



Undocumented



HealthBar.action_boxes: table



HealthBar.animate_out: boolean



HealthBar.animate_out: boolean



HealthBar.animate_out: boolean



HealthBar.animation_done: boolean



HealthBar.animation_done: boolean



HealthBar.animation_done: boolean



HealthBar.animation_done: boolean



HealthBar.animation_timer: integer



HealthBar.animation_timer: integer



HealthBar.animation_timer: integer



HealthBar.animation_timer: number



HealthBar.animation_timer: integer



HealthBar.auto_hide_timer: integer



HealthBar.auto_hide_timer: number



HealthBar.auto_hide_timer: integer

If we're in an overworld battle, or the menu is open, we don't want the health bar to disappear



HealthBar.layer: integer

TODO



HealthBar.parallax_x: integer



HealthBar.parallax_y: integer



HealthBar.y: unknown



HealthBar.y: unknown


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