Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

OS Engine HScript API

notweuz edited this page Jun 21, 2022 · 4 revisions

What is HScript?

HScript (Haxe Script) is a scripting engine for a subset of the Haxe language. In OS Engine you can use it like Lua

HScript: Running a script

There's only 2 ways how to run hscript files:

  • Adding a .hx file to data/song/
  • Adding a .hx file to scripts/

But you can use it for stages too. Example: link

API Docs

Examples

Adding background with HScript (put this in data/song/ and change path to image): Download