Heaps Game Framework

repository·master·Indexed 25 days ago

https://github.com/heapsio/heaps

A high-performance, cross-platform graphics engine for modern games. It supports HTML5 (WebGL), mobile (iOS, tvOS, Android), desktop (OpenGL, DirectX), consoles (Nintendo Switch, PS4, Xbox One), and Flash (Stage3D).

Tokens
469
Snippets
0
Records
3
Agent score
36%

What's inside Heaps

  1. Overview of Heaps Game Framework

    master

    Heaps is a high-performance, cross-platform graphics engine designed for games. It leverages modern GPUs and supports a wide range of platforms including:

    • HTML5: via WebGL
    • Mobile: iOS, tvOS, and Android
    • Desktop: OpenGL (Windows, Linux, OSX) or DirectX (Windows only)
    • Consoles: Nintendo Switch, Sony PS4, and Xbox One (requires registered developer status)
    • Flash: Stage3D
  2. Compile Heaps Samples

    master

    To compile the provided samples, first navigate to the samples directory and generate the build files. Then, use the appropriate Haxe command based on your target platform.

    1. Generate build files

    cd samples
    haxe gen.hxml

    2. Compile for specific targets

    • JS/WebGL:

      haxe [sample]_js.hxml

      Then open the resulting index.html in a browser.

    • HashLink:

      haxe [sample]_hl.hxml

      Then run the compiled binary: hl <sample>.hl. Note: This uses SDL by default. To use DirectX instead, replace -lib hlsdl with -lib hldx in the .hxml file.

    • Flash:

      haxe [sample]_swf.hxml

      Then open the resulting <sample>.swf file.

    • Consoles: Contact nicolas@haxe.org for access.