engine

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2017 License: MIT Imports: 0 Imported by: 0

README

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

Documentation

Overview

Package engine represents the core functionality that allows the engine to be run and process the various systems and components.

Directories

Path Synopsis
Package components provides the various components used by the different engine systems.
Package components provides the various components used by the different engine systems.
Package entity represents functionality that is core to the base entity.
Package entity represents functionality that is core to the base entity.
examples
Package resources handles the managing of assets such as images and shaders.
Package resources handles the managing of assets such as images and shaders.
Package systems provides the various systems used by the engine
Package systems provides the various systems used by the engine

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL