hud

command
v0.0.0-...-8fc0beb Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: MIT Imports: 5 Imported by: 0

README

HUD Demo

What does it do?

It demonstrates how one can have Entitys that aren't affected by the camera movement.

For doing so, it created a green background -- which will be affected, and a violet sidebar, which won't be affected.

What are important aspects of the code?

These lines are key in this demo:

  • hudBg.RenderComponent.SetZIndex(1), to ensure it's rendered on top of the default background (with z-index 0)
  • hudBg.RenderComponent.SetShader(common.HUDShader), to enable the HUDShader instead of the DefaultShader

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳