Haskell game engine
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
fwgl-glfw
fwgl-javascript
fwgl
README.md
fix.patch

README.md

FWGL

Note: This is abandoned. The graphics part of the project became Ombra.

FWGL

Installing

    # GLFW:
    cabal install fwgl fwgl-glfw

    # JavaScript:
    cabal install --ghcjs fwgl fwgl-javascript

Patch for ghcjs/shims#13

If you want to use the GHCJS backend, you need to apply fix.patch in ~/.ghcjs/CURRENT_VERSION/ghcjs/shims/src.

Examples

Avoid the obstacles
A simple 3D game.

Shadow mapping
Shadow mapping, point light (the example in the screenshot).

Demo
3D graphics, IO output.

Rectangles
2D graphics.

Distortion
Custom geometry.

3D picking
Render layers.

Multiple windows

TCP (GLFW only)
Custom inputs, IO output.