Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ludi

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ludi - npm Package Compare versions

Comparing version 0.2.21 to 0.3.0

2

package.json
{
"name": "ludi",
"version": "0.2.21",
"version": "0.3.0",
"author": "John Susek <ludi@johnsolo.net>",

@@ -5,0 +5,0 @@ "repository": {

@@ -5,5 +5,6 @@ # Ludi

**Ludi** is a markup language that generates [Haxe](https://haxe.org) code for the [Heaps.io](https://heaps.io) game engine. It enables the user to author games as a series of single-file components.
**Ludi** is a tool that generates [Haxe](https://haxe.org) code for the [Heaps.io](https://heaps.io) game engine. It uses a custom markup file format similar to Vue single-file components.
The generated code can target many languages including C++, C#, Java, JavaScript for Windows, Mac, Xbox, Playstation, Switch, iOS, Android, and webGL.
Declare your scenes in a declarative language.
Program your logic in a programming language.

@@ -18,2 +19,31 @@ ## Installation

See the [tests](tests/) folder for example components.
## Example.hue
This component:
```vue
<template>
<App>
<Text id="txt" :font="hxd.res.DefaultFont.get()" text="Foo" />
</App>
</template>
```
produces this code:
```haxe
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](tests/) folder for many more examples.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc