Skip to content

Repository files navigation

logo

Kronos VersionDownloadsLicense

Discord

Features

Kronos is a open source, cross-platform game development library with a robust ecosystem. Listed below are current features:

  • Highly customaizable logging framework
  • Math library (JOML)
  • File system/tree
  • Resource manager (local and web)
  • JSON parsing (GSON)
  • XML parsing (VTD-XML)
  • Numerical parsing
  • Entity Component System
  • Lua Scripting
  • Input polling & event dispatch
  • Action system
  • Robust jobs system
  • Toolkit API included
  • ImGui integration

install.bat

install.bat will setup environmental variables needed for future features of Kronos. Currently, this is not a requirement, but soon will be.

Downloading

Upon first download and run, a kronos.xml file will be generated in the working directory data folder. By default, this is %appdata%/Kronos/data. Inside, you will need to specify your license key acquired from kronosengine.com.

Creating an application with Kronos

The only required implementations are a Main class, and a one which extends the Application base class.

importcom.starworks.kronos.core.EntryPoint;
publicclassMain {
publicstaticvoidmain(String[] args) {
newEntryPoint();
}
}
publicclassMyApplicationextendsApplication {
publicMyApplication() {
}
@Overridepublicvoidinitialize() {
}
@Overridepublicvoidupdate(TimeSteptimestep) {
}
@OverridepublicvoidfixedUpdate(TimeSteptimestep) {
}
@Overridepublicvoidrender() {
}
}

Go ahead and run the main class, which will result in a crash. Thereafter, two files, configuration.xml and configuration.xsd, will be generated in the classpath data folder. Inside of configuration.xml there is an attribute of the root element which specifies the target implementation of Application; left blank by default. Go ahead and fill in the FQN (fully-qualified name) of your Application implementation and run the project again.

TwitterForks

About

Cross-platform Java game development framework.

Topics

Resources

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages