keyboardscroller

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

README

KeyboardScroller Demo

What does it do?

It demonstrates how one can move the camera round, by pressing WASD.

For doing so, it created a green background. This way, you'll notice the moving.

What are important aspects of the code?

This line is key in this demo:

  • game.AddSystem(engi.NewKeyboardScroller(scrollSpeed, engi.W, engi.D, engi.S, engi.A)), to enable moving the camera by using the keyboard.

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