Ariemeth / quantum-pulse

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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()

About

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

License:MIT License


Languages

Language:Go 100.0%