Home
Wiki
Source
Downloads
Discord

Kristal Wiki


General Information


These pages get you ready to use the engine.

  • Main Page
  • Downloading Kristal
  • Installing and Playing Projects
  • Glossary

General Project Creation


These pages teach you about project development.

  • Lua Tutorial
  • Understanding the Basics
  • Creating a Project
  • Writing Text
  • Using Libraries
  • Creating an Item
  • Creating a Shop
  • Creating a Spell
  • Actors
  • Party Members
  • Custom Keybinds
  • Releasing Projects

The Overworld


Everything to do with the overworld.

  • Designing a Map
  • Map Layers
  • Cutscenes
  • Map Properties
  • Events
  • Battle Areas
  • The World Tool

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.

  • Debugging
  • Hooks
  • The UI System

API Reference


An auto-generated API reference for Kristal.

⮬ Back to Top ⮭

Kristal Wiki


General Information


These pages get you ready to use the engine.

  • Main Page
  • Downloading Kristal
  • Installing and Playing Projects
  • Glossary

General Project Creation


These pages teach you about project development.

  • Lua Tutorial
  • Understanding the Basics
  • Creating a Project
  • Writing Text
  • Using Libraries
  • Creating an Item
  • Creating a Shop
  • Creating a Spell
  • Actors
  • Party Members
  • Custom Keybinds
  • Releasing Projects

The Overworld


Everything to do with the overworld.

  • Designing a Map
  • Map Layers
  • Cutscenes
  • Map Properties
  • Events
  • Battle Areas
  • The World Tool

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.

  • Debugging
  • Hooks
  • The UI System

API Reference


An auto-generated API reference for Kristal.

⮬ Back to Top ⮭

PlayerSlideBaseState

┗> StateClass > Class



Constructor


PlayerSlideBaseState(player: any)

Arguments:

player: any




Methods


PlayerSlideBaseState:checkSlideEnd()



PlayerSlideBaseState:handleMovement()



PlayerSlideBaseState:onEnter(old_state: any)

Arguments:

old_state: any


PlayerSlideBaseState:onExit(next_state: any)

Arguments:

next_state: any


PlayerSlideBaseState:onRemove()



PlayerSlideBaseState:onSlideEnd()



PlayerSlideBaseState:onUpdate()



PlayerSlideBaseState:registerEvents()



PlayerSlideBaseState:updateDust()




Fields


PlayerSlideBaseState.player: Player



Undocumented



PlayerSlideBaseState.dust_timer: integer



PlayerSlideBaseState.slide_sound: Sound

The sound class. This is a transparent wrapper over Love2D's Source.



PlayerSlideBaseState.was_colliding: boolean


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