-
Notifications
You must be signed in to change notification settings - Fork 55
Home
Kristal is a powerful Deltarune fangame and battle engine, made with LÖVE. Easily play and create custom Deltarune stories, using the Lua scripting language with an accurate battle and overworld engine!
To find mods to play, get help with creating, or just talk about the engine, check out the Kristal Discord!
Mods can be placed either inside the Kristal directory itself (in kristal/mods
) or at AppData/roaming/LOVE/kristal/mods
.
- Basic Setup: Describes how Kristal mods are structured.
- Objects: How to create and use objects.
- Asset Management: Describes how to utilize assets within a mod, such as sprites and sound.
- Utilities and Debugging: Explains Kristal's built-in global functions and variables.
- Overworld: Process for making overworld rooms and using them.
- Cutscenes: Writing cutscene code, and using formatting relevant to all text.
- Actors: Setting up characters, such as NPCs and enemies.
- Party Members: Party member setup (continued from Actors).
- Encounters: How to set up and initiate encounters with enemies.
- Enemies: Setting up ACTs, dialog, wave choices, etc. for enemies.
- Enemy Attacks: How to make attacks and bullets, manipulate the arena and player, and check collision.
- Items: Making usable items.
- Spells: Making spells for party members.
Downloading Kristal
Installing and playing mods
Game options
File structure
mod.json and mod.lua
Libraries
Save data
Game and Kristal variables and functions
Important tips
Using objects
Creating new objects
Extra notes
Collision
DrawFX
Sprites and the Sprite object
Custom fonts
Sounds and music
External libraries
Utility functions
Global variables
Debug shortcuts
Debug menus
Making an actor
ActorSprite
Default animations
Creating a party member
Using and overriding functions
Types of Items
Default items
Inventory
Defining a spell
Making rooms
Using rooms in your mod
The Map class
Game.world functions
Events and Controllers
Existing events
Characters
Types of Characters
Battle areas and World bullets
Making a cutscene
Starting cutscenes
The Text object
In-text modifiers
Creating a shop
Overridable functions
Shop states
Shopkeepers
Making an encounter
Game.battle functions
Battle and PartyBattler states
PartyBattlers and EnemyBattlers
Creating an enemy
Overridable functions
Misc. functions and variables