Skip to content

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

License

Notifications You must be signed in to change notification settings

Ariemeth/quantum-pulse

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages