Skip to content

End3r6/Loki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loki - A Powerful Dialogue and Interaction Language for Games

Loki Logo

Loki is a custom-built language designed specifically for game dialogue and interaction. It combines the power of modern programming language with the flexibility of a markup language. Loki allows developers to create engaging and dynamic experiences for their players. With Loki, you can easily create branching conversations, trigger in game events, such as visual or audio effects, and even interact with other Loki scripts for enhanced organization and ease of use.

Loki is built in such a way that it is completly cross-platform, cross-programming language, and cross-game engine! This means that you can use Loki anywhere you want!

Table of Contents

Features

  • Complete Independence: You can use it in any programming language, any game engine, and any platform. Loki is a completely independent tool.
  • Customizable Dialogue Boxes and UI Elements: Define and modify the appearance and behavior of dialogue boxes and other UI elements in your game.
  • Dynamic Dialogue and Content: Load and display dynamic content, such as images, videos, or web pages, within dialogue boxes or other UI elements.
  • Advanced Branching and Choice Logic: Track and manage dialogue choices and decision points, creating complex and dynamic narratives.
  • Reference Calls: Call functions defined in code, allowing for seamless engine interaction, including audio, visual, and GUI functionality.
  • Error Handling and Reporting: Identify and fix issues in Loki scripts with a robust error handling and reporting system.
  • Debugging and Profiling Tools: Use a suite of debugging and profiling tools to analyze and optimize your Loki scripts.
  • Testing and Validation: Automatically test and validate Loki scripts to ensure they are free of errors and meet quality standards.
  • Integration with External Services and APIs: Integrate Loki scripts with external services and APIs, such as social media platforms, analytics services, or game-specific APIs.

Getting Started

  1. Download the latest installer from the releases.
  2. Run the installer
  3. To start a new loki project, open the command line and navigate to the directory you wish to contain your loki project
  4. Run loki new <project name>
  5. To build your loki project, run loki build
  6. The .lid file will be in /bin/output/ProjectName.lid

More Info here

Syntax

Loki's syntax is designed to be simple, elegant, and easy to read. For more information, please refer to the syntax guide here.

Debugging and Development

Loki offers detailed syntax error handling. This will allow you to catch all of your syntax errors before your Loki project even hits your game.

Contributing

We welcome contributions to Loki! If you'd like to contribute, please refer to the contributions guideline!

License

Loki is released under the Apache 2.0 license. For more information, see the LICENSE file.

Packages

No packages published