An open API service indexing awesome lists of open source software.

https://github.com/jyothsnasrinivas/eta-fxgl

Eta Example for FXGL library
https://github.com/jyothsnasrinivas/eta-fxgl

eta functional-programming haskell javafx

Last synced: about 1 month ago
JSON representation

Eta Example for FXGL library

Awesome Lists containing this project

README

        

FXGL example in Eta

**Note that this example is not using the [Direct Java Interop](https://github.com/typelead/eta/issues/647) feature and I've manually written the FFI imports for now. A better example is yet to come ;)**

[FXGL](https://almasb.github.io/FXGL/) is a JavaFX Game Development Framework.

This example is a proof of concept of FXGL library.

**Maven Dependencies**

The maven dependencies for the library are as follows

```cabal
maven-depends: com.github.almasb:fxgl:0.5.4
```

## Running the demo

1) Fire up the terminal and enter the commands to see the magic.

```
$ git clone https://github.com/Jyothsnasrinivas/eta-fxgl.git
$ cd eta-fxgl
$ etlas run
```

**Credits**

This example is inspired from the [FXGL samples](https://github.com/AlmasB/FXGL) by [Almas Baimagambetov](https://github.com/AlmasB).