Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.
/ frag Public archive

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

License

Notifications You must be signed in to change notification settings

fragworks/frag

Repository files navigation

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