Conjuration - DragonRuby GTK Framework
Warning
This project is a work in progress and is not yet ready for use.
Conjuration provides foundations for building a game in DragonRuby GTK.
The motivation behind Conjuration is to provide structure and convention to DragonRuby GTK projects, without adding constraints or limiting access to the underlying DR APIs. Think what Ruby on Rails is to Ruby.
Features
- Gameloop conventions
- Order of operations
- Setup (Run once when a scene is loaded)
- Input (Handle user input logic)
- Update (Handle game logic)
- Render (Draw things to a scene / camera (HUD, UI))
- Order of operations
- Scene Management
- Scene transitions
- Camera Management
- Look at
- Zooming
- Panning
- Following
- Multiple cameras
- Minimaps
- Camera shake
- Impact frames (Hit stops)
- UI & HUD Management
- Flexbox Layout
- Interactive node management
- Input Management
- Default key mapping
- User remapping
- Debugging tools
- Debug layers
- Scene / Camera debug overlay
Installation
You can install Conjuration into your DragonRuby project by following one of these methods:
-
Copy the
lib
directory into yourmygame
directory. -
Using Foodchain
github :nitemaeric, :conjuration, "lib"
Quick Start
View the following files to get started: