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⮭

Stage

┗> Object > Class


Constructor


Stage(x: any, y: any, w: any, h: any)

Arguments:

x: any
y: any
w: any
h: any




Methods


Stage:addToStage(object: any)

Arguments:

object: any


Stage:canDeepCopy()

Returns:

1: boolean


Stage:draw()



Stage:getObjects(class: any)

Arguments:

class: any

Returns:

1: unknown[]


Stage:removeFromStage(object: any)

Arguments:

object: any


Stage:update()



Stage:updateAllLayers()




Fields



Undocumented



Stage.full_drawing: boolean



Stage.full_drawing: boolean



Stage.full_drawing: boolean



Stage.full_updating: boolean



Stage.full_updating: boolean



Stage.full_updating: boolean



Stage.objects: table



Stage.objects_by_class: table



Stage.objects_to_remove: table



Stage.objects_to_remove: table



Stage.stage: Stage



Stage.timer: Timer


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