hide

command
v0.0.0-...-37710a6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2016 License: BSD-2-Clause Imports: 3 Imported by: 0

README

Hide Demo

What does it do?

It demonstrates how one can show and hide a character.

For doing so, it created an Entity (rock), that hides and shows as time passes by.

What are important aspects of the code?

These things are key in this demo:

  • HideSystem that shows and hides an Entity (rock)
if rand.Int()%10 == 0 {
  render.SetPriority(engi.Hidden)
} else {
  render.SetPriority(engi.MiddleGround)
}

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