/quantum-pulse

An experiment to create an entity component system game engine in go using opengl

Primary LanguageGoMIT LicenseMIT

Quantum Pulse game engine

Build Status Go Report Card GoDoc

What is Quantum Pulse

Quantum Pulse is a learning project looking into building an entity component system based game engine using go

Requirements

Getting started

The hex map example

// Create the engine
e := engine.Engine{}

// Initialize the engine.  This will create the window.
err := e.Init(screenWidth, screenHeight, windowTitle)
if err != nil {
    panic(err)
}

// Now load a json scene file.
sceneID, err := e.LoadSceneFile("scene1.json")
if err != nil {
    panic(err)
}

// Make the scene file that was just loaded the active scene.
e.LoadScene(sceneID)

// Start the main game loop.
e.Run()