frag

by fragworks

fragworks / frag

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

208 Stars 16 Forks Last release: Not found MIT License 339 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.