scenes

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: 7 Imported by: 0

README

Scenes Demo

What does it do?

It demonstrates how one can use multiple Scenes, and switch between them.

What are important aspects of the code?

These things are key in this demo:

  • Defining two Scenes: IconScene and RockScene
  • Giving one to engo.Open as the default Scene
  • Registering the other with engo.RegisterScene, so we can later:
  • Call engo.SetSceneByName to switch the Scenes.

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