0.3.0 • Published 2 years ago

ludi v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Ludi

Ludi is a tool that generates Haxe code for the Heaps.io game engine. It uses a custom markup file format similar to Vue single-file components.

Declare your scenes in a declarative language. Program your logic in a programming language.

Installation

npm install -g ludi

Usage

ludi <component.hue>

Example.hue

This component:

<template>
  <App>
    <Text id="txt" :font="hxd.res.DefaultFont.get()" text="Foo" />
  </App>
</template>

produces this code:

class Example extends hxd.App {
  override function init() {
    super.init();

    var txt = new h2d.Text(hxd.res.DefaultFont.get());
    txt.text = "Foo";
  }

  static function main() {
    new Example();
  }
}

See the tests folder for many more examples.

0.3.0

2 years ago

0.2.21

2 years ago

0.2.20

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago