Skip to content

Core Renderer of andromeda Game Engine written in Go, using Modern OpenGL API

License

Notifications You must be signed in to change notification settings

dkvilo/andromeda

Repository files navigation

Andromeda Renderer

Core Renderer of andromeda Game Engine written in go, using Modern OpenGL API

Run

  # install module deps
  $ go mod download

  # run example scenes from sandbox layer
  $ make build && make run

Preview 3d scene example

Framework usage

package sandbox

import (
	"runtime"

	core "github.com/dkvilo/andromeda/framework/core"
)

func init() {
	runtime.LockOSThread()
}

var (
	// Blank Example App
	Blank Example = Example{
		core.Andromeda{
			Width:  1080,
			Height: 720,
			Title:  "Andromeda Empty Sandbox",

			// Issue OnLoad
			OnLoadContext: func(andromeda *core.Andromeda) {
				// Load Assets
			},

			// Issue Entity Update
			OnUpdateContext: func(andromeda *core.Andromeda) {
				// do updates 
			},

			// Issue Draw Call
			OnRenderContext: func(andromeda *core.Andromeda) {
				// draw
			},
		},
	}
)

About

Core Renderer of andromeda Game Engine written in Go, using Modern OpenGL API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published