leonrd / Krom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Krom

Kore + Chakra combined.

Krom is a highly portable runtime for JavaScript based multimedia applications. It executes JS or webassembly through Chakra and is fully supported in Kha as one of the backends, see bindings. Krom is optimized for very fast development cycles and directly supports hot-patching of code, shaders and assets.

Note that Krom does not rely on web APIs. It rather exposes full, native hardware capabilities and in particular surpasses WebGL in features and speed.

Build instructions

To do a release build first set the release variable in Chakra/Build/korefile.js to true.

  • For Windows: Compile Chakra/Build/Chakra.Core.sln then run node Kore/make
  • For macOS: Run node Kore/make --noshaders
  • For Linux: Run node Kore/make --compiler clang --compile

Running

krom [assetsdir shadersdir [--flags]]

If no arguments are provided, assets and shaders are loaded from the executable path.

About


Languages

Language:C++ 83.8%Language:JavaScript 15.1%Language:C 0.9%Language:HTML 0.2%