0.3.0 • Published 7 months ago

ludi v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months 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

7 months ago

0.2.21

7 months ago

0.2.20

7 months ago

0.2.19

7 months ago

0.2.18

7 months ago

0.2.17

7 months ago

0.2.16

7 months ago

0.2.15

7 months ago

0.2.14

7 months ago

0.2.13

7 months ago

0.2.12

7 months ago

0.2.11

7 months ago

0.2.10

7 months ago

0.2.9

7 months ago

0.2.8

7 months ago

0.2.7

7 months ago

0.2.6

7 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.2.3

7 months ago

0.2.2

7 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago