/frag

A cross-platform 2D|3D game framework for the Nim programming language

Primary LanguageNimMIT LicenseMIT

FRAGFRAG

Framework for Rather Awesome Games Build Status Join the chat at https://gitter.im/fragworks/frag

Home page and installation instructions

FRAG is a game creation framework being developed using the Nim programming language, and is currently in pre-alpha status. The immediate development focus for FRAG is supporting the creation of 2D mobile and desktop games. Console support is planned for post-alpha releases of FRAG.

Support for 3D is planned for post-alpha releases of FRAG.

Tested for Desktop on:

  • OSX Sierra v10.12.1 (OpenGL 3.3)
  • Arch Linux
  • Windows 10 (DirectX 11)

Tested for Android on:

  • Samsung Galaxy S6 (arm64-v8a, OpenGL ES 2.0)

Dependencies for Desktop:

Some technical details about FRAG:

  • Planned support for a multitude of rendering backends via BGFX
  • SDL2
  • Immediate Mode GUI via Nuklear

Examples


Desktop


Hello World https://github.com/fragworks/frag/tree/master/examples/00-hello-world

Spritebatch https://github.com/fragworks/frag/tree/master/examples/01-sprite-batch

Audio

Input

Sprite Animation

https://github.com/fragworks/frag/tree/master/examples/04-sprite-animation

GUI

https://github.com/fragworks/frag/tree/master/examples/05-gui

Physics

https://github.com/fragworks/frag/tree/master/examples/06-physics

Spine

https://github.com/fragworks/frag/tree/master/examples/desktop/07-spine

Android


Hello World

https://github.com/fragworks/frag-android/blob/master/examples/00-hello-world/main.nim