frag

A 2D|3D game engine

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install frag
choosenim install frag
git clone https://github.com/fragworks/frag

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
frag - - - - - -

Source

Repository https://github.com/fragworks/frag
Homepage https://github.com/fragworks/frag
Registry Source nimble_official

README

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: - Nim v0.16.1 - BGFX - SDL2 - SDL_image - Chipmunk2D (Optional)

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